Microsoft Dynamics 365 Blog

Debugging custom JavaScript code in CRM using browser developer tools 

4 min read

You can use JavaScript in Microsoft Dynamics CRM to perform actions in form scripts, command bar (ribbon) commands, and web resources. More information: Use JavaScript with Microsoft Dynamics CRM Each browser provides you with a debugging tool to help you debug your custom JavaScript code natively in the browser. Typically, you activate debugging in your…Read more

0 Comments

Debugging Services in AX 2012 

1 min read

Regardless of the adapter type you choose, services in AX 2012 run as IL code – even if you are using the file adapter.  To debug IL codeyou must use Visual Studio. The steps for debugging a service are: On the AOS, install the AX Application Explorer from the Microsoft Dynamics AX CD by choosing…Read more

0 Comments

AX for Retail: Tip for Troubleshooting the Retail Transaction Service 

3 min read

Tracking down Retail Transaction Service errors can be a bit of a challenge.  In Support, for instance, we see the following message relatively often:  “Cannot make a payment for this sales order, since the fulfillment warehouse is not specified.” Note that if you have the LogLevel of the Retail Transaction Service set to Trace (3),…Read more

0 Comments

AX for Retail: Run-down on Log Files 

5 min read

Because of the modular aspect of AX for Retail, it can sometimes be a bit daunting to try and track down the log files when troubleshooting.  Here is a recap of where to go looking. Retail POS Log messages for Retail POS are stored in the POSISLOG table in the POS database.  The logging level…Read more

0 Comments

Debugging Fact Boxes and their Preview dialogs 

2 min read

With all of the new concepts introduced into Microsoft Dynamics AX 2012, there are a number of areas where new techniques for debugging are required. Watch the blog for similar entries in the future and feel free to let me know what kind of AX 2012 debugging topics would be of interest to the community….Read more

0 Comments

What to do if you have a crash 

3 min read

This post is designed to give a simple set of steps to follow if you ever have a crash situation and you’re not sure how to troubleshoot it. To identify the cause of a crash the most important piece of evidence or log is a memory dump file – you need to set something up before…Read more

0 Comments

Finding the X++ call stack that caused a crash 

4 min read

This post explains how to find the X++ call stack that caused an AOS crash – before reaching this stage you need to first have captured a memory dump, and then set up WinDbg ready to do some analysis, we have posts which explain both of those steps: Capturing memory dumps: http://blogs.msdn.com/b/emeadaxsupport/archive/2010/05/12/possibilities-to-create-memory-dumps-from-crashing-processes.aspx Setting up WinDbg:…Read more

0 Comments

Finding the AX user that caused an AOS crash 

3 min read

This post explains how to find the ax user that caused an AOS crash – before reaching this stage you need to first have captured a memory dump, and then set up WinDbg ready to do some analysis, we have posts which explain both of those steps: Capturing memory dumps: http://blogs.msdn.com/b/emeadaxsupport/archive/2010/05/12/possibilities-to-create-memory-dumps-from-crashing-processes.aspx Setting up WinDbg:  http://blogs.msdn.com/b/emeadaxsupport/archive/2011/04/10/setting-up-windbg-and-using-symbols.aspx…Read more

0 Comments

Setting up WinDbg and Using Symbols 

6 min read

Once you have collected a dump file, to analyse it you need to use a tool called WinDbg. In this post I am going to explain how to set up WinDbg so it’s ready to debug a memory dump taken from a Dynamics AX process. If you’re not sure how to create a dump file,…Read more

0 Comments

Debugging AIF Web Services 

1 min read

To debug AIF web services called from .NET code use the following steps: 1.  On the AOS turn debugging on in the server configuration utility by marking the checkbox “Enable breakpoints to debug X++ code running on this server”. 2.  On the client machine turn debugging on in the client configuration utility for the Business…Read more

0 Comments