.net framework - Cannot add new .aspx files in visual studio 2010

08
2014-07
  • bot_bot

    I'm working in Visual Studio 2010 for a college project. I've been working on this project for a few days now, and everything has been fine. However, yesterday afternoon I tried to add a new .aspx page to one of the website folders and all the various file types have disappeared except for various database files.

    Maybe I've clicked something to limited the available templates or something I don't know. But it appears it's not possible for me to create/add new .aspx files for my project.

    This is what I get when I try add a file:

    Visual Studio 2010 - add new item screenshot

    Anybody got any ideas?? I usually have loads of different file types to choose from here. Both Visual C# and Visual Basic show the same options, online templates doesn't have any content.

  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    asp.net - Visual Studio 2010 slow debugging
  • Questioner

    I have a problem with vs2010, when i start debugging it works slow. Internet explorer opens but website loads extremely slowly. I stopped my anti-virus program but it couldn't be resolved. My workmate and me work on the same project and he doesn't have any problem like that. My hardware is 4G memory + Intel Core i5 CPU 3.20 GHz.


  • Related Answers
  • jamiebarrow

    Maybe try disabling IntelliTrace, it could be adding quite a bit of overhead.

    Go to Tools -> Options -> IntelliTrace and uncheck the Enable IntelliTrace checkbox, or obviously, you could also fine tune it to improve its performance to your needs.

  • Lee Studley

    I recently did a winupdate(20120508) and Visual studio seemed to be really slow debugging afterwards with a 1 minute delay after compile-to-runDebug lag, then when the debug program exited, another 1 minute delay to get control again of visual studio. I did clean all, but no joy.

    Solution: I manually deleted the *.sdf and *.suo files in my project/solution and rebuilt. Issue went away magically.

    Not sure why, but something was out of sync, corrupted, or incompatible with the update and needed to be blown away manually.

  • CRodgers

    I know you said you are running AV but if I might ask what AV program?

    Our department had ran Symantec for years and were constantly getting infected with spyware without alerts from our AV. We switched over to Comodo AV and found that Symantec was missing quite a bit.

    You might try scanning with Comodo and see if there are other spyware or malware issues on your workstation that's not getting picked up by your current antivirus.

    Just a thought.