IE seeing CSV file as html file?

C

chibianh

We have these reports we must view and they're in csv format. However,
everytime I click on the link, it generates the csv file, then IE asks
if I want to open or save it. If i choose open, it opens it in IE as
text. Excel isn't even embedded. If I choose Save, it'll save it as
an html file. Here's a link to see what I mean.

http://img459.imageshack.us/img459/5470/csvproblemju8.jpg

All I want to do is save or open the csv file in Excel. I've double
checked the file associations and stuff and read through several
threads suggesting to do so. Nothing has worked. Hopefully, someone
can help me figure this out. Thanks!
 
D

Daniel Crichton

We have these reports we must view and they're in csv format. However,
everytime I click on the link, it generates the csv file, then IE asks
if I want to open or save it. If i choose open, it opens it in IE as
text. Excel isn't even embedded. If I choose Save, it'll save it as
an html file. Here's a link to see what I mean.

http://img459.imageshack.us/img459/5470/csvproblemju8.jpg

All I want to do is save or open the csv file in Excel. I've double
checked the file associations and stuff and read through several
threads suggesting to do so. Nothing has worked. Hopefully, someone
can help me figure this out. Thanks!

Get the person who administers the download.asp page to add in the
appropriate Content-Type and Content-Disposition headers so that IE can deal
with the file correctly. It's assuming it's HTML because currently the ASP
page is returning a Content-Type: text/html header.

Dan
 
C

chibianh

Thanks Daniel for the response. I'll go ahead and inform the web
admin. As for the Microsoft article, I've already tried that and it
hadn't worked. Strange though, between the 3 machines that I've tried
to download this csv file, the XP and SErver 2003 machine will display
it as html, while the 2000 server machine reads it as a csv file and
opens it in Excel. All are running Office 2003.

Anyways, I'll let you know how it goes.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top