S
Simon H
Hi all,
Apologies if there is a better group for this but I couldn't find it.
I have been playing a bit with the Entity Framework using Visual Studio
2010 Beta 2 (I think).
The problem I'm having is that whenever I try and use an
EntityDataSource to pull data out of my entity model I am near
constantly getting the following error:
"The metadata specified in the connection string could not be
loadedmetadata. Consider rebuilding the web project to build assemblies
that may contain metadata. The following error(s) occurred:
Unable to load the specified metadata resource."
This is basically some sort of issue with the connection string that is
sitting in my web.config file.
The thing is, if I run the app - the connection string works fine. It
seems to be only a problem with designers. Various combinations of
closing Visual Studio and rebuilding seem to have no effect. The
frustrating thing is, the connection string seems to work at least some
of the time.
The only other thing I can think of is the fact that unlike many of the
crappy EF examples, my model is kept in a seperate class library and is
being brought into the web app via a project reference.
Is anyone else having a similar issue? I'm hoping its something really
obvious but it keeps happening even when making new projects
Many thanks
S
Apologies if there is a better group for this but I couldn't find it.
I have been playing a bit with the Entity Framework using Visual Studio
2010 Beta 2 (I think).
The problem I'm having is that whenever I try and use an
EntityDataSource to pull data out of my entity model I am near
constantly getting the following error:
"The metadata specified in the connection string could not be
loadedmetadata. Consider rebuilding the web project to build assemblies
that may contain metadata. The following error(s) occurred:
Unable to load the specified metadata resource."
This is basically some sort of issue with the connection string that is
sitting in my web.config file.
The thing is, if I run the app - the connection string works fine. It
seems to be only a problem with designers. Various combinations of
closing Visual Studio and rebuilding seem to have no effect. The
frustrating thing is, the connection string seems to work at least some
of the time.
The only other thing I can think of is the fact that unlike many of the
crappy EF examples, my model is kept in a seperate class library and is
being brought into the web app via a project reference.
Is anyone else having a similar issue? I'm hoping its something really
obvious but it keeps happening even when making new projects
Many thanks
S