I\'m initializing Entity Framework Object context, and this gives me the keyword not supported error:
metadata=res://*/MainDB.csdl|res://*/MainDB.ssdl|res://*/
I fixed this by changing EntityClient back to SqlClient, even though I was using Entity Framework.
EntityClient
SqlClient
So my complete connection string was in the format: