Tuesday, December 14, 2010

MetadataException: Unable to load the specified metadata resource

I faced an issue while trying to open an EntityConnneciton with the following message.

MetadataException: Unable to load the specified metadata resource.

The issue is the i had the Entity Model in a seperate assembly and the assembly doesn't load itsef if you try to connect to it using EntityConnection classes. If you use the object context class generated by the model then we don't face this issue.

No comments:

Post a Comment