If subject error occured, you may check following thins:
•Have you changed the MetadataArtifactProcessing property of the model to Copy to Output Directory?
•Have you changed connection string? The connection string could be wrong.
•You might be using a post-compile task to embed the EDMX in the assembly, which is no longer working for some reason.
In my case, there was an error in the connection string
.... metadata=res://*/ProjectName.csdl|res://*/ProjectName.ssdl|res .....
No comments:
Post a Comment