cancel
Showing results for 
Search instead for 
Did you mean: 

Content type when exporting report to CSV

06-26-2012 12:21 AM
ray_novak Participant
227 views 1 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

I use ExportFormatType.CharacterSeparatedValues and ExportToHttpResponse() to export reports to csv. The content type sent to the browser is "text/download" which is not valid. It should be "text/csv".

Some of my users have reported that when trying to download, they never see the open/save dialog box in their browser, and therefore, they can't access the file. I am not certain that it is the content type causing this, but in other areas of my site, where I provide csv downloads which are not generated by crystal (and I use the correct content type) the downloads are successful.

I believe this is a bug which should be fixed, but I have no idea where to submit a bug report.

For now, I am going to try using ExportToStream() and set the proper content type myself.

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

0 Likes

Moved to .NET SDK forum

Answers (0)