We have developed two projects WCF and ASP.net Website.The WCF service consists of code that performs excel generation it has something like
Excel.Application xlapp=new Excel.Application();
xlapp.visible=true;
//get data from dataset and process it and then write it to excel
This WCF service is hosted in my ASP.net website on a click button in web page
However when I run this service and asp.net on IIS 7 whole lot of error's are generated
few of the errors are as follows
Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005."
Then after giving permissions
Application. Microsoft Office Excel cannot open or save any more documents because
there is not enough available memory or disk space. • To make more memory available,
close workbooks or programs you no longer need. • To free disk space, delete files
you no longer need from the disk you are saving to
because of all these errors I am not able to run excel on IIS 7
I have tried all the methods right from Permissions to Authentication but it generates error I am running XP on my local machine and Win 7 on IIS machine (Is this the problem of WIN 7?)
also this link says Server side Office automation is not supported at all
Isnt there any simple approach to start excel in IIS 7 ?? Or may be I should call excel in my ASP.net website than the WCF service...
Thanks all