EMEADAXSupport articles
EMEADAXSupport
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
2 min read
User ‘UserName’ is not authorized to insert a record in table ‘TableName’. Request denied.
Recently I got confronted a lot with the following error message in Dynamics AX 2009: User ‘UserName’ is not authorized to insert a record in table ‘TableName’. Request denied. Cannot create a record in TableLabel (TableName). Access Denied: You do not have sufficient authorization to modify data in database.
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