{"id":1473,"date":"2008-06-13T09:50:00","date_gmt":"2008-06-13T09:50:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/cesardelatorre\/2008\/06\/13\/installing-dynamics-ax-2009-aif-application-integration-framework-on-a-windows-server-2008-dc-domain-controller\/"},"modified":"2008-06-13T09:50:00","modified_gmt":"2008-06-13T09:50:00","slug":"installing-dynamics-ax-2009-aif-application-integration-framework-on-a-windows-server-2008-dc-domain-controller","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/installing-dynamics-ax-2009-aif-application-integration-framework-on-a-windows-server-2008-dc-domain-controller\/","title":{"rendered":"Installing Dynamics AX 2009 AIF (Application Integration Framework) on a Windows Server 2008 DC (Domain Controller)"},"content":{"rendered":"<p><P>When installing AIF on a Dynamics AX 2009 server which is also a DC (Domain Controller), you gotta be careful, because, there are several issues regarding that.<\/P>\n<P>This scenario shouldn&#8217;t be common in a production environment, but, it is indeed quite common in a demo Virtual PC machine, where you have &#8220;everything in a box&#8221;&#8230;<\/P>\n<P>So!, if you try to install AIF (AX 2009) and you get the following error:<\/P>\n<P>&#8220;Setup was not completed&#8221;, AIF Web Services Error:<\/P>\n<P><A href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/32\/2019\/03\/image_2.png\"><IMG height=\"514\" alt=\"image\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/32\/2019\/03\/image_thumb.png\" width=\"610\" border=\"0\"><\/A>&nbsp; <\/P>\n<P>And then you drill down looking for the error in the LOG file:<\/P>\n<P>&#8220;The input parameters to this method are: &#8216;MicrosoftDynamicsAXAif50&#8217; <BR>&nbsp;&nbsp;&nbsp; Leaving method DeleteAppPool <BR>&nbsp;&nbsp;&nbsp; Leaving method Deconfigure <BR>&nbsp;&nbsp;&nbsp; The return value from this method is &#8216;None&#8217;. <BR>&nbsp;&nbsp;&nbsp; Leaving method Configure <BR><STRONG>An error occurred during setup of AIF Web services. <BR>Reason: Exception has been thrown by the target of an invocation<\/STRONG>. <BR>Restarting IIS&#8221;<\/P>\n<P>But that is not very descriptive..<\/P>\n<P>So, the problem is regarding the AOS Service account, which by default is usually&#8221;NT AUTHORITY\\NETWORK SERVICE&#8221; account, but because of we are running on a DC Server, we should use any specific Domain account created just for running AOS services (be sure you grant required permissions to that domain account). If you change it, then you&#8217;ll success installing AIF in AX 2009!. \ud83d\ude42 <\/P><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When installing AIF on a Dynamics AX 2009 server which is also a DC (Domain Controller), you gotta be careful, because, there are several issues regarding that. This scenario shouldn&#8217;t be common in a production environment, but, it is indeed quite common in a demo Virtual PC machine, where you have &#8220;everything in a box&#8221;&#8230; [&hellip;]<\/p>\n","protected":false},"author":362,"featured_media":12806,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[13],"class_list":["post-1473","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cesardelatorre","tag-aif"],"acf":[],"blog_post_summary":"<p>When installing AIF on a Dynamics AX 2009 server which is also a DC (Domain Controller), you gotta be careful, because, there are several issues regarding that. This scenario shouldn&#8217;t be common in a production environment, but, it is indeed quite common in a demo Virtual PC machine, where you have &#8220;everything in a box&#8221;&#8230; [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/posts\/1473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/users\/362"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/comments?post=1473"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/posts\/1473\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/media\/12806"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/media?parent=1473"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/categories?post=1473"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/tags?post=1473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}