"The provider did not return a ProviderManifestToken string"

Mar 6, 2013 at 10:33 AM
Edited Mar 7, 2013 at 5:46 AM
I get the below error at

var genres = storeDB.Genres.ToList<Genre>();

"The Provider incompatible Exception was unhandled by the User Code"

"The provider did not return a ProviderManifestToken string"


I am using SQL Server 2008


I am using the below connection string and when I run MvcMusicStore <add name="MvcMusicStoreEntities"
  connectionString="Provider=SQLServer.Data.Client;Server=L-156026047;Initial Catalog=MvcMusicStore;Integrated Security=True"/>
</connectionStrings>

I also tried

<add name="MvcMusicStoreEntities"
  connectionString="Provider=SQLNCLI10;server=L-156026047;Integrated Security=True;Initial Catalog=MvcMusicStore;"/>
</connectionStrings>


Please help.