Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Errors 11 and 2002: "The EntityContainer ... does not exist in MetadataWorkspace"

I'm getting the following error when I try to compile my web application:

Error 11 Error 2002: The EntityContainer 'SomeEntitieContainerName' for the conceptual model specified as part of this MSL does not exist in MetadataWorkspace.

I have only a *.edmx named BancorlineDB.edmx that has an "Entity Container Name" set to "BancorLineEntidades".

like image 526
Cleiton Avatar asked Sep 11 '09 17:09

Cleiton


1 Answers

Just my cent for this error:

Working on Oracle db schema I modified a size of primary key field on a table. This field is foreign key on another table. I forgot to modify the size for this second table.

In my .Net web project with Entity Framework 5.0 I regenerate the model from database... ERROR 2002 The EntityContainer bla... bla...

I spent a lot of time with this... silly mistake and the more silly information coming from ODT 12.

like image 98
Caesar Avatar answered Sep 25 '22 18:09

Caesar