Click here to Skip to main content
15,902,938 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I have developed one WCF service and one of the method of service is using COM component but when this method tries to create instance of COM then it returns below error:

"Creating an instance of the COM component with CLSID {D64DB4A9-3B26-4D2B-B556-9DA433C54175} from the IClassFactory failed due to the following error: 80070005"

what permissions I need to set and where?

Thanks
Posted
Updated 24-Aug-11 23:32pm
v2

I found this with google:

You may need to set launch permission to the com component for the windows user the apppool is running as in IIS. You can do it by running: dcomcnfg

and...

And set file permissions so the user can read the COM dll file.

Also check the COM's registration to see if the COM server supports being called in an MTA thread. Most COM servers requires STA which is not suitable for the MTA threads created by web services.
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900