First of all I've read this article and I'm having a different issue.
I'm using DevExtreme and upon debugging I'm getting an error whilst trying to execute this code:
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
ConfigureAuth(app);
}
}
It says
"Keyword not supported: 'metadata'."
However my the providerName of my connectionString (in the web.config file) is "System.Data.EntityClient" as advised multiple times in this article.
My connectionString looks like this:
<add name="CCBEntities" connectionString="metadata=res://*/Models.ContosoModel.csdl|res://*/Models.ContosoModel.ssdl|res://*/Models.ContosoModel.msl;provider=System.Data.SqlClient;provider connection string="data source=(LocalDB)\MSSQLLocalDB;attachdbfilename=|DataDirectory|\CCB.mdf;integrated security=True;multipleactiveresultsets=True;connect timeout=30;application name=EntityFramework"" providerName="System.Data.EntityClient" />
I'm passing this value over like this:
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:CCBEntities %>"
SelectCommand="SELECT * FROM [CcbTeam]">
</asp:SqlDataSource>
How can I remove this error?