Last post May 02, 2017 08:14 AM by Eric Du
Apr 29, 2017 11:13 AM|radhekrishna|LINK
I have written a code to save MS word into a folder. Its working fine when I debug using Visual Studio. But if publish those file in IIS and hosted I am getting below error.
Apr 29, 2017 05:12 PM|kaushalparik27|LINK
Try following solution:
May 02, 2017 08:14 AM|Eric Du|LINK
After read this error message, I searched some information about this error message. I think it is related to the permission of the IIS.
You could try run the application pool in suitable user(system user). Or you will get the complete solution in the second link.
Here are someone who meet the similar problem as you, please check:
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
“Retrieving the COM class factory for component… error: 80070005 Access is denied.” (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)):