User-1330468790 posted
Hi Markus33,
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:
<add name="ASPNETDBEntities"
connectionString="Data Source=XXXX;Initial Catalog=ASPNETDB;Integrated Security=True;"
providerName="System.Data.EntityClient" />
However, the EF connection string should looks like:
<add name="NorthwindEntities" connectionString=
"metadata=.\Northwind.csdl|.\Northwind.ssdl|.\Northwind.msl;
provider=System.Data.SqlClient;
provider connection string="Data Source=SERVER\SQL2000;Initial Catalog=Northwind;Integrated Security=True;MultipleActiveResultSets=False""
providerName="System.Data.EntityClient" />
For more details about EF connection string, you could refer to
this link.
Hope this can help you.
Best regards,
Sean