Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'There is no editor available' error in VS 2010

When I tried to select designer view in VS 2010 I get this error:

There is no editor available for 'c:\user\teadrinkinggeek\documents\visual studio 2010\websites\website2\About.aspx'.

Make sure the application for the file type (.aspx) is installed.

I opened a different website and the error is still there.

How do I resolve this?

like image 443
TeaDrinkingGeek Avatar asked Feb 08 '11 10:02

TeaDrinkingGeek


3 Answers

I had this issue and it was easly resolved by the following:

Right-Click on the .edmx file --> Open With --> ADO.NET Entity Data Model Designer and then Set as Default.

like image 94
user2406571 Avatar answered Nov 17 '22 06:11

user2406571


This problem is somewhat difficult to diagnose. The easiest thing is probably to re-install your copy of Visual Studio. Most likely, something got corrupted during the installation, or you failed to install a crucial component required for opening ASPX files.

Aside from that, there is one trick that I've seen work before. I suppose it's worth a try before you go through the trouble of re-installing. Here are the steps:

  1. Open a new command prompt window.
  2. Navigate to the directory path in which you installed Visual Studio.
    (I have no experience with the Express editions, so I'm not sure if the paths and names of the executables are the same as the
    full versions. I suspect they're probably not. Thus, the best way to get this information is right-clicking on your shortcut icon.
  3. Execute the following command, where "devenv" is the name of the executable you use to start
    the Visual Studio IDE:

    devenv /resetskippkgs
    
like image 2
Cody Gray Avatar answered Nov 17 '22 05:11

Cody Gray


Sometimes it happens because one of the references of the project are making problems.

Solution:

Build your solution to Identify the reference that is making problems, remove the reference and add it again, after rebuilding your project everything will work fine.

like image 2
Israel Margulies Avatar answered Nov 17 '22 05:11

Israel Margulies