
I am running dynamics ax 2012 r2 (CU6) in a standalone environment. Its a Microsoft demo vm (Contoso) and it is also a DC for that reason. Initially the problem was that I could not see any content (.svc for deployed services) except the bin folfer and the web.config in the MIcrosoftDynamicsAXAif50 virtual directory installed in the IIS (Path: Default Web Site > MicrosoftDynamicsAXAif60) . And there was no way I was getting satisfied that with my custom service is installed / exposed at IIS so that I can distribute it to partners. So I decided to uninstall it and re install it to reconfigure the same.
The initial problem is also mentioned (not answered) here: https://community.dynamics.com/ax/f/33/t/83127.aspx
Nothing special in the event log at all. The installation log file excerpt is provided below,
Cannot install the aif web services on IIS The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. (Exception from HRESULT: 0x80070422) 2013-11-16 23:57:51Z
****************************************************************************************************** 2013-11-16 23:57:51Z ****************************************************************************************************** 2013-11-16 23:57:51Z System.Runtime.InteropServices.COMException (0x80070422): The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. (Exception from HRESULT: 0x80070422) 2013-11-16 23:57:51Z at WUApiLib.UpdateServiceManagerClass.QueryServiceRegistration(String ServiceID) 2013-11-16 23:57:51Z at Microsoft.Dynamics.Setup.MuApiWrapper.IsMachineAlredyOptedIntoMU() 2013-11-16 23:57:51Z at Microsoft.Dynamics.Setup.Support.SetupQueue.MsiInstallationClass.SearchDownloadInstallMicrosoftUpdates(String executionName) 2013-11-16 23:57:51Z at Microsoft.Dynamics.Setup.Support.SetupQueue.ComponentsInstaller.PerformWork() 2013-11-16 23:57:51Z at Microsoft.Dynamics.Setup.Support.SetupQueue.InstallationClass.DoWork(Object sender, DoWorkEventArgs e) 2013-11-16 23:57:51Z at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
*This post is locked for comments
I have the same question (0)Ok got it, its the windows update service which was disabled, enabled it and the error resolved.