All the Project templates missing in Visual Studio 2012

 

Issue Description:

After installing Visual Studio 2012 successfully when we launch the IDE and click “New Project” all the Project templates are missing in the IDE.

Root Cause:

When we take a Procmon log while clicking “New Project” and check for ‘Access Denied’, we can find that devenv.exe doesn’t have permissions to access the below key

HKEY_CLASSES_ROOT\TypeLib\{DF848FFC-700C-4F55-B4E7-3338946DD300}

Which is the typelib for “C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\dteproperties.tlb”

Resolution:

1. Opened Registry and browsed to “HKEY_CLASSES_ROOT\TypeLib\{DF848FFC-700C-4F55-B4E7-3338946DD300}”

2. Observed that the logged in user isn’t having access to that key.

3. Logged in as administrator and gave ‘Read’ permissions to ‘Users’ on “HKEY_CLASSES_ROOT\TypeLib\{DF848FFC-700C-4F55-B4E7-3338946DD300}”

4. After this we were able to view all the Project templates in the IDE

Content By : Sarat Chandra