Search code examples
winformsvisual-studio-2005

VS2005 Winforms Designer Exception Screen and IE8


It seems since I installed Internet Explorer V8 that my Winforms Designer Exception screen (WSOD) is broken. Where before I would get red text with the error described, today I get this:

WSOD Broken http://faxt.com/images/WSODBroken.png

Can anyone suggest to me a way to recover the text view of this display, I'm wasting time trying to read the reason the Winform file won't display in the designer now. Thank-you.


Solution

  • 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)