Last post Apr 22, 2020 05:20 AM by Sean Fang
Apr 21, 2020 08:56 PM|Markus33|LINK
Can someone please help me to correct issues with website. I have just built new website code is complete. I built database and then connected to model. But after building and running project, browser throws error that i am not familiar with. Everything
in my site is clean and it has nor compile errors. Can some give direction into this XML error because this is my first time seeing this one. Thanks, Markus.
Apr 22, 2020 05:20 AM|Sean Fang|LINK
I think you are using Entity framework to access database. The problem might located in the connection string. It might be a valid
ADO.NET connection string but not a valid ADO.NET Entity Framework(EF) connection string.
The error message shows that the inner error is "Keyword not supported: data source".
That means you might add connection string like below format:
connectionString="Data Source=XXXX;Initial Catalog=ASPNETDB;Integrated Security=True;"
However, the EF connection string should looks like:
<add name="NorthwindEntities" connectionString=
provider connection string="Data Source=SERVER\SQL2000;Initial Catalog=Northwind;Integrated Security=True;MultipleActiveResultSets=False""
For more details about EF connection string, you could refer to
Hope this can help you.