Fix for issue with ADO.NET Entity Data Model (EDMX) Designer not opening

by Gabriel Lozano-Moran 24. November 2009 22:14

I have noticed that when I double-click an EDMX file after closing it first, that Visual Studio 2008 (with SP1) does not open the ADO.NET Entity Data Model Designer. Looking on the internet there are apparently more people having the same issue but so far the only workaround is to open it with the XML editor first, closing it and then reopening it by double-clicking:

Using Process Monitor, I saw that the value LinkedEditorGuid for the EDMX designer is not available on my machine:

clip_image002

So this is what I tried and it seems to have solved the problem on my machine (this is for Windows XP x64):

  1. Start the Registry Editor
  2. Navigate to the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\9.0\Editors\{c99aea30-8e36-4515-b76f-496f5a48a6aa}
  3. Add a new String Value named LinkedEditorGuid.
  4. Set the value of LinkedEditorGuid to {FA3CD31E-987B-443A-9B81-186104E8DAC1}. (this is the GUID for the XML editor)

Tags:

Comments

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading



About me

Hello, my name is Gabriel Lozano-Moran. I am a .NET developer living in Belgium.

On this blog you will read about my daily struggles, adventures, failures and triumphs in the wonderful and exciting world of .NET development.