468,288 Members | 1,961 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,288 developers. It's quick & easy.

ado.net entity framework crashes?

I wanted to try out the ado.net entity framework model and see how it was
different from linq to sql entities. I put a page in a web application
project, added an ado.net entity model and told it to generate the model
from existing database, went back to my empty page and put a GridView on it.
I right clicked on the GridView and went to show smart tag. I went to choose
a datasource combo box and pressed down arrow once (to create a new
datasource). I chose entity and left the default name EntityDataSource1 and
then pressed ok. I then got this error: "The following error(s) occurred
while searching for assemblies that may contain Entity Data Model metadata:
An assembly with the name 'Microsoft.Web.Preview, Version=1.3.61025.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35' has already been loaded.
Resources can only be loaded from one of these assemblies and the rest will
be ignored. ". I then pressed the ok button to be taken to the window for
setting up the datasource. I check the named connection radio button and
chose the connection string in the web.config named for the entity model I
had created at the beginning of these steps. When I tabbed pased the
connection string combobox for the connection string radio button, I got the
following error: "The Entity Data Model metadata specified in the connection
string could not be loaded due to the following error(s): Unable to load the
specified metadata resource." What is going on and how do I fix this?
Jul 30 '08 #1
0 2373

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Erwin Gabler | last post: by
1 post views Thread by Harold Howe | last post: by
1 post views Thread by Steve Wofford | last post: by
9 posts views Thread by Cirene | last post: by
3 posts views Thread by chris.kennedy | last post: by
1 post views Thread by Andy B | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.