MetadataException: Unable to load the specified metadata resource
Posted
by J. Steen
on Stack Overflow
See other posts from Stack Overflow
or by J. Steen
Published on 2009-03-27T11:15:08Z
Indexed on
2010/05/06
14:08 UTC
Read the original article
Hit count: 1268
All of a sudden I keep getting a MetadataException on instantiating my generated ObjectContext class. The connectionstring in App.Config looks correct - hasn't changed since last it worked - and I've tried regenerating a new model (edmx-file) from the underlying database with no change.
Anyone have any... ideas?
Edit: I haven't changed any properties, I haven't changed the name of any output assemblies, I haven't tried to embed the EDMX in the assembly. I've merely waited 10 hours from leaving work until I got back. And then it wasn't working anymore.
I've tried recreating the EDMX. I've tried recreating the project. I've even tried recreating the database, from scratch. No luck, whatsoever.
I'm truly stumped.
© Stack Overflow or respective owner