The specified store provider cannot be found in the configuration, or is not valid.


  • I am using Visual Studio 2010 SP1 (Beta) and SQL CE 4.0. This works locally on my machine but when I publish I get the error in the title. I have copied the SQL CE 4 assemblies over to my bin folder but that did not help.

    My web.config looks like this:

    <?xml version="1.0"?>
      <compilation debug="true" targetFramework="4.0">
        <add assembly="System.Data.Entity, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
      <add name="ContentDBEntities" connectionString="metadata=res://*/DataModel.DataModel.csdl|res://*/DataModel.DataModel.ssdl|res://*/DataModel.DataModel.msl;provider=System.Data.SqlServerCe.4.0;provider connection string=&quot;Data Source=|DataDirectory|\ContentDB.sdf&quot;" providerName="System.Data.EntityClient" />

    Any help would be greatly appreciated.

     “Somewhere someone is practicing, if you're not and you should meet, you will lose…”

    • Modificato 01000011 lunedì 17 gennaio 2011 18:54 format
    lunedì 17 gennaio 2011 18:50


Tutte le risposte