Skip to content

Obviate.io

To anticipate and prevent

  • Home
  • About Us
  • History
  • Privacy Policy
  • Toggle search form

Solution for Blank HTML Pages on Windows Server 2008 R2 IIS

Posted on 2011-08-25 By John No Comments on Solution for Blank HTML Pages on Windows Server 2008 R2 IIS

Recently, at work I was presented with an odd error. A newly imaged Virtual Machine with Windows Server 2008 R2 was showing blank pages when the customer was trying to access any HTML page. During our debug process we found that the machine showed the same source anytime we tried to access any files (images, HTML files, no extension HTML files, etc). That source is as follows:

`<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”>

`

After much contempt of Microsoft products, we determined that the access to static content was disabled.

How to Enable Static Content feature on Windows Server 2008:

  1. Open Server Manager, and then expand Roles.
  2. Right-click Web Server (IIS), and then click Add Role Services.
  3. Under Web Server, click to select the “Static Content” check box.
  4. Click Next to complete the installation.
  5. Start > Run > iisreset

After enabling it (and running iisreset) we were able to access our pages and there was much rejoicing. The original source was Microsoft KBA 2196177.

Windows Tags:windows server 2008, windows server 2008 r2

Post navigation

Previous Post: Amazon ElastiCache – Underwhelmed?
Next Post: Configuring MediaWiki to use external SMTP

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

August 2011
S M T W T F S
 123456
78910111213
14151617181920
21222324252627
28293031  
« Jul   Sep »

Copyright © 2022 Obviate.io

Powered by PressBook Premium theme