VS2005 Winforms Designer Exception Screen and IE8

I was able to fix this by adding a new subkey to the registry for .tmp and copying settings from .html. After these changes have been made, designer errors in Visual Studio should be rendered instead of displaying the HTML code for the error.

  • Open HKEY_LOCAL_MACHINE\SOFTWARE\Classes and add a new subkey of type .tmp.
  • Change the data of the (Default) value to: htmlfile
  • Add a new string value of Content Type with data of text/html
  • Add a new string value of PerceivedType with data of text

alt text
(source: lazypenguin.com)