Below is my connection string:
connectionString=\"metadata=res://*/EDMX.Test.csdl|res://*/EDMX.Test.ssdl|res://*/EDMX.Test.msl;provider=System.Data.Sq
I had this error and it was caused by a typo in the connection string in App.config.