Trying to deploy an Entity Framework MVC3 application to specialist ASP.NET shared host, getting strange error? -


i have 2 project mvc3 .net 4, ef5 web application have tried "one-click" publish discountasp account has ms sql server 2008 instance installed.

the error getting :

schema specified not valid. errors:  ordersdb.csdl(2,9) : warning 0005: not find schema information attribute           'namespace'.  ordersdb.csdl(2,38) : warning 0005: not find schema information attribute 'alias'.  ordersdb.csdl(2,288) : error 0005: 'http://schemas.microsoft.com/ado/2009/02/edm /annotation:usestrongspatialtypes' attribute not declared.  ordersdb.csdl(2,2) : error 0010: element schema in namespace http://schemas.microsoft.com    /ado/2009/11/edm unexpected root element. expected schema in 1 of  following namespaces: http://schemas.microsoft.com/ado/2006/04/edm, http://schemas.microsoft.com/ado/2007/05/edm, http://schemas.microsoft.com/ado/2008/09/edm. 

any ideas please?

i publish web project, not db project contains pocos. not believe need dll pulled web project.

thanks in advance.

sorted this, downgrading ef4.1

basically ef5 not work on w2k8 unless has .net4.5 host did not have. dev server compiling .net4 using ef dll, perhaps have .net4.5 on dev server, working because of this. did notice ef5 dlls marked dll.45 under properties.

hope helps someone.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -