Solved

ASP IIS JPG Stream - IE ok Chrome not

Posted on 2010-08-16
2
368 Views
Last Modified: 2012-05-10
http://www.miamiconservancy.org/Water_Data/Alert/PrecipDataDisplay.asp?Duration=Daily&SensorID=5000&datestart=7/17/2010 8:00:00 AM&dateend=8/16/2010 8:00:00 AM

If you view this in Explore it shows a graph,  if you try this same link in Firefox or Chrome, you get garbage.  This is just a JPG stream using a TeeChart component.

any ideas since this looks like a Browser issue?
0
Comment
Question by:Jason Jones
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 28

Accepted Solution

by:
sybe earned 500 total points
ID: 33446138
Response.ContentType = "image/jpg"

Because now it is send as "text/html" and browsers interpret it like HTML. IE has a mechanism that defines the contenttype based on the content.
0
 
LVL 1

Author Comment

by:Jason Jones
ID: 33446198
Sweet... thanks!
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This video teaches users how to migrate an existing Wordpress website to a new domain.

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question