Very odd problem and I can't work out the cause.
I have a method that creates and image of a .net Chart Object, converts it to a base64 string and spits it out to the browser (via a web service/JSON string). Every thing was peachy until one of my testers started noticing that *some* graphs were not being rendered by IE.
Here is the code that generates the Base64 string - please note that this is working just fine. All *modern* browsers are consuming this just fine:
Dim imageStream As New System.IO.MemoryStream()
result.ImageString = Convert.ToBase64String(imageStream.ToArray())
"result" is a generic List(of ) that contains a string object called ImageString.
I've attached an HTML that contains the resulting Base64 strings added to an img tag (<img src="data:image/png;base64
If you open that file in IE9, FF, Chrome, and Safari, both of the images display. IE8 chokes on the first one. I'm in a corporate environment where IE8 is the forced standard.
Any insight would be greatly appreciated.