Click here to Skip to main content
15,943,061 members
Please Sign up or sign in to vote.
1.00/5 (1 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

By
Angappan.S
Posted
Comments
ZurdoDev 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..

By
Thanks and regards
Angappan.S
ZurdoDev 19-Dec-12 7:40am    
I know you said you did the dcom, http://forums.asp.net/t/1303594.aspx, 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)



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