Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Oct 12, 2009 06:59 PM|LINK
hi, I tried that and this created the same type of error as my last post suggest when i replace the
FileStream stream = File.OpenRead(@"c:\BK2.jpg");
WebOperationContext.Current.OutgoingResponse.ContentType = "image/jpeg";
return stream as Stream;
I believe wat you suggest and what i have written above create the same situation. I have tried both the codes and now I am not able to see any output in the internet explorer. It says "internet Explorer cannot display the page" and therefore i opened Fiddler and wanted to verify . Fiddler gave me a response
Http 307 as the result which i found out as a redirection error.
I am lost. I thought my code was a simple one to merely display an image from the hard disk on the webpage.
Any Help would be sincerely appreciated.