This project has moved. For the latest updates, please go here.

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).

Nov 29, 2013 at 9:45 AM
Hi,

I am getting this error when I setup the ASP.NET project with NetOffice on server.
See the screenshot here: Image

I am using NetOffice tools to generate a password protected Excel file.

PLEASE HELP!
Jan 24, 2014 at 9:44 AM
Hi tempOrary.

I am facing same problem.
Have you solved it?

Regards.
Mar 18, 2014 at 9:55 PM
I have the same problem. Works ok on my computer, but throws that error on the server (2008 r2).
Coordinator
Mar 18, 2014 at 10:17 PM
this is a security issue(E_ACCESSDENIED). a system/network service has no permissions by default to use the desktop engine(or may not logged in)
solution1: give more permissions for your asp solution(not sure how its possible because i'm a proudly windows forms developer)
solution2: create an appdomain at hand with more permissions.
solution3: use the xml file format(since office2007) to create an office document without office(you find some great projects on codeplex to do this very easy)

*Sebastian
Mar 19, 2014 at 8:59 AM