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 ,
vuyiswamb
18 Posts
failed due to the following error: 80070005 Access is denied.
Aug 17, 2011 05:02 AM|LINK
Good Morining 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
Uk-Sam
203 Posts
Re: failed due to the following error: 80070005 Access is denied.
Aug 17, 2011 08:46 AM|LINK
Create dedicated application pool for site and switch its identity to "Network Services" and "Network Services" this in ACL permission.
This should work.
gearrunr
3 Posts
Re: failed due to the following error: 80070005 Access is denied.
Jul 27, 2012 03:25 PM|LINK