Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

ASP.Net Web API 2.0 and SQL 2008 R2 ?

$
0
0

We are trying to create a new web forms application using VS2013, .Net 4.5 framework and Web API 2.0. This works just fine when we create the default web forms application and register a new user which uses entity framework to create the local db and tables automatically. If we then change the connection string to point to our development full sized SQL 2008 R2 server it fails when we attempt to register the new user. This SQL box supports other apps that use entity framework. We get the following error and the database and tables are not created:

MetadataException was unhandled by user code: An exception of type 'System.Data.Entity.Core.MetadataException' occurred in mscorlib.dll but was not handled in user code

I have also posted a question on stackoverflow here:

http://bit.ly/1pmHwcc


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>