Interop service error when using InternetExplorerClass

I am trying to deploy an asp.net web service application for IIS 7.5. The application uses .Net framework 3.5. dev machine wins 7 64 bits. I used the following code snippet to create HTML and then converted it to pdf using Amyuni Document Converter 450.

private InternetExplorer internetExplorer = new InternetExplorerClass(); 

when I deploy the application on the local development server, it works fine, but when I deploy it using the local iis server, it gives the following error. any reasons for this .. i used impersonate = 'true'

 System.Runtime.InteropServices.COMException (0x80080005): Retrieving the COM class factory for component with CLSID {0002DF01-0000-0000-C000-000000000046} failed due to the following error: 80080005. 
+4
source share
1 answer

You need to change the property in DComConfig for ie. Follow these steps:

Start-> Run-> dcomcnfg-> Component Services> Computers> My Computer

Right-click on “My Computer” and select “Properties.” On the Security COM tab, set the default authentication level and default impersonation level.

+1
source

All Articles