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.

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s