AdventureWorks kann kein ado.net-Entitätsdatenmodell erstellen
Ich versuche, die Beispieldatenbank AdventureWorks2008R2 von Microsoft zu verwenden. Beim Versuch, das ADO.NET-Entitätsdatenmodell zu erstellen, wird der folgende Fehler angezeigt:
Unable to generate the model because of the following exception: 'The table 'C:\USERS\XXXX\DOCUMENTS\VISUAL STUDIO 2010\PROJECTS\ANOTHERWORKS\ANOTHERWORKS\APP_DATA\ADVENTUREWORKS2008R2_DATA.MDF.Production.Document' was referenced by a relationship, but was not found.'.
Loading metadata from the database took 00:00:06.2308687.
Generating the model took 00:00:04.5808698.
Added the connection string to the Web.Config file.
Successfully registered the assembly 'System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' in the Web.Config file.
Writing the .edmx file took 00:00:00.0015898.
Hat jemand dies festgestellt und behoben? Oder weiß irgendwo, dass ich eine funktionierende Version dieser Datenbank herunterladen kann (außer:http://msftdbprodsamples.codeplex.com/releases/view/59211 wo habe ich es bekommen)
Oder kann jemand auf eine Beispieldatenbank verweisen, die ich herunterladen und mit dem Entity Framework verwenden kann?