0

I like to deploy SQLServer CE privately on my VSPackage application. I already tried the following information:

Using Entity Framework with an SQL Compact Private Installation

as well as this one:

How to deploy SQL Server Compact Edition 4.0?

But I still get the following exception message:

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

I guess the above methods do not work for me because my VSPackage will appear as a DLL, while the above methods work for an .EXE application.

Any suggestion how can I do it?

Thanks

Community
  • 1
  • 1
Budi Hartanto
  • 337
  • 3
  • 14

1 Answers1

0

Most likely, Visual Studio cannot find and load one of SQL Server Compact Edition assemblies. By default, Visual Studio don’t look dependent assembles in a VSPackage folder if VSPackage code have not explicit reference to such assembles. I described several ways to solve this problem here. Hope it help you.

Community
  • 1
  • 1
Mikhail Shcherbakov
  • 1,826
  • 16
  • 22