Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: IIS6 VB.NET
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 18-Dec-12 2:36am
Comments
ryanb31 at 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 at 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
ryanb31 at 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)



Advertise | Privacy | Mobile
Web02 | 2.8.1411022.1 | Last Updated 18 Dec 2012
Copyright © CodeProject, 1999-2014
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