Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6136737
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:38:21+00:00 2026-05-23T17:38:21+00:00

I have an html file stored in my SQL database as binary. The html

  • 0

I have an html file stored in my SQL database as binary. The html contains image directories, and the images are stored in those directories on the server.

Chrome, Safari, Firefox, IE7, and IE8 all display the images and html text, but IE9 just displays the html text and the words ‘bitmap’ in place of the images.

This code outputs the html:

Response.Clear();
Response.CacheControl = "no-cache";
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetValidUntilExpires(false);
Response.ExpiresAbsolute = DateTime.Parse("1/1/2000");
Response.Expires = 0;
b = Compression.DeCompressByteArray(b);
Response.OutputStream.Write(b, 0, b.Length);
Response.End();

This is just a snippet showing the main output procedure.

Copying the image directories from the output html and placing it in my address bar opens the images, but IE9 doesn’t want to display them inside the html and instead displays the word ‘bitmap’

Furthermore:

  • The html(and images) output from SQL,
    when run as a standalone html works
    on all browsers.
  • The images do display in IE9 when
    embed, if I have compatibility
    mode on (but that breaks other
    stuff).
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T17:38:22+00:00Added an answer on May 23, 2026 at 5:38 pm

    To answer this question:

    The html streamed from my SQL Server doesn’t define a doctype and is therefore run in Quirks Mode in IE8 down. IE9 forces an iframe without a doctype to use the doctype of it’s parent.

    The html is from the output of excel which doesn’t produce a doctype when published.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an image stored in sql server. I want to retrieve the image
I have a html file that contains urls that start with ftps, http, https,
In firefox I have opened a locally stored file with the file:// protocol (file:///c:/temp/foo.html)
I have a HTML page which contains users data and the data is stored
I have a HTML file that contains only the basic elements (html, head, body,
I setup a Openfire server with external MySQL database using the openfire_mysql.sql file from
I have a html file stored in my assets folder say /assets/something.html. Now I
I have html-file. I have to replace all text between this: [%anytext%]. As I
I have a HTML file that has code similar to the following. <table> <tr>
I have an html file saved in gzip format. The browser displays the html

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.