惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Blog of Author Tim Ferriss
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
云风的 BLOG
云风的 BLOG
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
P
Palo Alto Networks Blog
D
Docker
H
Hackread – Cybersecurity News, Data Breaches, AI and More
S
Schneier on Security
Engineering at Meta
Engineering at Meta
I
InfoQ
L
LangChain Blog
Cyberwarzone
Cyberwarzone
T
Tenable Blog
WordPress大学
WordPress大学
P
Privacy & Cybersecurity Law Blog
罗磊的独立博客
Apple Machine Learning Research
Apple Machine Learning Research
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Jina AI
Jina AI
C
CERT Recently Published Vulnerability Notes
Scott Helme
Scott Helme
博客园 - 三生石上(FineUI控件)
酷 壳 – CoolShell
酷 壳 – CoolShell
Know Your Adversary
Know Your Adversary
D
Darknet – Hacking Tools, Hacker News & Cyber Security
The Last Watchdog
The Last Watchdog
Last Week in AI
Last Week in AI
Cloudbric
Cloudbric
S
SegmentFault 最新的问题
爱范儿
爱范儿
Application and Cybersecurity Blog
Application and Cybersecurity Blog
博客园 - 叶小钗
AI
AI
T
Tor Project blog
I
Intezer
T
Threatpost
www.infosecurity-magazine.com
www.infosecurity-magazine.com
V
Visual Studio Blog
N
News and Events Feed by Topic
Latest news
Latest news
S
Security Affairs
博客园 - Franky
Microsoft Security Blog
Microsoft Security Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
B
Blog RSS Feed
C
Cybersecurity and Infrastructure Security Agency CISA
Hugging Face - Blog
Hugging Face - Blog
小众软件
小众软件
S
Securelist

博客园 - cloud

将博客搬至CSDN Microsoft Dynamics CRM 解决数据大于5000时,页面上只能导出5000+数据。 AX7 VM can not starting AX3空Invoice明细问题 Solution to “VirtualBox can't operate in VMX root mode” error in Windows 7 Inventory of the materials to teach you how to query a date certain combination of dimensions Axapta 3 COM Connector AX 与Citrix打印机问题 AX ERP 真正的自动批处理 SQL语句转摘 AX2012 R2 打开EP站点时提示503 Service Unavailable错误。 AX2012 R2安装 AX3在window8下兼容性 转:Configure system accounts-AX2009 转:Workflow iPhone Application 转:Dynamics AX2009 Workflow – Checklist-Mail alert 转:AX 2009 Workflows: A Quick overview 转 Request for the permission of type 'InteropPermission' failed. Dynamics AX2009 Report step by step
How to Debug Enterprise Portal Code in Dynamics AX 2009
cloud · 2014-08-13 · via 博客园 - cloud

转载

    • To set up debugging for pages
      1. Log into the server that is running the AOS.
      2. Open the Microsoft Dynamics AX Server Configuration utility (Start > Control Panel > Administrative Tools > Microsoft Dynamics AX 2009 Server Configuration).
      3. Create a new configuration that allows debugging.
      a. Click Manage and then click Create configuration. In
      the Create Configuration window, name the new configuration, such as "DAX
      Debugging". Click OK.
      b. On the Application Object
      Server tab, select Enable breakpoints to debug code X++ code running on this
      server. Click Apply.
      4. Click OK to close the configuration window. If you receive a message about the AOS, indicate that it should be restarted.
      5. Log in to the server that is running IIS and Enterprise Portal. If the system is remote, you can do this using Terminal Services. From the Start menu, click Run. Type the following in the Open box and click OK:
      mstsc /console
      This opens a console session in Terminal Services.
      6. Enable desktop interaction for the World Wide Web Publish Service.
      a. Open the Services window for the system (Start >
      Control Panel > Administrative Tools > Services).
      b. Right-click the World Wide Web Publishing
      Service, and then click Properties.
      c. Click the Log On tab.
      d. Select Allow service to interact with desktop.
      e. Click OK to close the properties window.
      7. Open the web.config file located in \Inetpub\wwwroot\wss\VirtualDirectories\\, where is the port number of the site where Enterprise Portal is installed. Modify the file by doing the following:
      a. Locate the compilation element, and then set the
      debug attribute to true. This reduces the chance of the Web session having a
      timeout error when stopped at a breakpoint.
      b. Save
      the changes.
      8. Reset IIS by typing the iisreset command at the command-line window.
      9. Open the Microsoft Dynamics AX Configuration utility (Start > Control Panel > Administrative Tools > Microsoft Dynamics AX 2009 Configuration).
      10. Set the Application Object Server Instance drop-down menu to Business Connector (non-interactive use only).
      11. Create a new configuration that allows debugging.
      a. Click Manage and then click Create configuration. In
      the Create Configuration window, name the new configuration, such as "DAX
      Debugging". Click OK.
      b. On the Developer tab,
      select Enable user breakpoints to debug code running in the Business Connector.
      Click Apply.
      12. Click OK to close the configuration window.
      13. Open the Microsoft Dynamics AX client.
      14. On the Tools menu, click Options to display the Options window.
      15. On the Development tab, select When Breakpoint from the Debug mode list box, and then click Apply. This enables debugging mode on the client.
      16. Close the Options window.
      Debugging an Element on a Web Page
      To debug an element on a Web page
      1. Log in to the server that is running Internet Information Services (IIS) and Enterprise Portal. If the system is remote, you can do this using Terminal Services. From the Start menu, click Run. Type the following in the Open box and click OK:
      mstsc /console
      This opens a console session in Terminal Services, and is necessary if you want to debug on a remote system.
      Important
      If you are debugging on a remote system, you must use console mode when connecting. Otherwise, debugging will not work.
      2. Open the Microsoft Dynamics AX client.
      3. Be sure that you are logged on as a user who is also one of the following:
      · The user who started the session of Microsoft Dynamics AX
      · The user who will set breakpoints in X++ code
      4. In the AOT, locate the element that you want to debug. Typically, you will debug data sets, classes, Web forms, reports, Web reports, or weblets.
      5. Set breakpoints in the X++ code by using the Code Editor. For more information, see X++ Code Editor.
      6. Open the debugger by clicking Tools, then clicking Development tools, and finally clicking Debugger. The Debugger must be open before you can run code that contains breakpoints.
      7. Open the Web page that includes the element that you want to debug. As the page is rendered, the Debugger should stop at the breakpoints that you set.

posted on 2014-08-13 15:37  cloud  阅读(495)  评论()    收藏  举报