André Carlucci

Skeptic .net development

Error number “is not a valid value for property ‘Height'” opening Visual Studio

Today I tried to open Visual Studio and got this error:

It’s not the first time I get this error and it’s probably related to altering between one or multiple monitors.

To fix it, just open regedit.exe and go to:

HKCU\Software\Microsoft\VisualStudio\14.0\MainWindow

Replace 14.0 with your version of Visual Studio if it’s not 14.0.
Edit the property MainWindow and replace any negative number with a positive one.

Open Visual Studio again and you’re all set.