none
visual studio has encountered an exception .this may be caused by an extension. RRS feed

  • Question

  • when i was try to crate a new website and create a new table at that time this type of error occurred means one dailog box is automatically opened "visual studio has encountered an exception .this may be caused by an extension.

    you can get more information by running the application together with the /log parameter on the command line,and then examining the file 'c:\user\dhruv\appdata\roaming\microsoft\visual studio\10.0\acitvitylog.xml'   ."

    so please help me , please reply me urgently....

    Wednesday, August 15, 2012 11:16 AM

Answers

  • Hi drsj,

    It seems this error was due to extension. What's your Visual Studio version?

    Could you please disable or remove all of your extensions? 

    After that, please follow some common steps to reinstall templates:

    1) Please open Windows Explorer, and navigate to  <Visual Studio Installation Path>\Common7\IDE (by default is C:\Program Files \Microsoft Visual Studio 10.0\Common7\IDE); 
    2) Delete the ItemTemplatesCache, ProjectTemplatesCache folder; (If you are using VWDExpress, please delete folder under \Common7\IDE\VWDExpress)
    3) Open Visual Studio Command Prompt (2010) under Start menu -> All Programs -> Microsoft Visual Studio 2010 -> Visual Studio Tools (run it with Administrator privilege: right-click the program -> Run as administrator); 
    4) Run the devenv /InstallVSTemplates switch; (VWDExpress if you are using it)
    5) Run the devenv /Setup switch

    Regards,


    Barry Wang [MSFT]
    MSDN Community Support | Feedback to us

    Thursday, August 16, 2012 7:06 AM
    Moderator

All replies

  • For best help with your web site issue, please ask here:

    http://forums.asp.net/1213.aspx/1?Visual+Studio+and+Visual+Web+Developer+Express

    This forum supports .NET Framework installation and setup.

    Wednesday, August 15, 2012 1:49 PM
  • Hi drsj,

    It seems this error was due to extension. What's your Visual Studio version?

    Could you please disable or remove all of your extensions? 

    After that, please follow some common steps to reinstall templates:

    1) Please open Windows Explorer, and navigate to  <Visual Studio Installation Path>\Common7\IDE (by default is C:\Program Files \Microsoft Visual Studio 10.0\Common7\IDE); 
    2) Delete the ItemTemplatesCache, ProjectTemplatesCache folder; (If you are using VWDExpress, please delete folder under \Common7\IDE\VWDExpress)
    3) Open Visual Studio Command Prompt (2010) under Start menu -> All Programs -> Microsoft Visual Studio 2010 -> Visual Studio Tools (run it with Administrator privilege: right-click the program -> Run as administrator); 
    4) Run the devenv /InstallVSTemplates switch; (VWDExpress if you are using it)
    5) Run the devenv /Setup switch

    Regards,


    Barry Wang [MSFT]
    MSDN Community Support | Feedback to us

    Thursday, August 16, 2012 7:06 AM
    Moderator