Metadata issues in Entity Framework connection string

entity-framework forms-authentication silverlight silverlight-4.0 wcf-ria-services

Accepted Answer

Whether the resources are there, check the built assembly using Reflector to determine if they can be accessed through the first method. If not, something is amiss with your deployment; of course, you may always deploy them as loose files. If this isn't clear enough, ask for further information; I'll be at my desk the next day with the code available to do so (had to deal with something like this a while ago).

2
10/26/2010 8:36:00 PM

Popular Answer

Based on my testing, the information is retrieved through the file system via a relative path toEnvironment.CurrentDirectory . If something alters that value, your relative paths will get messed up if they are supplied from the exe path. Utilizing an embedded resource is more stable due to this restriction.

The complete resource name when compiling as an embedded resource differs from when building an edmx throughEntityDeploy Utilize theilasm or reflector If you are still having trouble getting the metadata to be accepted/found, you should extract the assembled resources to be certain of the resource name.



Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow