EMEADAXSupport articles

EMEADAXSupport
Published 
<1 min read

"No Device" error message on client start 

Recently I wanted to avoid that the infolog pops-up with several ‘No Device’ error messages when opening the AX client with ConfigKey Telephony Integration enabled. This error message is caused by the ActiveX component for the phone integration on form smmPhone which returns an error for each phone device which is offline.
Published 
3 min read

Error executing code: Insufficient memory to run script 

In Dynamics AX 4.0 or Dynamics AX 2009 it can happen that a lengthy operation terminates with the following error message in the InfoLog or Windows application event log: Error executing code: Insufficient memory to run script.
Published 
5 min read

Why does the server need to free resources and terminates client sessions? 

You might got into this situation before… you are working in the Dynamics AX Client as usual and all of a sudden you see the following warning message: Communication error The server needs to free resources. Your session has been terminated. After you click OK the Dynamics AX Client is closed (terminated).
Published 
<1 min read

How to cast between WebRequest and HttpWebRequest 

I was trying to open a website that returns a session cookie from X++ and I wanted to use CLR interop to achieve this. So I needed to know how to use instance of HttpWebResponse class when X++ does not support casting from WebResponse class.
Published 
1 min read

Could not communicate with Microsoft Office Outlook client 

Dynamics AX is integration with Microsoft Office Outlook for sending E-Mails, doing synchronization in the CRM Module, etc. In several occasions you can get confronted with the following or a similar error message: Could not communicate with Microsoft Office Outlook client. A very common reason for this error is that the mapi32.
Published 
<1 min read

Watermarks on reports 

Recently I was confronted with the requirement to place a watermark on a report. Finally I found 3 different ways to do this: use a SSRS (SQL Server Reporting Services) to make reports add background image over whole Report (X++ Report), mark all fields as background transparent.
Published 
1 min read

EXTERNAL as field name in SQL Server 2005 

Maybe you already ran into the issue that you are using Dynamics AX 4.0 SP1 with SQL Server 2005. You are trying to create a new table in AOT with a column called “external”.
Published 
1 min read

Dynamics AX and Generic collections of .Net 

I’m using Dynamics AX 2009 and want to instantiate the .NET class “System.Collections.Generic.List” in X++. Intellisense expands the class to “System.Collections.Generic.List`1” however the code cannot be compiled as the class as well as all other classes in the “System.Collections.Generic” namespace are not accepted.
Published 
1 min read

Performance – memo/ntext fields 

Performance issues in AX can be some of the most difficult to troubleshoot. Particularly as there’s so many different areas which can potentially be the cause/solution to the issue. This post will just talk about one of the potential causes of bad performance, no doubt we’ll cover some more performance issues in later posts.