System.Data.MetadataException: Unable to load the specified metadata resource

I was getting an exception like this. The problem was that I renamed my .edmx file and forgot to change the name in EF Web.config file’s connection string:

metadata=res://*/MyModel.csdl|res://*/MyModel.ssdl|res://*/MyModel.msl;

Leave a Comment