Parwej
Parwej

Reputation: 590

Issue with Excel in IIS

I create excel file with chart and it's working on my local machine with VS inbuilt iis. But when I deployed it on hosting server it's not working. My environment is : -Win2K8 -IIS 7.0 -MS Office profession -PIA (2010 tried)

Very first time, I was getting error :

*Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE))*

After some configuration like Dconfig allowing access for Networking service and created desktop folder with full write permission to everyone but I din't got succeeded. Even now I am not getting any error but file is not opening (Excel and PPT). I check our custom application log and system log.

Please guide me why this happening?

Upvotes: 0

Views: 1789

Answers (1)

Katie Kilian
Katie Kilian

Reputation: 6983

Use Office Open XML to create your files instead of automation. There are several libraries out there that will help you build Excel files. I personally use EPPlus and think it's pretty decent.

Upvotes: 1

Related Questions