Solved

ASP IIS JPG Stream - IE ok Chrome not

Posted on 2010-08-16
2
367 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Google Tag Manager - Add Trigger Using Div class 22 95
ASP Classic - Read XML File inner content 10 69
Boolean 13 44
CSS styling problem 3 21
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
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.

738 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