PC Review


Reply
Thread Tools Rate Thread

ado.net entity framework crashes?

 
 
Andy B
Guest
Posts: n/a
 
      30th Jul 2008
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?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Entity framework Roy Microsoft ADO .NET 2 17th Feb 2010 06:43 PM
Entity Framework: returning the Entity with the Min() cost Markla Microsoft ADO .NET 0 4th Sep 2009 02:59 AM
Entity Framework - entity with multiple foreign keys to same table CGatto Microsoft ADO .NET 1 7th Aug 2009 07:51 PM
Entity Framework - Reassigning child entity's parent Norm Microsoft ASP .NET 3 6th Jul 2009 08:28 PM
How to relate a SQL based entity with an Object based entity in Entity Framework markla Microsoft ASP .NET 1 6th Oct 2008 10:42 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:33 AM.