What are the possible reasons for getting this error:
"The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid."
I am using the auto-generated connection string that the EF Wizard created and added to my app.config, so I would think it should work?
<add name="CollectionEntities" connectionString="metadata=res://*/CollectionDataModel.csdl|res://*/CollectionDataModel.ssdl|res://*/CollectionDataModel.msl;provider=System.Data.SqlClient;provider connection string="Data Source=devweb\dev;Initial Catalog=Collection2;Persist Security Info=True;User ID=cooluser;Password=coolpassword;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient" />