Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP / Excel Problem

Status
Not open for further replies.

cLFlaVA

Programmer
Jun 14, 2004
6,450
US
Hi all,

I am generating output in Excel using this line in ASP:

Code:
Response.ContentType = "application/vnd.ms-excel"

sometimes, when i run this report, i get the following popup (alert) message:

Code:
Could not open '[URL unfurl="true"]http://......./page.asp'[/URL]

and then another popup (alert) message:

Code:
Microsoft Office Excel cannot access the file '[URL unfurl="true"]http://......./page.asp'.[/URL]  There are several possible reasons:

* The file name or path does not exist.
* The file is being used by another program.
* The workbook you are trying to save has the same name as a currently open workbook.

Other times, however, it works.

Has anyone seen this before, and, do you know of a work-around or fix?

thanks.

cory



*cLFlaVA
----------------------------
[tt]mr. pibb + red vines = crazy delicious![/tt]

[URL unfurl="true"]http://www.coryarthus.com/[/url]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top