Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I fix "Unrecognized Guid format"

I keep getting this error in VS 2013 if I click on the following file types:

  1. *.cs
  2. *.cshtml
  3. *.config
  4. *.asax
  5. *.html

enter image description here

I just recently updated to Visual Studio 2013 Update 2 and fixed a compatibility issue to always run the "devenv.exe" as administrator because of UAC issues and running a service in windows 8.1. However; I can turn around and open this entire solution in SharpDevelop 4.4 and there are no issues. That would lead me to believe that the solution file wasn't the issue and it points to VS 2013 being the culprit on some level.

I have tried the following:

  • devenv.exe /ResetSettings ( Did not work )
  • Reset all settings to default without saving current settings ( Did not work )
like image 793
Damon Drake Avatar asked Jun 09 '14 14:06

Damon Drake


4 Answers

It only worked for me when I unchecked all checkboxes and on the next screen at least one option was required so I checked "No I am done investigating the problem"

Note that this is based on other answers so first follow those procedures to open the "troubleshoot compatibility" screen for the devenv.exe

like image 96
Cagatay Kalan Avatar answered Oct 30 '22 11:10

Cagatay Kalan


As stated in this Connect article, you have to run the troubleshooter again and validate that the fix worked. Additionaly, you should not check the box saying "it worked with older versions of windows", it would block some API required by VS.

like image 29
Johann Blais Avatar answered Oct 30 '22 12:10

Johann Blais


We were able to fix this by doing the following

  • Navigate to devenv.exe by right clicking Visual Studio from start, click properties, and select "Open File Location...".
  • Right click on devenv.exe and select "Troubleshoot Compatibility".
  • Click "Troubleshoot Program"
  • Check "The program opens but doesn't display correctly"
  • Click "Next"
  • Click "Test the program"
  • Confirm everything opens correctly
  • Click "Next"
  • Click "Yes, save these settings for this program"
like image 7
Tim C. Avatar answered Oct 30 '22 13:10

Tim C.


I did an upgrade from Windows 8.1 to 10 recently, everything went smoothly. I can open my Visual Studio projects and debug them just fine until I run the Visual Studio 2013 Update 5 suddenly I get "Unrecorgnized GUID Format" error every time I open up any aspx/cs.

This is the steps I did to resolve the issue:

In Windows 10, you have to right-click devenv.exe and select "Troubleshoot compatibility". select "Troubleshoot program" and make sure that "it worked with older versions of windows" is unchecked.

like image 6
Alfred Roa Avatar answered Oct 30 '22 12:10

Alfred Roa