Wednesday, March 3, 2010

Error executing code: Insufficient memory to run script - AIF, Reverse Engineering Tool, ect

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:

Error executing code: Insufficient memory to run script.
A typical example that can result in this error message is when you are running the Reverse Engineering Tool of Dynamics AX 4.0 SP1. Another very common situation is when you are trying to process very large AIF messages with several thousand lines within AX or within an application that uses the Business Connector like the AX BizTalk Adapter.

With Dynamics AX 4.0 a new mechanism was introduced to limit the maximum amount of memory that can be allocated by variables (in X++ code) in a session. This maximum amount is set to 10 MB by default. For some operations like large AIF messages (that are stored in memory during processing) this is however not enough and so the operation is terminated when the maximum amount is reached.



http://blogs.msdn.com/emeadaxsupport/archive/2009/06/15/error-executing-code-insufficient-memory-to-run-script.aspx

Thursday, February 25, 2010

Dynamics AX 2009 SP1

https://mbs.microsoft.com/partnersource/support/selfsupport/servicepacks/dynamicsax2009sp1.htm

Wednesday, February 24, 2010

Setting up the TAPI interface in Axapta

http://daxguy.blogspot.com/2006/11/setting-up-tapi-interface-in-axapta.html

Friday, February 19, 2010

Update/Activate the SQL Server Evaluation Version

Once you install evaluation edition of SQL Server 2008 and then perform in place upgrade to full version, you may get below error message when you open SQL Server Management Studio :

Evaluation Period has expired.....

http://blogs.msdn.com/blakhani/archive/2009/03/10/sql-server-2008-evaluation-edition-expired-believe-me-i-already-upgraded-it-what-s-up.aspx

How do you know when a SQL Server Evaluation expired

look to the folder :\Program Files\Microsoft SQL Server\100\Setup Bootstrap\LOG\ and check the creation date of the file Summary.txt

Wednesday, February 10, 2010

Resetting usage data / Favorites Link

http://axaptafreak.blogspot.com/2007/06/be-careful-when-resetting-your-usage.html