[RESOLVED] failed due to the following error: 80070005 Access is denied.
Good Morning All
i have an asp.net hosted in IIS. that uses the Com library "Microsoft Word 14.0 Object Library". I am using this to convert the word Document to PDF, on my machine it works. I have Office 2010 on my machine and on the server we have installed Office 2011 too. but when i try to run my app on the server it gives me the Following error
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
i have given all the permissions to the aspnet user and other users full access but this does not work ,
Thanks
Re: failed due to the following error: 80070005 Access is denied.
It does definitely sound like a Security rights problem..
Remember that IIS has 3 different user account associated to it.. Also check what user the IIS Worker process is running under and be sure to give this account the relevant security rights...
Re: failed due to the following error: 80070005 Access is denied.
Ya i resolved it, it is a Problem on the Com Object. by default the ASPNET users does not have permissions to com, so i went to "Components"-->config... and i assign a User ASPNET with the permissions and the problem went away.
Re: failed due to the following error: 80070005 Access is denied.
Quote:
Originally Posted by
vuyiswam
Ya i resolved it, it is a Problem on the Com Object. by default the ASPNET users does not have permissions to com, so i went to "Components"-->config... and i assign a User ASPNET with the permissions and the problem went away.
Hi,
Can you provide the details about the steps "Components"-->config...
I am facing the similar issue with Task scheduler dlls.
Thanks
Suhas