{"id":76,"date":"2012-04-05T19:24:05","date_gmt":"2012-04-05T18:24:05","guid":{"rendered":"http:\/\/www.darrencoupland.com\/blog\/?p=76"},"modified":"2012-08-13T22:45:08","modified_gmt":"2012-08-13T21:45:08","slug":"dynamics-ax-2009-components-are-installed-into-an-incorrect-directory-and-the-install-fails","status":"publish","type":"post","link":"https:\/\/www.darrencoupland.com\/blog\/2012\/04\/dynamics-ax-2009-components-are-installed-into-an-incorrect-directory-and-the-install-fails\/","title":{"rendered":"Dynamics AX 2009 components are installed into an incorrect directory and the install fails"},"content":{"rendered":"<p>I recently encountered an issue when installing a 2nd AOS on a server that it failed to install correctly.\u00a0 The components were attempting to install into an incorrect directory, therefore the install failed as it was unable to register the service correctly.<\/p>\n<p>You may see the following error message within the &#8220;<strong>DynamicsSetupLog.txt&#8221; <\/strong>install log.<\/p>\n<pre>AOS.1: Regasm C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\regasm.exe   &quot;C:\\Program Files\\Microsoft Dynamics AX\\50\\Server\\Server\\LiveAOS02\\Bin\\Microsoft.Dynamics.IntegrationFramework.dll&quot;\r\nRegAsm : error RA0000 : Unable to locate input assembly &#039;C:\\Program Files\\Microsoft Dynamics AX\\50\\Server\\Server\\LiveAOS02\\Bin\\Microsoft.Dynamics.IntegrationFramework.dll&#039; or one of its dependencies.\r\n\r\nAn error occurred during setup of Application Object Server (AOS).\r\nReason: Error unregistering  Microsoft.Dynamics.IntegrationFramework.dll. Program run: C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\regasm.exe.  Parms: &quot;C:\\Program Files\\Microsoft Dynamics AX\\50\\Server\\Server\\LiveAOS02\\Bin\\Microsoft.Dynamics.IntegrationFramework.dll&quot; \/unregister<\/pre>\n<p>As you can see it&#8217;s attempting to install the AOS into an incorrect directory namely:<\/p>\n<pre>C:\\Program Files\\Microsoft Dynamics AX\\50\\Server\\Server\\<\/pre>\n<p>The correct folder is:<\/p>\n<pre>C:\\Program Files\\Microsoft Dynamics AX\\50\\Server\\<\/pre>\n<p>A hotfix exists to resolve this issue it can be download from Customer Source here:\u00a0<a href=\"https:\/\/mbs2.microsoft.com\/Knowledgebase\/KBDisplay.aspx?scid=kb;en-us;959494\" target=\"_blank\">https:\/\/mbs2.microsoft.com\/Knowledgebase\/KBDisplay.aspx?scid=kb;en-us;959494<\/a><\/p>\n<p>View the knowledge base article on the MS Support site here: \u00a0<a href=\"http:\/\/support.microsoft.com\/kb\/959494\/en-us\" target=\"_blank\">http:\/\/support.microsoft.com\/kb\/959494\/en-us<\/a><\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>I recently encountered an issue when installing a 2nd AOS on a server that it failed to install correctly.  The components were attempting to install into an incorrect directory, therefore the install failed as it was unable to register the service correctly.<\/p>\n<p>You may see the following error message within the &#8220;DynamicsSetupLog.txt&#8221; install log.<\/p>\n<p>AOS.1: Regasm C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\regasm.exe   &#8220;C:\\Program Files\\Microsoft Dynamics AX\\50\\Server\\Server\\LiveAOS02\\Bin\\Microsoft.Dynamics.IntegrationFramework.dll&#8221;<br \/>\nRegAsm : error RA0000 : Unable to locate input assembly &#8216;C:\\Program Files\\Microsoft Dynamics AX\\50\\Server\\Server\\LiveAOS02\\Bin\\Microsoft.Dynamics.IntegrationFramework.dll&#8217; or one of its dependencies.<\/p>\n<p>An error occurred during setup of Application Object Server (AOS).<br \/>\nReason: Error unregistering  Microsoft.Dynamics.IntegrationFramework.dll. Program run: C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\regasm.exe.  Parms: &#8220;C:\\Program Files\\Microsoft Dynamics AX\\50\\Server\\Server\\LiveAOS02\\Bin\\Microsoft.Dynamics.IntegrationFramework.dll&#8221; \/unregister<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3],"tags":[29,8,59],"class_list":["post-76","post","type-post","status-publish","format-standard","hentry","category-dynamics-ax-2009","tag-administration","tag-ax2009","tag-dynamics-ax-2009"],"_links":{"self":[{"href":"https:\/\/www.darrencoupland.com\/blog\/wp-json\/wp\/v2\/posts\/76","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.darrencoupland.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.darrencoupland.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.darrencoupland.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.darrencoupland.com\/blog\/wp-json\/wp\/v2\/comments?post=76"}],"version-history":[{"count":0,"href":"https:\/\/www.darrencoupland.com\/blog\/wp-json\/wp\/v2\/posts\/76\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.darrencoupland.com\/blog\/wp-json\/wp\/v2\/media?parent=76"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.darrencoupland.com\/blog\/wp-json\/wp\/v2\/categories?post=76"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.darrencoupland.com\/blog\/wp-json\/wp\/v2\/tags?post=76"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}