title: Entity Framework : Schema specified is not valid
body: <p>I am developing a web application that is using Entity Freamwork 5 Visual Studio 2012 and it need to support both SQL Server and Oracle database providers. I created entity model for Oracle Database. I thought it would work after some changes in connectionstrings, bu no it is not that easy .. I found this post:</p>
  <p><a href="http://www.codeproject.com/Articles/82017/Preparing-an-Entity-Framework-model-for-multi-prov" rel="nofollow noreferrer">http://www.codeproject.com/Articles/82017/Preparing-an-Entity-Framework-model-for-multi-prov</a></p>
  <p>Now I am getting following error</p>
  <blockquote>
  <p>Schema specified is not valid. Errors:  my_s_entity.ssdl(2,12) :
  warning 0005: Could not find schema information for the attribute
  'Version'. my_s_entity.ssdl(2,2) : error 0010: The element Edmx in
  namespace <a href="http://schemas.microsoft.com/ado/2009/11/edmx" rel="nofollow noreferrer">http://schemas.microsoft.com/ado/2009/11/edmx</a> was unexpected
  for the root element. The expected Schema in one of the following
  namespaces: <a href="http://schemas.microsoft.com/ado/2006/04/edm/ssdl" rel="nofollow noreferrer">http://schemas.microsoft.com/ado/2006/04/edm/ssdl</a>,
  <a href="http://schemas.microsoft.com/ado/2009/02/edm/ssdl" rel="nofollow noreferrer">http://schemas.microsoft.com/ado/2009/02/edm/ssdl</a>,
  <a href="http://schemas.microsoft.com/ado/2009/11/edm/ssdl" rel="nofollow noreferrer">http://schemas.microsoft.com/ado/2009/11/edm/ssdl</a>.</p>
  </blockquote>
  <p>Stack trace:</p>
  <pre><code>[MetadataException: Schema specified is not valid. Errors: 
  my_s_entity.ssdl(2,12) : warning 0005: Could not find schema information for the attribute 'Version'.
  my_s_entity.ssdl(2,2) : error 0010: The element Edmx in namespace http://schemas.microsoft.com/ado/2009/11/edmx 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, http://schemas.microsoft.com/ado/2009/11/edm/ssdl.]
     System.Web.UI.WebControls.EntityDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +965
     System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +21
     System.Web.UI.WebControls.DataBoundControl.PerformSelect() +138
     System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +30
     System.Web.UI.WebControls.GridView.DataBind() +4
     System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +105
     System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +75
     System.Web.UI.Control.EnsureChildControls() +83
     System.Web.UI.Control.PreRenderRecursiveInternal() +42
     System.Web.UI.Control.PreRenderRecursiveInternal() +168
     System.Web.UI.Control.PreRenderRecursiveInternal() +168
     System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +974
  </code></pre>
  <p>I have searched on web but not able to find any solution. Why I am getting this issue? If anyone have every faced same and have any solution please share.</p>