Thursday, May 7, 2009

Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

We got this error while deploying webpart on my sharepoint portal..

So We found the below solution. it worked for us....

  • Run dcomcnfg to bring up Component Services window.
  • Expand Component Services > Computers > My Computer > DCOM Config
  • Scroll down list, right click Windows Management and Instrumentation, and select properties. A 5 tabbed window named Windows Management and Instrumentation Properties should be displayed.
  • Select the Security tab, then select radio buttons which activate the Edit... buttons.
  • Add the ASPNET account.
  • Reboot.

No comments:

Post a Comment