2 Replies Latest reply: Mar 4, 2013 10:20 AM by ozz232 RSS

    The specified store provider cannot be found in the configuration?

    877720
      I got the error "The specified store provider cannot be found in the configuration, or is not valid"
      while excuting the following command:

      E:\Windows\Microsoft.NET\Framework\v4.0.30319\EdmGen.exe /nologo /language:CSharp
      /mode:ViewGeneration /inssdl:$(TargetDir)Entities.ssdl
      /incsdl:$(TargetDir)Entities.csdl /inmsl:$(TargetDir)Entities.msl
      /outviews:$(ProjectDir)Entities.Views.cs


      this is to pre_generate views to improve Entity framework performance, itruns well for SqlServer.
      What is the issue? I checked in machine.config, it seems ok:

      <DbProviderFactories>
      *<add name="Oracle Data Provider for .NET" invariant="Oracle.DataAccess.Client" description="Oracle Data Provider for .NET" type="Oracle.DataAccess.Client.OracleClientFactory, Oracle.DataAccess, Version=4.112.3.0, Culture=neutral, PublicKeyToken=89b483f429c47342"/>*
      <add name="Microsoft SQL Server Compact Data Provider" invariant="System.Data.SqlServerCe.3.5" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=3.5.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"/>
      </DbProviderFactories>