Not working when deploy to server |
| Dapid Candra replied to Tushar Dabhi at 31-Mar-08 10:23 |
Hi,
This article is a very good one. I have tried the solution and successfully created excel with all things I wanted. Unfortunately, when I deploy to server (Win 2003), the Excel is running in background (on the server) and not sending anything to the client. I can see more Excel instances created if I push refresh button. What happen?
I came back and review your code again. I use Visual Web Developer 2005 express to try. Running on the ASP.NET development port 1294, seems fine. Everything running as expected. Pushing the "Export to XLS using Excel 11.0 Objects" opens an excel instances and generate the data and chart. This is on my localhost.
The directory of the project was set as virtual directory in IIS, so that the address was 'http://localhost/Excel/Reports.aspx'. Trying using VWD, the address was 'http://localhost:1294/Excel/Reports.aspx'. They're on same machine.
But when I access the reports.aspx using IIS (http://localhost/excel/reports.aspx), same thing happen, no excel instance come up, no file generated. I tried in my localhost (XP with IIS). Checking the task manager reveal same thing, excel instances are created but nothing happen and nothing sent back to client.
What's wrong? It's been two days, I can not figure out what is wrong. Please advice.
Thanks.
Dapid Candra
|
|