web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Installing AIF web services on IIS gives error "The service cannot be started, either because it is disabled or because it has no enabled devices associated with it"

(0) ShareShare
ReportReport
Posted on by 844

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)
  • Verified answer
    Maqk Profile Picture
    844 on at

    Ok got it, its the windows update service which was disabled, enabled it and the error resolved.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Sukrut Parab Profile Picture

Sukrut Parab 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans