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
Solved

ASP IIS JPG Stream - IE ok Chrome not

Posted on 2010-08-16
2
365 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:upgraders
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:upgraders
ID: 33446198
Sweet... thanks!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Writing lines of code from a form output in script within a results page 2 23
Hide cell in a table 2 27
Alert after MVC form submitted 1 22
Code Manager | Snippits 2 36
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

839 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