HI
I am getting this error when i Upload my appliction on shared hosting:
Schema specified is not valid. Errors:
(0,0) : warning 0005: Could not find schema information for the attribute ‘Namespace’.
(0,0) : warning 0005: Could not find schema information for the attribute ‘Provider’.
(0,0) : warning 0005: Could not find schema information for the attribute ‘ProviderManifestToken’.
(0,0) : warning 0005: Could not find schema information for the attribute ‘Alias’.
(0,0) : error 0010: The element Schema in namespace http://schemas.microsoft.com/ado/2009/11/edm/ssdl was unexpected for the root element. The expected Schema in one of the following namespaces: http://schemas.microsoft.com/ado/2006/04/edm/ssdl, http://schemas.microsoft.com/ado/2009/02/edm/ssdl.
It is working Good on my local and Window Azure.
I have changed the DotNet Framewor from 4.5 to 4.0 and the Entoty framework also change according to DotNet FramWork
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
I am using code first methode.
Looking for solution………….
I am having the same issue as well and cannot figure it out…
Check your .Net Verison and make sure the hosting site allows the version. That was my issue – I had the application (all projects) set to 4.5 .net framework and my hosting site only allows 4.0 .net framework.
neetesh
HI
I am getting this error when i Upload my appliction on shared hosting:
Schema specified is not valid. Errors:
(0,0) : warning 0005: Could not find schema information for the attribute ‘Namespace’.
(0,0) : warning 0005: Could not find schema information for the attribute ‘Provider’.
(0,0) : warning 0005: Could not find schema information for the attribute ‘ProviderManifestToken’.
(0,0) : warning 0005: Could not find schema information for the attribute ‘Alias’.
(0,0) : error 0010: The element Schema in namespace http://schemas.microsoft.com/ado/2009/11/edm/ssdl was unexpected for the root element. The expected Schema in one of the following namespaces: http://schemas.microsoft.com/ado/2006/04/edm/ssdl, http://schemas.microsoft.com/ado/2009/02/edm/ssdl.
It is working Good on my local and Window Azure.
I have changed the DotNet Framewor from 4.5 to 4.0 and the Entoty framework also change according to DotNet FramWork
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
I am using code first methode.
Looking for solution………….
Check your .Net Verison and make sure the hosting site allows the version. That was my issue – I had the application (all projects) set to 4.5 .net framework and my hosting site only allows 4.0 .net framework.
Me too. Did anyone find a solution (other than updating to .Net 4.5)?
the error message means the server is setup as .net 4 and v2 of edmx , and your code is 4.5 and v3 edmx (EF 5). you will need to convert your code to that version, or have the server upgraded to a latter version of .net.
I don’t believe you can automatically down rev the edmx, you will need to recreate it using vs 2010 (the version of vs that support the server version of code).