Cannot generate the model from database in VS 2010

When I try to generate entity data model from database…

The first wizard’s window asks me to choose the model content. I choose “Generate from database”. After this , wizard disapears and there is no .edmx file in solution explorer.

However, when I choose “Empty model”, wizard works properly and generates empty .edmx file.

Solutions to fix this problem:

Try opening VS, opening Server Explorer and then deleting any database connections you have in Server Explorer.

This entry was posted in Visual Studio 2010. Bookmark the permalink.

Leave a comment