I had the same error when I deployed my app. I’ve got solution from this site: Component with CLSID XXX failed due to the following error: 80070005 Access is denied
Here is this solution:
-
In DCOMCNFG, right click on the My Computer and select properties.
-
Choose the COM Securities tab.
-
In Access Permissions, click Edit Defaults and add Network Service to it and give it Allow local access permission. Do the same for < Machine_name >\Users.
-
In Launch and Activation Permissions, click Edit Defaults and add Network Service to it and give it Local launch and Local Activation permission. Do the same for < Machine_name >\Users.
*I used forms authentication.