<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">EMEA Dynamics AX Support</title><subtitle type="html">This information is provided for the benefit of the community and all postings are provided "AS IS" with no warranties, and confers no rights, additionally use of included script or samples are subject to the terms specified at &lt;a href="http://www.microsoft.com/info/cpyright.htm"&gt;http://www.microsoft.com/info/cpyright.htm&lt;/a&gt;! </subtitle><id>http://blogs.msdn.com/emeadaxsupport/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/emeadaxsupport/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/emeadaxsupport/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2009-09-07T11:21:00Z</updated><entry><title>Workflow error messages “Invalid message sequence”</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/emeadaxsupport/archive/2009/12/03/workflow-error-messages-invalid-message-sequence.aspx" /><id>http://blogs.msdn.com/emeadaxsupport/archive/2009/12/03/workflow-error-messages-invalid-message-sequence.aspx</id><published>2009-12-03T15:02:19Z</published><updated>2009-12-03T15:02:19Z</updated><content type="html">&lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;We often get following error messages concerning workflow: &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;div style="color: red; margin-left: 40px; margin-right: 40px"&gt;Dynamics Adapter CallStaticClassMethod failed. &lt;/div&gt;  &lt;div style="color: red; margin-left: 40px; margin-right: 40px"&gt;SysWorkflowEventService-onAcknowledgeWorkItem Invalid message sequence - missing Activation message. &lt;/div&gt;  &lt;div style="color: red; margin-left: 40px; margin-right: 40px"&gt;Microsoft.Dynamics.BusinessConnectorNet.XppException &lt;/div&gt;  &lt;div style="color: red; margin-left: 40px; margin-right: 40px"&gt;at Microsoft.Dynamics.BusinessConnectorNet.Axapta.CallStaticClassMethod(String className, String methodName, Object[] paramList) &lt;/div&gt;  &lt;div style="color: red; margin-left: 40px; margin-right: 40px"&gt;at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsAdapter.CallStaticClassMethod(String className, String methodName, Object param1, Object param2)&lt;/div&gt;  &lt;div style="color: red; margin-left: 40px; margin-right: 40px"&gt;&amp;#160;&lt;/div&gt;  &lt;p&gt;When these occur, none of the workflow items are processed anymore. In Basic –&amp;gt; Inquiries –&amp;gt; Workflow history you can see that all workflow items has status “Pending”    &lt;br /&gt;    &lt;br /&gt;Usually error SysWorkflowEventService-onAcknowledgeWorkItem Invalid message sequence - missing Activation message can mean two problems: &lt;/p&gt;  &lt;p&gt;1. Business Connector connect to different AOS. &lt;/p&gt;  &lt;p&gt;2. In Workflow configuration you did not create messages in user language.    &lt;br /&gt;    &lt;br /&gt;To resolve first problem:     &lt;br /&gt;1. Go to Microsoft Dynamics AX 2009 Configuration&lt;/p&gt;  &lt;p&gt;2. Change “configuration target” to “Business Connector (non-interactive use only)”&lt;/p&gt;  &lt;p&gt;3. Check on connection tab if there is correct AOS mentioned &lt;/p&gt;  &lt;p&gt;By default Workflow during connection to AOS is using active Dynamics AX BC.NET configuration. &lt;/p&gt;  &lt;p&gt;To be able to set up different configuration in web.config you need to apply kernel hotfix and follow instruction given in KB 960801: &lt;a href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb$EN-US$960801&amp;amp;wa=wsignin1.0"&gt;https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb$EN-US$960801&amp;amp;wa=wsignin1.0&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;If you have hotfix KB 960801 installed and BC.NET still is connecting to wrong AOS please double check in GAC (usually C:\windows\assembly) if library Microsoft.Dynamics.Framework.BusinessConnector.dll and the Microsoft.Dynamics.Framework.Communications.dll has version higher than 5.0.1500.144 for DAX 2009 SP1 and 5.0.593.262 for DAX 2009 RTM&lt;/p&gt;  &lt;p&gt;To resolve second problem make sure that you have instructions set up in user language in workflow configuration&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9931983" width="1" height="1"&gt;</content><author><name>EMEAAXTec</name><uri>http://blogs.msdn.com/members/EMEAAXTec.aspx</uri></author><category term="Configuration" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Configuration/default.aspx" /><category term="AX 2009" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/AX+2009/default.aspx" /><category term="BC" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/BC/default.aspx" /><category term="Workflow" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Workflow/default.aspx" /></entry><entry><title>Error access SSRS reports - System.Web.Configuration.RegexWorker threw an exception</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/emeadaxsupport/archive/2009/12/03/error-access-ssrs-reports-system-web-configuration-regexworker-threw-an-exception.aspx" /><id>http://blogs.msdn.com/emeadaxsupport/archive/2009/12/03/error-access-ssrs-reports-system-web-configuration-regexworker-threw-an-exception.aspx</id><published>2009-12-03T14:34:17Z</published><updated>2009-12-03T14:34:17Z</updated><content type="html">&lt;p&gt;Lately we run into following problem: when navigating to any SSRS report via Enterprise portal or even by the SSRS report manager site, the following error is displayed where the report should appear: &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;div style="color: red; margin-left: 40px; margin-right: 40px"&gt;An error has occurred during report processing. (rsProcessingAborted). The type initializer for 'System.Web.Configuration.RegexWorker' threw an exception. &lt;/div&gt;  &lt;p&gt;   &lt;br /&gt;    &lt;br /&gt;The cause of the issue is that permissions for:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;for SQL 2005 the account running the IIS application pool for Report Manager (should be bc proxy account)&lt;/li&gt;    &lt;li&gt;for SQL 2008 the account running SSRS (should be bc proxy account)&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;are incorrect.    &lt;br /&gt;Granting admin rights to the accounts involved and then restarting IIS (or stopping starting the SQL 2008 SSRS process) can quickly prove whether you have a permissions issue. If it works with admin rights then you can remove the admin rights and make sure the accounts have permission to use DLLs in the GAC (typically C:\windows\assembly). You can verify exactly which DLL needs permission by checking the full error log at:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt; C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles for SQL 2005 Reporting Services&lt;/li&gt;    &lt;li&gt; C:\Program File\Microsoft SQL Server\MSRS10\Reporting Services\LogFiles for SQL 2008 Reporting Services&lt;/li&gt; &lt;/ul&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9931968" width="1" height="1"&gt;</content><author><name>EMEAAXTec</name><uri>http://blogs.msdn.com/members/EMEAAXTec.aspx</uri></author><category term="Configuration" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Configuration/default.aspx" /><category term="Role Center" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Role+Center/default.aspx" /><category term="Enterprise Portal" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Enterprise+Portal/default.aspx" /><category term="Reporting" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Reporting/default.aspx" /><category term="AX 2009" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/AX+2009/default.aspx" /></entry><entry><title>Error during Hotfix installation - "Version string portion was too short or too long"</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/emeadaxsupport/archive/2009/11/12/error-during-hotfix-installation-version-string-portion-was-too-short-or-too-long.aspx" /><id>http://blogs.msdn.com/emeadaxsupport/archive/2009/11/12/error-during-hotfix-installation-version-string-portion-was-too-short-or-too-long.aspx</id><published>2009-11-12T16:45:00Z</published><updated>2009-11-12T16:45:00Z</updated><content type="html">&lt;P&gt;Recently we had a problem when installing a Hotfix for AX 2009.&lt;BR&gt;The installation stopped with an error and we could find the following information in the setup log: &lt;/P&gt;
&lt;DIV style="PADDING-BOTTOM: 5px; BACKGROUND-COLOR: lightgray; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; FONT-FAMILY: Courier New; PADDING-TOP: 5px"&gt;=== Starting execution phase ===&lt;BR&gt;Starting the Microsoft Dynamics AX Client executable: C:\Program Files (x86)\Microsoft Dynamics AX\50\Client\bin\ax32.exe "-regconfig=Ax2009myConfig" "-logdir=C:\Documents and Settings\All Users\Application Data\Microsoft\Dynamics AX\Dynamics AX Setup Logs\2009-10-21 12-37-06" "-startupcmd=autorun_C:\Documents and Settings\All Users\Application Data\Microsoft\Dynamics AX\Dynamics AX Setup Logs\2009-10-21 12-37-06\GetVersionInformation.xml"&lt;BR&gt;Exception: System.ArgumentException&lt;BR&gt;&lt;BR&gt;Message: Version string portion was too short or too long.&lt;BR&gt;&lt;BR&gt;FullText: System.ArgumentException: Version string portion was too short or too long.&lt;BR&gt;at System.Version..ctor(String version)&lt;BR&gt;at Microsoft.Dynamics.Setup.InstallApplicationHotfix.ProcessVersionInformation(String logFilename, String versionFilename)&lt;BR&gt;at Microsoft.Dynamics.Setup.InstallApplicationHotfix.FillHotfixUpdateFilesList()&lt;BR&gt;at Microsoft.Dynamics.Setup.MainForm.DependencyValidation()&lt;BR&gt;at Microsoft.Dynamics.Setup.MainForm.PreInstall()&lt;BR&gt;at Microsoft.Dynamics.Setup.MainForm.s250Timer_Tick()&lt;BR&gt;&lt;BR&gt;==== Setup encountered an unhandled exception and could not be completed. For details see the previous messages in the log. ===&lt;BR&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;B&gt;What was the problem?&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;The important information was: &lt;/P&gt;
&lt;DIV style="COLOR: red; MARGIN-LEFT: 40px; MARGIN-RIGHT: 40px"&gt;FullText: System.ArgumentException: Version string portion was too short or too long. &lt;/DIV&gt;
&lt;P&gt;The AX Hotfix Installer is checking the AX version during the installation to ensure only valid fixes will be installed.&lt;BR&gt;For this it is calling the following method within AX:&lt;BR&gt;&lt;BR&gt;&lt;B&gt;&lt;I&gt;ApplicationVersion/BuildNo()&lt;/I&gt;&lt;/B&gt; &lt;/P&gt;
&lt;P&gt;We then found out that this method has been changed so it returns also the build number of our customizations. &lt;/P&gt;
&lt;DIV style="PADDING-BOTTOM: 5px; BACKGROUND-COLOR: lightgray; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; FONT-FAMILY: Courier New; PADDING-TOP: 5px"&gt;static SysBuildNo buildNo()&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return ApplicationVersion::applBuildNo() + MyCustomization.myBuildNo();&lt;BR&gt;}&lt;BR&gt;&lt;/DIV&gt;
&lt;P&gt;The result of this change was that the method returned a string that was not expected by the AX Hotfix Installer and the Installer stopped with an error message.&lt;BR&gt;We could finally solve the problem by removing the additional code. &lt;/P&gt;
&lt;DIV style="PADDING-BOTTOM: 5px; BACKGROUND-COLOR: lightgray; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; FONT-FAMILY: Courier New; PADDING-TOP: 5px"&gt;static SysBuildNo buildNo()&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return ApplicationVersion::applBuildNo();&lt;BR&gt;}&lt;BR&gt;&lt;/DIV&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9921432" width="1" height="1"&gt;</content><author><name>EMEAAXTec</name><uri>http://blogs.msdn.com/members/EMEAAXTec.aspx</uri></author><category term="AX 2009" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/AX+2009/default.aspx" /><category term="Solution" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Solution/default.aspx" /></entry><entry><title>How does the AX Hotfix / Service Pack  installer detect existing AOS instances</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/emeadaxsupport/archive/2009/10/29/how-does-the-ax-patch-installer-detect-the-existing-aos-instances.aspx" /><id>http://blogs.msdn.com/emeadaxsupport/archive/2009/10/29/how-does-the-ax-patch-installer-detect-the-existing-aos-instances.aspx</id><published>2009-10-29T07:50:00Z</published><updated>2009-10-29T07:50:00Z</updated><content type="html">&lt;P&gt;Have you ever wondered how the AX Hotfix / Service Pack installer detects existing AOS instances? &lt;/P&gt;
&lt;P&gt;These information can be found in the Installer Registry under the following Registry Key: &lt;/P&gt;
&lt;DIV style="PADDING-BOTTOM: 5px; BACKGROUND-COLOR: lightgray; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; FONT-FAMILY: Courier New; PADDING-TOP: 5px"&gt;HKEY_CLASSES_ROOT\Installer\Products &lt;/DIV&gt;
&lt;P&gt;Every AOS Instance has it's own class Id.&lt;BR&gt;This class id looks like this &lt;B&gt;&lt;I&gt;FA15D12F8BB2D1C4282780DBCF31Axxx&lt;/I&gt;&lt;/B&gt; (where xxx is a uniqe number).&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;For example: &lt;BR&gt;If I have 2 AOS instances on my machine then I may find the following registry keys: &lt;/P&gt;
&lt;DIV style="PADDING-BOTTOM: 5px; BACKGROUND-COLOR: lightgray; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; FONT-FAMILY: Courier New; PADDING-TOP: 5px"&gt;HKEY_CLASSES_ROOT\Installer\Products\FA15D12F8BB2D1C4282780DBCF31A110&lt;BR&gt;HKEY_CLASSES_ROOT\Installer\Products\FA15D12F8BB2D1C4282780DBCF31A120 &lt;/DIV&gt;
&lt;P&gt;Additional information&lt;BR&gt;If those keys have a subkey named Patches then they are marked as updated.&lt;BR&gt;The entries in this subkey contain information about the applied patches. &lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9914569" width="1" height="1"&gt;</content><author><name>EMEAAXTec</name><uri>http://blogs.msdn.com/members/EMEAAXTec.aspx</uri></author><category term="AOS" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/AOS/default.aspx" /><category term="AX 2009" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/AX+2009/default.aspx" /></entry><entry><title>Workflow - user abc has no access to menu item PurchReqTable</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/emeadaxsupport/archive/2009/10/27/workflow-user-abc-has-no-access-to-menu-item-purchreqtable.aspx" /><id>http://blogs.msdn.com/emeadaxsupport/archive/2009/10/27/workflow-user-abc-has-no-access-to-menu-item-purchreqtable.aspx</id><published>2009-10-27T14:17:50Z</published><updated>2009-10-27T14:17:50Z</updated><content type="html">&lt;p&gt;Lately for one of the user I run into following problem with Purchase approval workflow. During Workflow process assignment customer get error and Workflow is stopped. We get following error: &lt;/p&gt;  &lt;div style="color: red; margin-left: 40px; margin-right: 40px"&gt;&amp;quot;User abc has no access to menu item PurchReqTable.” where abc is user to who workflow item should be assign &lt;/div&gt;  &lt;br /&gt;The root cause of this behavior was of course connected with user permissions. User had too low permission to be able to assign to needed task item. It happens that user was missing permission: Accounts payable -&amp;gt; Miscellaneous   &lt;br /&gt;First of all when you assign the permission to Workflow on permission form you should change Viewing from &amp;quot;Security&amp;quot; to &amp;quot;Workflow&amp;quot;, then you are able to assign needed permission for selected Workflow. Although when you assign all permission for Accounts payable -&amp;gt; Purchase requisition -&amp;gt; Project purchase requisition approval you still get the same error. I found that menu item PurchReqTable in \ AOT \ Menu items \ Display \ PurchReqTable and I found out that security key assign to this menu item is: VendMisc So in Security view you need to assign user permission Accounts payable -&amp;gt; Miscellaneous   &lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9913503" width="1" height="1"&gt;</content><author><name>EMEAAXTec</name><uri>http://blogs.msdn.com/members/EMEAAXTec.aspx</uri></author><category term="AX 2009" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/AX+2009/default.aspx" /><category term="Workflow" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Workflow/default.aspx" /></entry><entry><title>Query execution failed for data set 'Company'</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/emeadaxsupport/archive/2009/10/27/query-execution-failed-for-data-set-company.aspx" /><id>http://blogs.msdn.com/emeadaxsupport/archive/2009/10/27/query-execution-failed-for-data-set-company.aspx</id><published>2009-10-27T13:43:47Z</published><updated>2009-10-27T13:43:47Z</updated><content type="html">&lt;p&gt;Recently we were having problems to get the Role Center up and running. Report Server is setup and working in a correct way. Most reports can be generated, but a few does not answer correct. For those report the following error is generated: “Query execution failed for data set 'Company'” Reports in Role Center can not be accessed. Even those that default company was set in Business Connector Configuration Utility and on the connection tab correct AOS was set up we were still not able to make report working.    &lt;br /&gt;The root cause of this problem was that cubes in OLAP database DynamicsAX were not processed.     &lt;br /&gt;To solve the problem we were following WhitePapers which let us configure cubes and Role Center: &lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;The “Configure the Default OLAP Cubes” white paper and the cross-reference document are now available here: &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=28CDB057-416A-497E-A7E0-8D52C4EB1BFB&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=28CDB057-416A-497E-A7E0-8D52C4EB1BFB&amp;amp;displaylang=en&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;Microsoft Dynamics AX 2009 White Paper: Configuring Kerberos Authentication with Role Centers: &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=be720eb3-649a-49ff-b019-a1e4e7af6b47&amp;amp;DisplayLang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=be720eb3-649a-49ff-b019-a1e4e7af6b47&amp;amp;DisplayLang=en&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;Microsoft Dynamics AX 2009 White Paper: Configuring Enterprise Portal and Role Centers with SQL Reporting &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=3D2463FC-EA13-40EF-A375-2DA2F379652C&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=3D2463FC-EA13-40EF-A375-2DA2F379652C&amp;amp;displaylang=en&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;span id="Title"&gt;Fixing Microsoft Dynamics AX Cube Processing Errors Caused by EDT Field Changes: &lt;a href="https://mbs.microsoft.com/partnersource/documentation/whitepapers/AX2009_FixCubeProcessingErrors"&gt;https://mbs.microsoft.com/partnersource/documentation/whitepapers/AX2009_FixCubeProcessingErrors&lt;/a&gt;&lt;/span&gt; &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&lt;span&gt;The way how we troubleshoot the problem was following. We had problem with report ProjUtilizationEffeciencyEmpl.&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span&gt;&lt;/span&gt;Report ProjUtilizationEffeciencyEmpl is based on Project Accounting Cube. &lt;/p&gt;  &lt;p&gt;If Company data set cannot be processed it seems there is something wrong with this cube. Company data set is called with following query: &lt;/p&gt;  &lt;p&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: &amp;#39;Times New Roman&amp;#39;; mso-bidi-theme-font: minor-bidi; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;&lt;font color="#000000"&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;div style="padding-bottom: 5px; background-color: lightgray; padding-left: 5px; padding-right: 5px; font-family: courier new; font-size: 8pt; padding-top: 5px"&gt;WITH    &lt;br /&gt;MEMBER [Measures].[ParameterCaption] AS '[Company].[Company accounts].CURRENTMEMBER.MEMBER_CAPTION'     &lt;br /&gt;MEMBER [Measures].[ParameterValue] AS '[Company].[Company accounts].CURRENTMEMBER.UNIQUENAME'     &lt;br /&gt;MEMBER [Measures].[Key] AS '[Company].[Company accounts].CURRENTMEMBER.Properties(&amp;quot;Key&amp;quot;)'     &lt;br /&gt;SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[Key] } ON COLUMNS , Except([Company].[Company accounts].MEMBERS, {[Company].[Company accounts].[All], [Company].[Company accounts].[Unknown]})     &lt;br /&gt;ON ROWS FROM [Project Accounting Cube] &lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9913488" width="1" height="1"&gt;</content><author><name>EMEAAXTec</name><uri>http://blogs.msdn.com/members/EMEAAXTec.aspx</uri></author><category term="Role Center" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Role+Center/default.aspx" /><category term="Enterprise Portal" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Enterprise+Portal/default.aspx" /><category term="Reporting" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Reporting/default.aspx" /><category term="Analysis Services" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Analysis+Services/default.aspx" /><category term="AX 2009" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/AX+2009/default.aspx" /></entry><entry><title>Using the DLLFunction kernel class on a 64bit Dynamics AX 2009 AOS </title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/emeadaxsupport/archive/2009/10/20/function-functionname-in-dll-library-dllname-has-caused-an-exception-on-64bit-aos.aspx" /><id>http://blogs.msdn.com/emeadaxsupport/archive/2009/10/20/function-functionname-in-dll-library-dllname-has-caused-an-exception-on-64bit-aos.aspx</id><published>2009-10-20T05:37:00Z</published><updated>2009-10-20T05:37:00Z</updated><content type="html">&lt;P&gt;One of the nice features added with Dynamics AX 2009 is the support for 64bit (x64) for the Dynamics AX 2009 Application Object Server and the Dynamics AX 2009 .NET Business Connector. &lt;/P&gt;
&lt;P&gt;However when you have some existing X++ that you are now migrating to Dynamics AX 2009, you might run into an issue when you are using the &lt;EM&gt;DLLFunction &lt;/EM&gt;kernel class and try to execute the code on a &lt;EM&gt;64bit AOS&lt;/EM&gt;. &lt;/P&gt;
&lt;P&gt;When you are trying to use the &lt;EM&gt;DLLFunction &lt;/EM&gt;kernel class on a 64bit AOS the execution of the method &lt;EM&gt;call &lt;/EM&gt;will result in the following error message:&lt;/P&gt;
&lt;DIV style="COLOR: red; MARGIN-LEFT: 40px; MARGIN-RIGHT: 40px"&gt;Function &lt;EM&gt;'FunctionName'&lt;/EM&gt; in DLL library &lt;EM&gt;‘DLLName'&lt;/EM&gt; has caused an exception.&lt;/DIV&gt;
&lt;P&gt;When you are executing exactly the same code on a 32bit AOS, the execution will work (assuming the parameters of the DLLFunction were set correctly).&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Background of this issue is, that on 64bit the DLLFunction kernel class itself is &lt;EM&gt;not &lt;/EM&gt;implemented in Dynamics AX 2009. &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If you are in a situation where you need to make a call to an external WinAPI DLL, you need to look for alternatives:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Can the call to the external DLL moved to the Client tier? &lt;/STRONG&gt;As the Dynamics AX 2009 Client is still 32bit, the DLLFunction kernel class is here existing as it was in the past. &lt;BR&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Does there exist an equivalent of the WinAPI DLL? &lt;/STRONG&gt;If the WinAPI DLL is used to communicate with an external component maybe different communication interfaces exist, like COM Components or .NET Assemblies. Those can still be used. &lt;BR&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Can a .NET &lt;EM&gt;wrapper&lt;/EM&gt; Assembly&amp;nbsp;be created?&lt;/STRONG&gt; If no existing equivalent .NET Assembly is available you might be able to create yourself a&amp;nbsp;wrapper you can reference in Dynamics AX 2009. Inside the wrapper you can simply pass on the calls to the WinAPI DLL. For more information see &lt;A href="http://msdn.microsoft.com/en-us/library/26thfadc.aspx" mce_href="http://msdn.microsoft.com/en-us/library/26thfadc.aspx"&gt;Consuming Unmanaged DLL Functions&lt;/A&gt; and &lt;A href="http://msdn.microsoft.com/en-us/library/aa288468(VS.71).aspx" mce_href="http://msdn.microsoft.com/en-us/library/aa288468(VS.71).aspx"&gt;Platform Invoke Tutorial&lt;/A&gt;. &lt;BR&gt;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9909669" width="1" height="1"&gt;</content><author><name>EMEAAXTec</name><uri>http://blogs.msdn.com/members/EMEAAXTec.aspx</uri></author><category term="AOS" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/AOS/default.aspx" /><category term="64-bit" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/64-bit/default.aspx" /><category term="AX 2009" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/AX+2009/default.aspx" /><category term="X++" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/X_2B002B00_/default.aspx" /></entry><entry><title>The Dynamics AX Client sometimes terminates when displaying certain HTML pages in a Web browser control</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/emeadaxsupport/archive/2009/10/15/the-dynamics-ax-client-sometimes-terminates-when-displaying-certain-html-pages-in-a-web-browser-control.aspx" /><id>http://blogs.msdn.com/emeadaxsupport/archive/2009/10/15/the-dynamics-ax-client-sometimes-terminates-when-displaying-certain-html-pages-in-a-web-browser-control.aspx</id><published>2009-10-15T07:18:00Z</published><updated>2009-10-15T07:18:00Z</updated><content type="html">&lt;P&gt;In Dynamics AX 2009 several Forms exists that have a &lt;EM&gt;Web browser&lt;/EM&gt; control to display either dynamically created HTML content or show certain web pages based on the context of a selected record in a Grid. The Web browser control enriches the user experience this way. &lt;/P&gt;
&lt;P&gt;However sometimes it might happen when you open such a Form or change the record context so a different HTML page gets displayed the Dynamics AX client terminates. If the Dynamics AX Client terminates or not mainly depends what kind of content is being displayed in the Web browser control. &lt;/P&gt;
&lt;P&gt;HTML pages do often also host interactive objects to enrich their user experience. If on such a HTML page &lt;EM&gt;&lt;A href="http://www.microsoft.com/silverlight/" mce_href="http://www.microsoft.com/silverlight/"&gt;SilverLight&lt;/A&gt; &lt;/EM&gt;content is embedded, event if it is just for advertisements, exactly the described issue will happen. Background of this issue is the misinterpretation of a &lt;EM&gt;WM_USER Windows Message &lt;/EM&gt;by the Dynamics AX Client. &lt;/P&gt;
&lt;P&gt;Fortunately this issue was recently solved with the Kernel Hotfix &lt;A href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;968840" mce_href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;968840"&gt;KB968840&lt;/A&gt; that is also included in the &lt;A href="http://blogs.technet.com/dynamicsaxse/archive/2009/07/09/microsoft-dynamics-ax-2009-roll-up-2-is-available-on-partner-source-and-customer-source.aspx" mce_href="http://blogs.technet.com/dynamicsaxse/archive/2009/07/09/microsoft-dynamics-ax-2009-roll-up-2-is-available-on-partner-source-and-customer-source.aspx"&gt;Rollup 2&lt;/A&gt;. &lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9907486" width="1" height="1"&gt;</content><author><name>EMEAAXTec</name><uri>http://blogs.msdn.com/members/EMEAAXTec.aspx</uri></author><category term="Crash" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Crash/default.aspx" /><category term="Client" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Client/default.aspx" /><category term="AX 2009" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/AX+2009/default.aspx" /><category term="Solution" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Solution/default.aspx" /></entry><entry><title>List of fixes that improve performance of certain features in Dynamics AX 2009</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/emeadaxsupport/archive/2009/10/13/list-of-fixes-that-improve-performance-of-certain-features-in-dynamics-ax-2009.aspx" /><id>http://blogs.msdn.com/emeadaxsupport/archive/2009/10/13/list-of-fixes-that-improve-performance-of-certain-features-in-dynamics-ax-2009.aspx</id><published>2009-10-13T06:25:00Z</published><updated>2009-10-13T06:25:00Z</updated><content type="html">&lt;p mce_keep="true"&gt;Over the last month different fixes for Dynamics AX 2009 and Dynamics AX 2009 Service Pack 1 were release to optimize specific functionality and features that were not showing an optimal performance in all situations. Most of the fixes were released as Application fixes, which means they either need to be installed individually one by one or by integrating a whole Rollup. &lt;/p&gt;  &lt;p&gt;Below you find a list of fixes that were released for Dynamics AX 2009 and Dynamics AX 2009 Service Pack 1 together with an indication in which Rollup they are included. However please be aware that the following list is not complete. &lt;/p&gt;  &lt;p&gt;If you are not finding in this list what you a looking for, a search in the &lt;a href="http://support.microsoft.com/?id=899357" mce_href="http://support.microsoft.com/?id=899357"&gt;Knowledge Base&lt;/a&gt; is definitely a good idea!&lt;/p&gt;  &lt;table style="border-right-width: 1px; width: 100%; border-collapse: collapse; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 1px" cellpadding="5"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;strong&gt;Issue&lt;/strong&gt;&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 100px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;strong&gt;Fix type&lt;/strong&gt;&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 120px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;strong&gt;Fix included in&lt;/strong&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;974830" mce_href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;974830"&gt;KB974830 - You experience slow performance when you try to start the Microsoft Dynamics AX 4.0 client in a closed network or in a perimeter network&lt;/a&gt;&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 100px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;KB Fix&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 120px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&amp;#160;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;959598" mce_href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;959598"&gt;KB959598 - Microsoft Dynamics AX stops responding if many clients are opened or closed at the same time in Microsoft Dynamics AX 2009&lt;/a&gt;&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 100px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;Application&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 120px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="http://blogs.technet.com/dynamicsaxse/archive/2009/04/14/microsoft-dynamics-ax-2009-roll-up-1-is-available-on-partner-source-and-customer-source.aspx" mce_href="http://blogs.technet.com/dynamicsaxse/archive/2009/04/14/microsoft-dynamics-ax-2009-roll-up-1-is-available-on-partner-source-and-customer-source.aspx"&gt;RTM RU-1&lt;/a&gt;           &lt;br /&gt;&lt;a href="http://blogs.technet.com/dynamicsaxse/archive/2009/04/14/microsoft-dynamics-ax-2009-roll-up-1-is-available-on-partner-source-and-customer-source.aspx" mce_href="http://blogs.technet.com/dynamicsaxse/archive/2009/04/14/microsoft-dynamics-ax-2009-roll-up-1-is-available-on-partner-source-and-customer-source.aspx"&gt;SP1 RU-1&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;956422" mce_href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;956422"&gt;KB956422 - You experience slow performance when you select a transaction in the &amp;quot;Account transactions&amp;quot; dialog box in Microsoft Dynamics AX 2009 &lt;/a&gt;&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 100px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;Application&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 120px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="http://blogs.technet.com/dynamicsaxse/archive/2009/04/14/microsoft-dynamics-ax-2009-roll-up-1-is-available-on-partner-source-and-customer-source.aspx" mce_href="http://blogs.technet.com/dynamicsaxse/archive/2009/04/14/microsoft-dynamics-ax-2009-roll-up-1-is-available-on-partner-source-and-customer-source.aspx"&gt;RTM RU-1&lt;/a&gt;           &lt;br /&gt;&lt;a href="http://blogs.technet.com/dynamicsaxse/archive/2009/04/14/microsoft-dynamics-ax-2009-roll-up-1-is-available-on-partner-source-and-customer-source.aspx" mce_href="http://blogs.technet.com/dynamicsaxse/archive/2009/04/14/microsoft-dynamics-ax-2009-roll-up-1-is-available-on-partner-source-and-customer-source.aspx"&gt;SP1 RU-1&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;956338" mce_href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;956338"&gt;KB956338 - You experience slow performance when you export a whole layer in Microsoft Dynamics AX 2009&lt;/a&gt;&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 100px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;Hybrid&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 120px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="http://blogs.technet.com/dynamicsaxse/archive/2009/04/14/microsoft-dynamics-ax-2009-roll-up-1-is-available-on-partner-source-and-customer-source.aspx" mce_href="http://blogs.technet.com/dynamicsaxse/archive/2009/04/14/microsoft-dynamics-ax-2009-roll-up-1-is-available-on-partner-source-and-customer-source.aspx"&gt;RTM RU-1&lt;/a&gt;           &lt;br /&gt;&lt;a href="http://blogs.technet.com/dynamicsaxse/archive/2009/04/14/microsoft-dynamics-ax-2009-roll-up-1-is-available-on-partner-source-and-customer-source.aspx" mce_href="http://blogs.technet.com/dynamicsaxse/archive/2009/04/14/microsoft-dynamics-ax-2009-roll-up-1-is-available-on-partner-source-and-customer-source.aspx"&gt;SP1 RU-1&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;957436" mce_href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;957436"&gt;KB957436 - You experience slow performance when you create a journal that contains many journal lines in Microsoft Dynamics AX 2009&lt;/a&gt;&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 100px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;Application&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 120px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="http://blogs.technet.com/dynamicsaxse/archive/2009/04/14/microsoft-dynamics-ax-2009-roll-up-1-is-available-on-partner-source-and-customer-source.aspx" mce_href="http://blogs.technet.com/dynamicsaxse/archive/2009/04/14/microsoft-dynamics-ax-2009-roll-up-1-is-available-on-partner-source-and-customer-source.aspx"&gt;RTM RU-1&lt;/a&gt;           &lt;br /&gt;&lt;a href="http://blogs.technet.com/dynamicsaxse/archive/2008/11/18/microsoft-dynamics-ax-2009-service-pack-1-released.aspx" mce_href="http://blogs.technet.com/dynamicsaxse/archive/2008/11/18/microsoft-dynamics-ax-2009-service-pack-1-released.aspx"&gt;SP1&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;967851" mce_href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;967851"&gt;KB967851 - You experience slow performance when you change general ledger journals in Microsoft Dynamics AX 2009&lt;/a&gt;&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 100px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;KB Fix&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 120px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&amp;#160;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;967203" mce_href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;967203"&gt;KB967203 - You experience slow performance when you post inventory journals that contain many positions in Microsoft Dynamics AX 2009&lt;/a&gt;&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 100px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;Application&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 120px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="http://blogs.technet.com/dynamicsaxse/archive/2009/04/14/microsoft-dynamics-ax-2009-roll-up-1-is-available-on-partner-source-and-customer-source.aspx" mce_href="http://blogs.technet.com/dynamicsaxse/archive/2009/04/14/microsoft-dynamics-ax-2009-roll-up-1-is-available-on-partner-source-and-customer-source.aspx"&gt;RTM RU-1&lt;/a&gt;           &lt;br /&gt;&lt;a href="http://blogs.technet.com/dynamicsaxse/archive/2009/04/14/microsoft-dynamics-ax-2009-roll-up-1-is-available-on-partner-source-and-customer-source.aspx" mce_href="http://blogs.technet.com/dynamicsaxse/archive/2009/04/14/microsoft-dynamics-ax-2009-roll-up-1-is-available-on-partner-source-and-customer-source.aspx"&gt;SP1 RU-1&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;967799" mce_href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;967799"&gt;KB967799 - You experience slow performance or Microsoft Dynamics AX crashes when you print the BOMConsistOf report to a PDF file in Microsoft Dynamics AX 2009 with Service Pack 1&lt;/a&gt;&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 100px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;Application&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 120px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="http://blogs.technet.com/dynamicsaxse/archive/2009/04/14/microsoft-dynamics-ax-2009-roll-up-1-is-available-on-partner-source-and-customer-source.aspx" mce_href="http://blogs.technet.com/dynamicsaxse/archive/2009/04/14/microsoft-dynamics-ax-2009-roll-up-1-is-available-on-partner-source-and-customer-source.aspx"&gt;SP1 RU-1&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;971155" mce_href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;971155"&gt;KB971155 - You experience slow performance when you set the setup name to &amp;quot;Return order&amp;quot; in the &amp;quot;Arrival overview&amp;quot; dialog box in Microsoft Dynamics AX 2009&lt;/a&gt;&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 100px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;Application&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 120px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="http://blogs.technet.com/dynamicsaxse/archive/2009/07/09/microsoft-dynamics-ax-2009-roll-up-2-is-available-on-partner-source-and-customer-source.aspx" mce_href="http://blogs.technet.com/dynamicsaxse/archive/2009/07/09/microsoft-dynamics-ax-2009-roll-up-2-is-available-on-partner-source-and-customer-source.aspx"&gt;SP1 RU-2&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;973493" mce_href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;973493"&gt;KB973493 - You experience slow performance when you try to view the Totals information or the Sales Tax information of a sales order in Microsoft Dynamics AX 2009&lt;/a&gt;&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 100px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;KB Fix&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 120px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&amp;#160;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;968397"&gt;KB968397 - A delay occurs unexpectedly when you browse the smmBusRelTable table in Application object tree (AOT) in Microsoft Dynamics AX 2009&lt;/a&gt;&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 100px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;Hybrid&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 120px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="http://blogs.technet.com/dynamicsaxse/archive/2009/07/09/microsoft-dynamics-ax-2009-roll-up-2-is-available-on-partner-source-and-customer-source.aspx"&gt;RTM RU-2&lt;/a&gt;          &lt;br /&gt;&lt;a href="http://blogs.technet.com/dynamicsaxse/archive/2009/07/09/microsoft-dynamics-ax-2009-roll-up-2-is-available-on-partner-source-and-customer-source.aspx"&gt;SP1 RU-2&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;972404" mce_href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;972404"&gt;KB972404 - Microsoft Dynamics AX 2009 Service Pack 1 creates an SQL query that causes a slow performance issue for ad hoc reports when you update a report model&lt;/a&gt;&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 100px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;Application&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 120px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="http://blogs.technet.com/dynamicsaxse/archive/2009/09/30/dynamics-ax-2009-rollup-3-has-been-released-to-partner-source-and-customer-source.aspx" mce_href="http://blogs.technet.com/dynamicsaxse/archive/2009/09/30/dynamics-ax-2009-rollup-3-has-been-released-to-partner-source-and-customer-source.aspx"&gt;SP1 RU-3&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;972964" mce_href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;972964"&gt;KB972964 - You experience slow performance when you delete a record from certain tables in Microsoft Dynamics AX 2009 with Service Pack 1 installed &lt;/a&gt;&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 100px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;Kernel&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 120px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="http://blogs.technet.com/dynamicsaxse/archive/2009/09/30/dynamics-ax-2009-rollup-3-has-been-released-to-partner-source-and-customer-source.aspx" mce_href="http://blogs.technet.com/dynamicsaxse/archive/2009/09/30/dynamics-ax-2009-rollup-3-has-been-released-to-partner-source-and-customer-source.aspx"&gt;SP1 RU-3&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;974706" mce_href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;974706"&gt;KB974706 - You experience slow performance when you open the DirPartyTable form in Microsoft Dynamics AX 2009&lt;/a&gt;&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 100px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;Application&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 120px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="http://blogs.technet.com/dynamicsaxse/archive/2009/09/30/dynamics-ax-2009-rollup-3-has-been-released-to-partner-source-and-customer-source.aspx" mce_href="http://blogs.technet.com/dynamicsaxse/archive/2009/09/30/dynamics-ax-2009-rollup-3-has-been-released-to-partner-source-and-customer-source.aspx"&gt;SP1 RU-3&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;975088" mce_href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;975088"&gt;KB975088 - You experience slow performance when you open the &amp;quot;Print management setup&amp;quot; form in Microsoft Dynamics AX 2009&lt;/a&gt;&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 100px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;Application&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 120px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="http://blogs.technet.com/dynamicsaxse/archive/2009/09/30/dynamics-ax-2009-rollup-3-has-been-released-to-partner-source-and-customer-source.aspx" mce_href="http://blogs.technet.com/dynamicsaxse/archive/2009/09/30/dynamics-ax-2009-rollup-3-has-been-released-to-partner-source-and-customer-source.aspx"&gt;SP1 RU-3&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;974351" mce_href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;974351"&gt;KB974351 - You experience slow performance when you type a search text to look up records in the &amp;quot;Item number&amp;quot; field in a sales order line in Microsoft Dynamics AX 2009&lt;/a&gt;&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 100px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;Kernel&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 120px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="http://blogs.technet.com/dynamicsaxse/archive/2009/09/30/dynamics-ax-2009-rollup-3-has-been-released-to-partner-source-and-customer-source.aspx" mce_href="http://blogs.technet.com/dynamicsaxse/archive/2009/09/30/dynamics-ax-2009-rollup-3-has-been-released-to-partner-source-and-customer-source.aspx"&gt;RTM RU-3&lt;/a&gt;           &lt;br /&gt;&lt;a href="http://blogs.technet.com/dynamicsaxse/archive/2009/09/30/dynamics-ax-2009-rollup-3-has-been-released-to-partner-source-and-customer-source.aspx" mce_href="http://blogs.technet.com/dynamicsaxse/archive/2009/09/30/dynamics-ax-2009-rollup-3-has-been-released-to-partner-source-and-customer-source.aspx"&gt;SP1 RU-3&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;973439" mce_href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;973439"&gt;KB973439 - The workflow keeps retrying when a time-out exception error occurs in Microsoft Dynamics AX 2009 with Service Pack 1 installed&lt;/a&gt;&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 100px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;Application&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 120px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="http://blogs.technet.com/dynamicsaxse/archive/2009/09/30/dynamics-ax-2009-rollup-3-has-been-released-to-partner-source-and-customer-source.aspx" mce_href="http://blogs.technet.com/dynamicsaxse/archive/2009/09/30/dynamics-ax-2009-rollup-3-has-been-released-to-partner-source-and-customer-source.aspx"&gt;SP1 RU-3&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&lt;a href="http://blogs.technet.com/dynamicsaxse/archive/2009/10/26/performance-issue-in-open-transaction-edit-form.aspx"&gt;Performance issue in &amp;quot;Open Transaction Edit&amp;quot; form&lt;/a&gt;&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 100px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;SE BLOG&lt;/td&gt;        &lt;td style="border-bottom: #000000 1px solid; border-left: #000000 1px solid; width: 120px; height: 50px; border-top: #000000 1px solid; border-right: #000000 1px solid"&gt;&amp;#160;&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9906468" width="1" height="1"&gt;</content><author><name>EMEAAXTec</name><uri>http://blogs.msdn.com/members/EMEAAXTec.aspx</uri></author><category term="Performance" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Performance/default.aspx" /><category term="AX 2009" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/AX+2009/default.aspx" /></entry><entry><title>Renaming an AOT object in Dynamics AX 2009 that is under source control with Team Foundation Server</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/emeadaxsupport/archive/2009/10/05/renaming-an-aot-object-in-dynamics-ax-2009-that-is-under-source-control-with-team-foundation-server.aspx" /><id>http://blogs.msdn.com/emeadaxsupport/archive/2009/10/05/renaming-an-aot-object-in-dynamics-ax-2009-that-is-under-source-control-with-team-foundation-server.aspx</id><published>2009-10-05T15:34:00Z</published><updated>2009-10-05T15:34:00Z</updated><content type="html">&lt;p&gt;With the support of version control systems (VCS) in Dynamics AX 4.0 and the integration in the AOT a lot of effort was put into the product to make the development in teams more efficient and reduce the chance of conflicts. Dynamics AX 2009 continues this effort with the support of additional version control systems like Microsoft Team Foundation Server (TFS).&lt;/p&gt;  &lt;p&gt;The adding of objects in the AOT to source control is straight forward as well as the &lt;em&gt;checking in&lt;/em&gt; and &lt;em&gt;checking out&lt;/em&gt;. When you are however trying to &lt;u&gt;rename&lt;/u&gt; an object that is under source control you might get some unexpected effects if you are using &lt;em&gt;Team Foundation Server &lt;/em&gt;as your VCS; actually it’s not you, but the other developers in your team that experience the unexpected effects.&lt;/p&gt;  &lt;p&gt;So lets imagine you have an AOT object, e. g. a class object &lt;em&gt;ClassA, &lt;/em&gt;that is under source control and in a &lt;em&gt;checked out &lt;/em&gt;state. You are a developer and decide to rename the class to &lt;em&gt;ClassB &lt;/em&gt;and do a &lt;em&gt;check in&lt;/em&gt;. When now a different developer in your team that has already &lt;em&gt;ClassA&lt;/em&gt; existing decides to retrieve the latest changes from your VCS (do a synchronization), the developer will get confronted with an error message that &lt;em&gt;another object with the same id already exists &lt;/em&gt;and the existing object &lt;em&gt;ClassA &lt;/em&gt;isn't renamed to &lt;em&gt;ClassB&lt;/em&gt;. &lt;/p&gt;  &lt;p&gt;The root cause of the issue is that the object was in a &lt;em&gt;checked out &lt;/em&gt;state when it was renamed and later checked in. When you do a rename of an AOT object that is under source control the object &lt;u&gt;has to be in a &lt;em&gt;checked in &lt;/em&gt;state&lt;/u&gt; when you do the rename (see also: &lt;a href="http://msdn.microsoft.com/en-us/library/aa884321.aspx" mce_href="http://msdn.microsoft.com/en-us/library/aa884321.aspx"&gt;How to: Rename AOT Objects in the Version Control System&lt;/a&gt;)!&lt;/p&gt;  &lt;p&gt;On the other hand Dynamics AX 2009 should not run into this error state and therefore the Hotfix &lt;a href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;972037" mce_href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;972037"&gt;KB972037&lt;/a&gt; was released to prevent this issue from happening in the future. &lt;/p&gt;  &lt;p&gt;Please go to the &lt;a href="http://msdn.microsoft.com/en-us/library/aa639568.aspx"&gt;Microsoft Dynamics AX 2009 SDK on MSDN&lt;/a&gt; if you want to know more about using a VCS in Dynamics AX 2009.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9903208" width="1" height="1"&gt;</content><author><name>EMEAAXTec</name><uri>http://blogs.msdn.com/members/EMEAAXTec.aspx</uri></author></entry><entry><title>Debugging non-interactive X++ code in Dynamics AX 2009 when running on Windows Server 2008</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/emeadaxsupport/archive/2009/09/23/debugging-non-interactive-x-code-in-dynamics-ax-2009-when-running-on-windows-server-2008.aspx" /><id>http://blogs.msdn.com/emeadaxsupport/archive/2009/09/23/debugging-non-interactive-x-code-in-dynamics-ax-2009-when-running-on-windows-server-2008.aspx</id><published>2009-09-23T09:12:26Z</published><updated>2009-09-23T09:12:26Z</updated><content type="html">&lt;p&gt;The most common scenario for a Dynamics AX developer is that you create your X++ code and objects in the Dynamics AX Client and test them in the same interactive session. In other words you &lt;em&gt;start &lt;/em&gt;executing your new code from within the Dynamics AX Client and if necessary debug the code by putting in some breakpoints and wait for the Dynamics AX Debugger to hit them. &lt;/p&gt;  &lt;p&gt;There are however also scenarios where the code you have developed needs to be executed in a non-interactive session, and with the release of Dynamics AX 2009 the chances to get confronted with this are much higher because the concept of &lt;em&gt;Batch Jobs&lt;/em&gt; has changed. &lt;/p&gt;  &lt;p&gt;Unlike earlier versions of Dynamics AX you don’t need to have in Dynamics AX 2009 a &lt;em&gt;Batch Client&lt;/em&gt; running any more, as the AOS is now responsible for executing Batch Jobs (that support the new Batch Framework).&lt;/p&gt;  &lt;p&gt;The important part is that the X++ code of the Server Batch Jobs is &lt;em&gt;executed on the AOS&lt;/em&gt; in a non-interact session, and this changes also the way how you need to debug the X++ code.&lt;/p&gt;  &lt;p&gt;The easiest way is still trying to &lt;em&gt;avoid the non-interactive part&lt;/em&gt;, in other words trying to execute the code running in the non-interactive session in an interactive session by creating some helper/wrapper classes and calling them from the Dynamics AX Client. However sometimes the error you are facing does only occur in the non-interactive session.&lt;/p&gt;  &lt;p&gt;You can still instrument your code (build in some logging) and evaluate the output (log), however still you can reach a point where you have no other choice than debugging the code in the non-interactive session. For those of us that have developed Enterprise Portal Web Forms in the past the concept is very similar, as here you are also dealing with a non-interactive session. &lt;/p&gt;  &lt;p&gt;In order to do non-interactive debugging, you need to prepare your environment and make some configuration changes. I don’t want to go into too much detail what you have to do, as I found some excellent posts and just want to refer to them instead:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://blogs.msdn.com/x/archive/2009/06/25/step-by-step-checklist-for-debugging-batch-jobs-in-dynamics-ax.aspx"&gt;Step-by-Step Checklist for Debugging Batch Jobs in Dynamics Ax&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/aa629010.aspx"&gt;How to: Debug X++ Code on EP Pages&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Once you have set up everything correctly, you might however face the issue that the Dynamics AX 2009 Debugger&lt;em&gt; does not stop at your breakpoint&lt;/em&gt;. &lt;/p&gt;  &lt;p&gt;This is the case when either the AOS for Server Batch Jobs or the .NET Business Connector for Enterprise Portal are running on &lt;em&gt;Windows Server 2008.&lt;/em&gt; In this environment the Dynamics AX 2009 Debugger will &lt;em&gt;never connect &lt;/em&gt;to your non-interactive session and so &lt;u&gt;never hit any breakpoint!&lt;/u&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;There was recently the Hotfix &lt;/strong&gt;&lt;a href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;962952"&gt;&lt;strong&gt;KB962952&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt; released for Dynamics AX 2009 SP1 that addresses this issue. If you want to debug X++ code in a non-interactive session in Dynamics AX 2009 and you are running on Windows Server 2008 you need to install this Hotfix!&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Once the Dynamics AX 2009 Debugger is attached to your non-interactive session the experience you get is the same as if you would debug interactive sessions.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9898309" width="1" height="1"&gt;</content><author><name>EMEAAXTec</name><uri>http://blogs.msdn.com/members/EMEAAXTec.aspx</uri></author></entry><entry><title>Unable to install Dynamics AX 2009 Analysis extensions when the default SQL Server Analysis Server collation is set to Turkish_CI_AS or Turkish_CS_AS</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/emeadaxsupport/archive/2009/09/21/unable-to-install-dynamics-ax-2009-analysis-extensions-when-the-default-sql-server-analysis-server-collation-is-set-to-turkish-ci-as-or-turkish-cs-as.aspx" /><id>http://blogs.msdn.com/emeadaxsupport/archive/2009/09/21/unable-to-install-dynamics-ax-2009-analysis-extensions-when-the-default-sql-server-analysis-server-collation-is-set-to-turkish-ci-as-or-turkish-cs-as.aspx</id><published>2009-09-21T19:23:00Z</published><updated>2009-09-21T19:23:00Z</updated><content type="html">&lt;P&gt;We came across an issue where by after installing the Dynamics AX 2009 Analysis Extensions sucessfully, no database is created! Even if you manually try to create the Dynamics AX Analysis database from the analysis script file DynamicsAX.xmla (found under&amp;nbsp;the installation media&amp;nbsp;in "\support\Analysis Services\Scripts\" folder), you get the following&amp;nbsp;error message:&lt;/P&gt;
&lt;DIV style="COLOR: red; MARGIN-LEFT: 40px; MARGIN-RIGHT: 40px"&gt;&amp;lt;BR&amp;gt;&amp;lt;return xmlns="urn:schemas-microsoft-com:xml-analysis"&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;lt;results xmlns="&lt;A href="http://schemas.microsoft.com/analysisservices/2003/xmla-multipleresults" mce_href="http://schemas.microsoft.com/analysisservices/2003/xmla-multipleresults"&gt;http://schemas.microsoft.com/analysisservices/2003/xmla-multipleresults&lt;/A&gt;"&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;root xmlns="urn:schemas-microsoft-com:xml-analysis:empty"&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Exception xmlns="urn:schemas-microsoft-com:xml-analysis:exception" /&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Messages xmlns="urn:schemas-microsoft-com:xml-analysis:exception"&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Error ErrorCode="3239313662" Description="Errors in the metadata manager. The attribute with ID of ''''Description'''', Name '''''''' of referenced by the '''''''' cube dimension, does not exist." Source="Microsoft SQL Server 2008 Analysis Services" HelpFile="" /&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/Messages&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/root&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;root xmlns="urn:schemas-microsoft-com:xml-analysis:empty"&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Exception xmlns="urn:schemas-microsoft-com:xml-analysis:exception" /&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Messages xmlns="urn:schemas-microsoft-com:xml-analysis:exception"&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Error ErrorCode="3239313412" Description="Errors in the metadata manager. Either the database with the ID of ''''Dynamics AX'''' does not exist in the server with the ID of ''''ANUP209'''', or the user does not have permissions to access the object." Source="Microsoft SQL Server 2008 Analysis Services" HelpFile="" /&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/Messages&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/root&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/results&amp;gt; &lt;BR&gt;&amp;lt;/return&amp;gt; &lt;BR&gt;&lt;/DIV&gt;
&lt;P&gt;We got this issue on a SQL Server Analysis Server (SSAS) 2008&amp;nbsp;where the default collation was set to Turkish_CI_AS. The same will apply if you were running SQL Server 2005&amp;nbsp;and also with Turkish_CS_AS collation.&amp;nbsp;This is by design as the Analysis extensions (OLAP framework tools and Default Cubes) have been tested only in the following AX language/collation combinations:&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;U&gt;Language&lt;/U&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;U&gt;SSAS Collation&lt;/U&gt;&lt;BR&gt;English US&amp;nbsp;&amp;nbsp; Latin1_General_CI_AS&amp;nbsp;&lt;BR&gt;Danish&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Danish default collation&amp;nbsp;&lt;BR&gt;German&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; German default collation&amp;nbsp;&lt;BR&gt;Chinese&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chinese default collation&amp;nbsp;&lt;BR&gt;Arabic&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Arabic default collation &lt;/P&gt;
&lt;P&gt;&lt;BR&gt;You maybe able to workaround the issue as follows:&lt;/P&gt;
&lt;DIV style="PADDING-BOTTOM: 5px; BACKGROUND-COLOR: lightgray; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; FONT-FAMILY: Courier; FONT-SIZE: 6px; PADDING-TOP: 5px"&gt;
&lt;P&gt;- In SQL Server Management Studio, connnect to SSAS and right click on the server name to change the properties of collation . &lt;BR&gt;- Set your collation to Latin1_General for instance and restart SSAS &lt;BR&gt;- Run the AX setup to add the "Analysis extensions". &lt;BR&gt;- When the DynamicsAX database and its cubes have been created, you could either change back SSAS collation to Turkish_Cx_Ax, or first backup the database, then change SSAS collation to Turkish_Cx_Ax and restore the backup. &lt;/P&gt;&lt;/DIV&gt;&lt;BR&gt;&lt;BR&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9897614" width="1" height="1"&gt;</content><author><name>EMEAAXTec</name><uri>http://blogs.msdn.com/members/EMEAAXTec.aspx</uri></author><category term="Cube" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Cube/default.aspx" /><category term="OLAP" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/OLAP/default.aspx" /><category term="Analysis Services" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Analysis+Services/default.aspx" /><category term="Solution" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Solution/default.aspx" /><category term="Deployment" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Deployment/default.aspx" /></entry><entry><title>Error during processing of 'AX_CompanyName' report parameter. (rsReportParameterProcessingError) </title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/emeadaxsupport/archive/2009/09/21/error-during-processing-of-ax-companyname-report-parameter-rsreportparameterprocessingerror.aspx" /><id>http://blogs.msdn.com/emeadaxsupport/archive/2009/09/21/error-during-processing-of-ax-companyname-report-parameter-rsreportparameterprocessingerror.aspx</id><published>2009-09-21T18:56:00Z</published><updated>2009-09-21T18:56:00Z</updated><content type="html">&lt;DIV&gt;We came across an issue recently where the Dynamics AX 2009 reporting extensions and sql reporting services reports deployed successfully. However when trying to browse and view&amp;nbsp;ANY of the published reports on the SQL Reporting server or via role centers we get&amp;nbsp;the following&amp;nbsp;error displayed:&amp;nbsp;&lt;BR&gt;&lt;BR&gt;
&lt;DIV style="COLOR: red; MARGIN-LEFT: 40px; MARGIN-RIGHT: 40px"&gt;Error during processing of ‘AX_CompanyName’ report parameter. (rsReportParameterProcessingError)&lt;/DIV&gt;&lt;BR&gt;&lt;BR&gt;and furthermore in the Windows Application Event log on the SQL Reporting server we get the following error logged: &lt;BR&gt;&lt;BR&gt;
&lt;DIV style="COLOR: red; MARGIN-LEFT: 40px; MARGIN-RIGHT: 40px"&gt;Event Source: Microsoft.Dynamics.Framework.BusinessConnector &lt;BR&gt;Event Category: None &lt;BR&gt;Event ID: 1000 &lt;BR&gt;Description: &lt;BR&gt;Dynamics Adapter LogonAs failed. &lt;BR&gt;&lt;BR&gt;Microsoft.Dynamics.BusinessConnectorNet.NoIISRightsException &lt;BR&gt;at Microsoft.Dynamics.BusinessConnectorNet.Axapta.Logon(BC_PROXY_ACCOUNT_INFO* pBCProxyAccountInfo, String company, String language, String objectServer, String configuration) &lt;BR&gt;at Microsoft.Dynamics.BusinessConnectorNet.Axapta.LogonUsingBCProxyAccount(_SEC_WINNT_AUTH_IDENTITY_W* pImpersonatedUserAccount, NetworkCredential bcProxyCredentials, String company, String language, String objectServer, String configuration) &lt;BR&gt;at Microsoft.Dynamics.BusinessConnectorNet.Axapta.LogonAs(String user, String domain, NetworkCredential bcProxyCredentials, String company, String language, String objectServer, String configuration) &lt;BR&gt;at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsAdapter.LogonAs(String user, String domain, NetworkCredential bcProxyCredentials, String company, String language, String objectServer, String configuration) &lt;BR&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;After further troubleshooting&amp;nbsp;we identified&amp;nbsp;that the user was not licensed&amp;nbsp;for the "Enterprise Portal Framework" module. SQL Reporting extensions and integration uses the .NET Business Connector (BC.NET) and BC.NET requires Enterprise Portal Framework license, even if you are not using Role Centers and Enterpise Portal. When the business connector connects to the AOS server if it does not find the license key, it throws the &lt;STRONG&gt;NoIISRightsException error message &lt;/STRONG&gt;as seen&amp;nbsp;in the event log. &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;To check whether you are licensed, run the Dynamics AX Client&amp;nbsp;and go to Administration -&amp;gt; Setup -&amp;gt; System Information -&amp;gt; License Information and click on the Web tab&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR&gt;For more info see &lt;A href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;931939" target=_blank mce_href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;931939"&gt;KB 931939&lt;/A&gt;, although written for AX 4.0 it is still applicable&lt;/DIV&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9897598" width="1" height="1"&gt;</content><author><name>EMEAAXTec</name><uri>http://blogs.msdn.com/members/EMEAAXTec.aspx</uri></author><category term="Role Center" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Role+Center/default.aspx" /><category term="Reporting" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Reporting/default.aspx" /><category term="AX 2009" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/AX+2009/default.aspx" /><category term="Solution" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Solution/default.aspx" /><category term="BC" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/BC/default.aspx" /></entry><entry><title>You get the following warning message in BizTalk Server 2006 R2/2009 - The message does not contain a body part</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/emeadaxsupport/archive/2009/09/17/when-consuming-an-ax-aif-response-message-after-a-successful-delete-or-update-action-you-get-the-following-warning-in-biztalk-server-2006-r2-2009-the-message-does-not-contain-a-body-part.aspx" /><id>http://blogs.msdn.com/emeadaxsupport/archive/2009/09/17/when-consuming-an-ax-aif-response-message-after-a-successful-delete-or-update-action-you-get-the-following-warning-in-biztalk-server-2006-r2-2009-the-message-does-not-contain-a-body-part.aspx</id><published>2009-09-17T13:53:00Z</published><updated>2009-09-17T13:53:00Z</updated><content type="html">&lt;P&gt;We came across an issue where you are using Microsoft Dynamics AX 2009 &lt;STRONG&gt;Asynchronous&lt;/STRONG&gt; BizTalk Adapter to receive response messages from AX 2009. After just having sent an&amp;nbsp;AIF UPDATE or DELETE&amp;nbsp;Action message to AX,&amp;nbsp;the BizTalk Server fails to consume the response message that is generated by AX. The receive location using the AX Adapter is using the default xml receive pipeline, and the "Pass Through" property of the adapter is set to 'False'&lt;/P&gt;
&lt;P&gt;You get the following error logged in the Application Event log on the BizTalk Server:&lt;/P&gt;
&lt;DIV style="COLOR: red; MARGIN-LEFT: 40px; MARGIN-RIGHT: 40px"&gt;
&lt;P&gt;Source:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BizTalk Server 2006 &lt;BR&gt;Event ID:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5740 &lt;BR&gt;Task Category: BizTalk Server 2006 &lt;BR&gt;Level:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Warning &lt;BR&gt;Description: &lt;BR&gt;The adapter "Microsoft Dynamics AX 2009" raised an error message. Details "The message does not contain a body part.". &lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;This error is "by-design", as the Response message generated after a successful UPDATE and DELETE AIF actions does not contain a message part. Here is a sample response message:&lt;/P&gt;
&lt;DIV style="PADDING-BOTTOM: 5px; BACKGROUND-COLOR: lightgray; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; FONT-FAMILY: Courier; FONT-SIZE: 8px; PADDING-TOP: 5px"&gt;&amp;lt;?xml version="1.0" encoding="utf-16"?&amp;gt;&lt;BR&gt;&amp;lt;Envelope xmlns="&lt;A href="http://schemas.microsoft.com/dynamics/2008/01/documents/Message" mce_href="http://schemas.microsoft.com/dynamics/2008/01/documents/Message"&gt;http://schemas.microsoft.com/dynamics/2008/01/documents/Message&lt;/A&gt;"&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;Header&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;MessageId&amp;gt;{F0FBBBBE-2231-4529-87BA-C5F69F0663F3}&amp;lt;/MessageId&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;SourceEndpoint&amp;gt;Default&amp;lt;/SourceEndpoint&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DestinationEndpoint&amp;gt;Default&amp;lt;/DestinationEndpoint&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Action&amp;gt;http://schemas.microsoft.com/dynamics/2008/01/services/SalesOrderService/delete&amp;lt;/Action&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;RequestMessageId&amp;gt;{64403E64-0FBA-429A-9431-41F4B5223949}&amp;lt;/RequestMessageId&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/Header&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;Body&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;MessageParts xmlns="&lt;A href="http://schemas.microsoft.com/dynamics/2008/01/documents/Message" mce_href="http://schemas.microsoft.com/dynamics/2008/01/documents/Message"&gt;http://schemas.microsoft.com/dynamics/2008/01/documents/Message&lt;/A&gt;" /&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/Body&amp;gt;&lt;BR&gt;&amp;lt;/Envelope&amp;gt;&lt;/DIV&gt;
&lt;P&gt;The AX adapter will strip out the message envelope when the pass through property is set to false, and xml receive pipeline will try to parse the message body, which is empty. BizTalk cannot deal with empty messages and hence raises a warning. &lt;/P&gt;
&lt;P&gt;Furthermore, because of the above error, the response message never gets consumed from the AIF Gateway Queue, keeping a permanent lock on the resource channel. Any other messages that are queued in the AIF Gateway Queue will&amp;nbsp;failed to be consumed and you get the following errors logged on the BizTalk server:&lt;/P&gt;
&lt;DIV style="COLOR: red; MARGIN-LEFT: 40px; MARGIN-RIGHT: 40px"&gt;
&lt;P&gt;"An X++ exception has occurred. Unable to lock resource channel '&amp;lt;ax channel name&amp;gt;'.". The source of the message is Microsoft Dynamics AX Business Connector. &lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR&gt;We were able to&amp;nbsp;workaround the issue so that the response message in the AX AIF Gateway queue does get consumed successfully by the BizTalk Adapter for AX (and hence release the resource channel lock), by implementing the following changes in our BizTalk solution:&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;We consumed the whole message envelope instead of stripping out the xml envelope. The promoted properties are specified in the header section of the message within the envelope, hence consuming the whole message, will still allow the routing of the message within BizTalk when using&amp;nbsp;the promoted properties. &lt;/LI&gt;
&lt;LI&gt;Furthermore since you can only have one receive location communicating to one AOS server, and hence&amp;nbsp;with the following changes to the BizTalk solution meant that you will always have to consume the full message including the&amp;nbsp;envelope and message headers&amp;nbsp;and not be able to just consume the message body: &lt;/LI&gt;&lt;/UL&gt;
&lt;P style="PADDING-BOTTOM: 5px; BACKGROUND-COLOR: lightgray; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; FONT-FAMILY: Courier; FONT-SIZE: 9px; PADDING-TOP: 5px"&gt;(1) In the properties of the&amp;nbsp;AX Adapter in the BizTalk receive location, Set the &lt;STRONG&gt;Pass Through&lt;/STRONG&gt; property value to '&lt;STRONG&gt;True&lt;/STRONG&gt;' &lt;/P&gt;
&lt;P style="PADDING-BOTTOM: 5px; BACKGROUND-COLOR: lightgray; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; FONT-FAMILY: Courier; FONT-SIZE: 9px; PADDING-TOP: 5px"&gt;(2) Create a new custom BizTalk receive pipeline, which contains the xml dissassembler pipeline component. In the properties of the pipeline component,&amp;nbsp;set the &lt;STRONG&gt;Document Schemas&lt;/STRONG&gt; (DocumentSpecNames) property&amp;nbsp;to use the "DynamicsAX5.Message+Envelope, Microsoft.Dynamics.BizTalk.Adapter.Schemas, Version 5.0.0.0..." Schema. However &lt;STRONG&gt;DO NOT SPECIFY&lt;/STRONG&gt; ANY schema for the &lt;STRONG&gt;Envelope Schemas&lt;/STRONG&gt; (EnvelopeSpecNames) property, leave it blank, this is essential.&lt;BR&gt;&lt;/P&gt;
&lt;P style="PADDING-BOTTOM: 5px; BACKGROUND-COLOR: lightgray; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; FONT-FAMILY: Courier; FONT-SIZE: 9px; PADDING-TOP: 5px"&gt;(3) Change all the receive shapes in the orchestration that receive messages from AX, such that the &lt;STRONG&gt;Message Type&lt;/STRONG&gt; is set to &lt;STRONG&gt;DynamicsAX5.Message.Envelope&lt;/STRONG&gt; schema. &lt;BR&gt;&lt;/P&gt;
&lt;P style="PADDING-BOTTOM: 5px; BACKGROUND-COLOR: lightgray; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; FONT-FAMILY: Courier; FONT-SIZE: 9px; PADDING-TOP: 5px"&gt;(4) Where you are using correlation for the request/response of AX messages, the &lt;STRONG&gt;Correlation Type&lt;/STRONG&gt; still needs to be set to &lt;STRONG&gt;DynamicsAx5.RequestMessageId&lt;/STRONG&gt; to correlate asynchronous solicit/response messages correctly.&lt;/P&gt;
&lt;P&gt;The above steps creates a subscription in BizTalk for where the message type is the DynamicsAX5.Message.Envelope and the BizTalk Adapter for AX consumes the message correctly (In this case it will be the whole message from AX including the envelope). Once the envelope is consumed, it will get routed to the orchestration instance based on the correlation setup on the RequestMessageId property. You can then use xpath statements to extract the message body or whatever data you need from the envelope.&lt;/P&gt;
&lt;P&gt;For example, in my sample code to extract the response message I received after a succesful AIF Delete Action I did the following: &lt;/P&gt;
&lt;P&gt;In my orchestration in BizTalk my response message gets assigned to a BizTalk Orchestration Message called SalesOrderDeleteResponseMsg. I created two variables called xmlResponseMsg of data type System.Xml.XmlDocument, and strResponse of data type string. I then used the following xpath statement in an Expression shape to extract the xml response message and assign it to xmlResponseMsg and then extract the content from the xml message and assign it to strResponse:&lt;/P&gt;
&lt;DIV style="PADDING-BOTTOM: 5px; BACKGROUND-COLOR: lightgray; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; FONT-FAMILY: Courier; PADDING-TOP: 5px"&gt;
&lt;P&gt;xmlResponseMsg = xpath(SalesOrderDeleteResponseMsg.ReturnValue,"/*[local-name()='Envelope' and namespace-uri()='http://schemas.microsoft.com/dynamics/2008/01/documents/Message']/*[local-name()='Body' and namespace-uri()='http://schemas.microsoft.com/dynamics/2008/01/documents/Message']/*[local-name()='MessageParts' and namespace-uri()='http://schemas.microsoft.com/dynamics/2008/01/documents/Message']");&lt;/P&gt;
&lt;P&gt;strResponse= xmlResponseMsg.OuterXml; &lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;NOTE: You will encounter a similar issue when using the Synchronous Adapter (by using the Solicit-Response port in an orchestration) and a workaround for this is detailed in the white paper: &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c06033bb-ba3a-4237-9ab8-d7b77c0439be" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c06033bb-ba3a-4237-9ab8-d7b77c0439be"&gt;Microsoft Dynamics AX 2009 White Paper: Application Integration Framework (AIF) BizTalk Adapter Configuration for Data Exchange, Part II&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9896287" width="1" height="1"&gt;</content><author><name>EMEAAXTec</name><uri>http://blogs.msdn.com/members/EMEAAXTec.aspx</uri></author><category term="AX 2009" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/AX+2009/default.aspx" /><category term="Solution" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Solution/default.aspx" /><category term="Locking and Blocking" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Locking+and+Blocking/default.aspx" /><category term="AIF" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/AIF/default.aspx" /><category term="BizTalk" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/BizTalk/default.aspx" /></entry><entry><title>How does the Export to Excel feature work under the hood?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/emeadaxsupport/archive/2009/09/07/how-does-the-export-to-excel-feature-work-under-the-hood.aspx" /><id>http://blogs.msdn.com/emeadaxsupport/archive/2009/09/07/how-does-the-export-to-excel-feature-work-under-the-hood.aspx</id><published>2009-09-07T13:21:00Z</published><updated>2009-09-07T13:21:00Z</updated><content type="html">&lt;P&gt;One of the nice features of Dynamics AX 2009 is the &lt;EM&gt;Export to Excel&lt;/EM&gt; that is available throughout the product and allows to content of a Grid to be exported to Microsoft Office Excel for further analysis. Sometimes however the feature does not work as expected. So for example Microsoft Office Excel is starting but the data from the Grid is not showing up. &lt;/P&gt;
&lt;P&gt;The &lt;EM&gt;Export to Excel &lt;/EM&gt;is not completely happening in the Dynamics AX Kernel but parts of the export logic are coded in X++:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;If you click at the button &lt;EM&gt;Export to Excel&lt;/EM&gt; in any Form, the Dynamics AX Kernel is generating the list of data to be exported. The Dynamics AX Kernel takes here&amp;nbsp;the formatted data as it is visible in the Grid.&lt;BR&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Next the Dynamics AX Kernel places this data in the &lt;EM&gt;Windows Clipboard&lt;/EM&gt;, while the currently existing content of the Windows Clipboard is backed up. &lt;BR&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Then the Dynamics AX Kernel calls the X++ method &lt;EM&gt;performPushAndFormatting &lt;/EM&gt;of the class &lt;EM&gt;SysGridExportToExcel&lt;/EM&gt;. This method is instantiating Microsoft Office Excel using COM, pasting the data from the Windows Clipboard and applies some formatting to the inserted data.&lt;BR&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;When the X++ part is finished the Dynamics AX Kernel places the original backed up content of the Windows Clipboard back.&lt;BR&gt;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;The &lt;EM&gt;Windows Clipboard&lt;/EM&gt; is playing a central role in the Export to Excel. Between the placing of the data in the Windows Clipboard and the retrieving of the data by Microsoft Office Excel several steps are happening. If for any reason the content of the Windows Clipboard is altered or replaced during this time the export will fail. &lt;/P&gt;
&lt;P&gt;One cause of problems can be Add-Ins for Microsoft Office Excel. Add-Ins are loaded when Microsoft Office Excel starts and can manipulate the content of the Windows Clipboard before Dynamics AX had any chance to paste the content at a worksheet. &lt;/P&gt;
&lt;P&gt;In order to find out what is happening during the export of data the&lt;EM&gt; Dynamics AX Debugger&lt;/EM&gt; can be of a great help. Simply by putting a breakpoint at the beginning of the method &lt;EM&gt;performPushAndFormatting &lt;/EM&gt;and checking the &lt;EM&gt;content of the Windows Clipboard &lt;/EM&gt;while executing line after line.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9892182" width="1" height="1"&gt;</content><author><name>EMEAAXTec</name><uri>http://blogs.msdn.com/members/EMEAAXTec.aspx</uri></author><category term="Client" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/Client/default.aspx" /><category term="AX 2009" scheme="http://blogs.msdn.com/emeadaxsupport/archive/tags/AX+2009/default.aspx" /></entry></feed>