I\'m initializing Entity Framework Object context, and this gives me the keyword not supported error:
metadata=res://*/MainDB.csdl|res://*/MainDB.ssdl|res://*/
Make sure you have Data Source and not DataSource in your connection string. The space is important. Trust me. I'm an idiot.
Data Source
DataSource