Tuesday, March 04, 2014

IE : Can’t display IIS Failed Request Logs or http://127.0.0.1

Have you ever heard about IE Enhanced Protected Mode or Mark-of-the-Web (MOTW) ?

Well, if you encounter one of those problems you should :

  • Opening IIS Failed Request Logs files (XML+XSL) from you local machine with IE result in a text page without formatting.
  • Trying to access your local web server with the 127.0.0.1 ip (not localhost) or the real local ip of your computer with IE results in an error page.

You have to blame the IE Enhanced Protected Mode for those ‘problems’. Here’s two solutions :

1) Disable the Enhanced Protected Mode
  • Open Internet Options
  • click on the Advanced tab
  • Unselect ‘Enable Enhanced Protected Mode’ in the Security Section
  • Restart IE
2) Add you site to the Intranet Zone
  • Open Internet Option
  • Click on the Security tab
  • Select the Intranet zone
  • Click on the Sites button
  • Click on the Advanced button
  • Add the following address :
http://127.0.0.1 To allow access to your local web site
about:internet To allow access to file with a MOTW (ex: IIS Failed Request Logs)

Personally I prefer option 2.

References :