I m getting error as server error in my application
my error is
Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.
Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Renish Patel160 reputationPosted Jul 31, 2013, 11:30 PM EDT
May be you have problem related to permission,so for that do this...
Solution 1)
NETWORK SERVICES locks the excel file the moment it is created and this creates opening, and deleting the excel file impossible.
you have to add this for it..
Solution 2)
http://technoblogy.net/retrieving-the-com-class-factory-for-component-with-clsid-00024500-0000-0000-c000-000000000046-failed-due-to-the-following-error-80040154/
Manj N144 reputationPosted Aug 1, 2013, 1:32 AM EDT
in solution 2,
when i open DCOM Confog that does not contain microsoft excel application..
in solution 1..
where should i add xlapp.quit()?