Saleh
Saleh

Reputation: 2719

Can't add Ado .Net Entity Data Model

I'm doing these steps:

  1. Create new vs2010 C# console application
  2. Project menu -> Add New Item
  3. select Ado.NET Entity Data Model -> click Add
  4. Entity Data Model wizard window opened.
  5. Select Generate From database -> Click Next
  6. The next window appears for less than 1 second and it gets closed automatically.

I tried to reset vs2010 setting but no good news, the problem still exist.

I also tried it with ASP.NET Website.

What is the problem?

Upvotes: 0

Views: 2685

Answers (2)

Omar Ceron
Omar Ceron

Reputation: 11

I can resolved this fix:

  1. in the route C:\Users\username\AppData\Roaming\Microsoft\VisualStudio\11.0\ServerExplorer
  2. delete the file "DefaultView.SEView"
  3. press keys window + R-> and write devenv.exe /ResetSettings
  4. And Open Visual Studio

Upvotes: 0

hmqcnoesy
hmqcnoesy

Reputation: 4225

I had a similar problem and finally fixed it by deleting

c:\users\myusername\appdata\roaming\microsoft\visualstudio\10.0\SeverExplorer\DefaultView.SEView.

Upvotes: 5

Related Questions