Click here to Skip to main content
13,195,564 members (63,241 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Dear Friends.,

I created excel file and export that file at local(before deploy iis )its working fine..

When i deploy the same code at iis 6.0 and framework 3.5.. i got error at

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

how to resolve this..

Note: i already gave dcomcnfg-->component service, excel-->security tab and allow permissions are provided.. pls inform any other solutions..

advance thanks

Posted 18-Dec-12 1:36am
ryanb31 18-Dec-12 7:45am
Without seeing your code it appears that you are using the Excel dll to create the file? If so, is it on the server?
angappans 18-Dec-12 23:56pm
Dear Sir.,
Yes I used excel dll(Interop.Excel.dll).. and it's on available at server also..
One major difference is i am using window xp and iis 5.2 coding work fine..
but windows 7 os and iis 6 version coding not working
if you have any idea about this pls inform me..

Advance thanks..

Thanks and regards
ryanb31 19-Dec-12 7:40am
I know you said you did the dcom,, but did you add the right account? You need to see which account is running the app pool that your site is in. Go into IIS, application pools, and look at the identity for the app pool.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.171019.1 | Last Updated 18 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100