Hi All,
I have an asp page with Response.ContentType = "application/vnd.ms-excel" at the top. This makes Excel open INSIDE the browser window. Trouble is, when my db query takes longer than 30 seconds, the error comes up titled Microsoft Excel, that says "Could not open then the path...". If I shorten the query, so it returns data in less than 30 seconds, everything is fine.
The query does NOT have any errors, as it will open fine if I eliminate the Response.ContentType = "application/vnd.ms-excel" command. I've already added Server.ScriptTimeout=240. What I think is necessary is some way to tell Excel to wait longer before timing out. Any ideas would be appreciated.
Thanks,
Paul
I have an asp page with Response.ContentType = "application/vnd.ms-excel" at the top. This makes Excel open INSIDE the browser window. Trouble is, when my db query takes longer than 30 seconds, the error comes up titled Microsoft Excel, that says "Could not open then the path...". If I shorten the query, so it returns data in less than 30 seconds, everything is fine.
The query does NOT have any errors, as it will open fine if I eliminate the Response.ContentType = "application/vnd.ms-excel" command. I've already added Server.ScriptTimeout=240. What I think is necessary is some way to tell Excel to wait longer before timing out. Any ideas would be appreciated.
Thanks,
Paul