My script is generating a simple CSV file (relevant code below). Everything works great in Firefox. When the script is run in the browser, it automatically generates the CSV and allows user to Open directly in to Excel.
In IE, when opening the CSV file, the user is greeted with this error message:
The client will be using IE so I'm trying to figure out how to fix this. Anybody have any ideas? Much appreciated!!
Code:<% response.ContentType="application/octet-stream" Response.AddHeader "content-disposition","attachment; filename=busCards.csv" Dim Spreadsheet Spreadsheet = Request.Form("csv_text") Response.write Spreadsheet Response.End() %>