Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.

Monday, 13 February 2012

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.


Go to the Start-Run menu item.
Type in "DCOMCNFG" and hit enter.
This should load the "Component Services"
Expand "Component Services"
Expand "Computers"
Expand "My Computer"
Select the "DCOM Config" item
Select the "Microsoft Excel Application" item.
Right click and select Properties
Select the Security Tab and you should see the following:

Now change as following blue area in below picture:



Now add the below key:
(1) ASPNET object
(2) NETWOK SERVICES object

Local Launch         : Allow
Remote Launch        : [blank]
Local Activation     : Allow
Remote Activation    : [blank]


Click the OK button and test your web application again and it should work fine.

Note:This error occuurs due to below setting in IIS Server.





No comments:

Post a Comment