Visual Studio xml formatting error “an error occurred loading this property page”

I using VS2008 and got error xml. After that I can’t read web.config (so bad) and go to Option –> Text Editor –> XML –> Formatting got a bad message “an error occurred loading this property page

And Google’s time…. i searched solution for that. Search with keyword “vs 2008 option xml formatting error

To fix this issue need to do:

Step 1: Open cmd “Run –> cmd”

Step 2: Go to the path:

–          VS2005: “C:\Program Files\Microsoft Visual Studio 8\VC\”

–          VS2008: “C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\”

Step 3: Typing magic command:

devenv /setup

Step 4: Wait…wait…it take one or two minutes

Step 5: Open VS again and look the nice result.

7 thoughts on “Visual Studio xml formatting error “an error occurred loading this property page”

  1. Great!! awesome, It worked me too. I had a problem with TFS power tools not loading up and i couldn’t choose the tfs plugin in the tools –> options–> source control, after i did this i was able to select the tfs source control…. Thanks a million. Good work keep it up…

  2. Ensure that the cmd promt is running as administrator.

    To Do so, go to Start–>All Programs–>Accesssories–> Command Promt, Right Click and select Run as Administrator.

    Else it may give following error message:

    “The operation could not be completed. The requested operation requires elevation”

Leave a comment