VS2013 RC1: MetadataException on loading of SqlServer model

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
Lotto
Posts: 3
Joined: Mon 09 May 2011 15:13

VS2013 RC1: MetadataException on loading of SqlServer model

Post by Lotto » Tue 15 Oct 2013 08:59

1. My development Environment: Win8, VS2010 + VS2013 RC1 on the same Maschine
2. EntityDeveloper Version: 5.5.196
3. Problem description: System.Data.Entity.Core.MetadataException in VS2013 + EF6 after first Access to model derived from DbContext (regardless of selected EF-Version or DevArt Code-Template).
4. Steps to reproduce:
- Create WindowsForms Project based on VS2013 template for C# Windows Forms Project.
- In Solution-Explorer: add new element -> DevArt Entity Model
- In Create Model Wizard select following Options:
a) database first
b) Provider: .NET Data Provider for SqlServer
c) any SqlServer2008 R2 DB + any Table
d) Entity Framework Version: EF6 (is not significant for this issue, EF4 causes the same problem)
e) Select any Code-Template (DbContext for instance)

- Now add to Form1_Load(..) Event any access code, for instance:

MyEntities db = new MyEntities();
IEnumerable<Adress> list = (from a in db.Adresses select a).ToList();
- Build and Run this Project and you get MetaData Exception.

Note: VS2010 and EF4 on the same maschine works fine.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: VS2013 RC1: MetadataException on loading of SqlServer model

Post by Shalex » Tue 15 Oct 2013 11:10

The bug with "DevartEntityDeploy" task, which generates mapping files, in Visual Studio 2013 Release Candidate is fixed. We will post here when the new public build of Entity Developer is available for download.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: VS2013 RC1: MetadataException on loading of SqlServer model

Post by Shalex » Fri 18 Oct 2013 11:01

New version of Entity Developer 5.6 is released!
It can be downloaded from http://www.devart.com/entitydeveloper/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=32&t=28136.

Post Reply