Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) when try to setup report service

Posted on by 757

Dear All

I'am trying to install Report Service for ax 2012 and this is the log file

I try to install using PowerShell also but without any result

any idea how to solve this issue

2017-01-01 14:33:13Z Component installation task stopped due to an error.

2017-01-01 14:33:13Z ******************************************************************************************************
2017-01-01 14:33:13Z ******************************************************************************************************

2017-01-01 14:33:13Z Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

2017-01-01 14:33:13Z ******************************************************************************************************
2017-01-01 14:33:13Z ******************************************************************************************************

2017-01-01 14:33:13Z System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
2017-01-01 14:33:13Z    at WUApiLib.UpdateServiceManagerClass.QueryServiceRegistration(String ServiceID)
2017-01-01 14:33:13Z    at Microsoft.Dynamics.Setup.MuApiWrapper.IsMachineAlredyOptedIntoMU()
2017-01-01 14:33:13Z    at Microsoft.Dynamics.Setup.Support.SetupQueue.MsiInstallationClass.SearchDownloadInstallMicrosoftUpdates(String executionName)
2017-01-01 14:33:13Z    at Microsoft.Dynamics.Setup.Support.SetupQueue.ComponentsInstaller.PerformWork()
2017-01-01 14:33:13Z    at Microsoft.Dynamics.Setup.Support.SetupQueue.InstallationClass.DoWork(Object sender, DoWorkEventArgs e)
2017-01-01 14:33:13Z    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

*This post is locked for comments

  • Suggested answer
    A.Prasanna Profile Picture
    A.Prasanna 8,161 on at
    RE: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) when try to setup report service

    It's seems to , the account which you try to use as Service account , does not have logon rights to SQL .Check whether the account exist inside SQL under Security .

    thanks & Regards,

    Amith Prasanna

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,253 Super User 2024 Season 2 on at
    RE: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) when try to setup report service

    Hi Atef,

    You can review the Microsoft Dynamics Installation guide for security pre-requisites. It is failing because of missing permissions. Did you start power shell with elevated administrator rights (run as administrator)?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans