Note that there are some explanatory texts on larger screens.

plurals
  1. POSQL Server CE 4.0 error when installed before Net framework 4 on my app setup
    primarykey
    data
    text
    <p>I have my app that needs SQL Server CE 4.0 (using Entity Framework) and net framework 4. I put into requirements net framework 4 and SQL Server CE 4.0 (for this last one I have to make a special requirement because it is not in the default list).</p> <p>The problem is when I have a Windows XP clean, and I run my app setup. First It detects that I don't have installed SQL Server CE 4.0, I agreed and my app install SQL Server CE. After this installation, the setup detect that I don't have .NET Framework 4 and the same again. It also install .NET Framework 4. Both of binaries are from my setup (no internet connection). </p> <p>So, the setup then install the app. When I try to use the app, an error occurs: </p> <blockquote> <p>Type : System.ArgumentException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089<br> Message : The specified store provider cannot be found in the configuration, or is not valid.<br> Source : System.Data.Entity<br> Data : System.Collections.ListDictionaryInternal<br> TargetSite : System.Data.Common.DbProviderFactory GetFactory(System.String)<br> Stack Trace :<br> at System.Data.EntityClient.EntityConnection.GetFactory(String providerString)<br> at System.Data.EntityClient.EntityConnection.ChangeConnectionString(String newConnectionString)<br> at System.Data.EntityClient.EntityConnection..ctor(String connectionString)<br> at System.Data.Objects.ObjectContext.CreateEntityConnection(String connectionString)<br> at System.Data.Objects.ObjectContext..ctor(String connectionString, String defaultContainerName)<br> at DAL.DataModel.SpecaModelContainer..ctor() in D:\Desarrollos\CNE\SPECA\DAL\DataModel\Model.Context.cs:line 24<br> at DAL.Repository.SpecaContext.getContext() in D:\Desarrollos\CNE\SPECA\DAL\Repository\SpecaContext.cs:line 17<br> at DAL.Repository.BaseRepository`1.get_contexto() in D:\Desarrollos\CNE\SPECA\DAL\Repository\BaseRepository.cs:line 18<br> at DAL.Services.DistritoRepository.obtenerUniverso() in D:\Desarrollos\CNE\SPECA\DAL\Repository\DistritoRepository.cs:line 18 </p> </blockquote> <p>Ok. Then I install again the Win XP and I install my app with out requirements. Then I install .NET Framework 4 and then SQL Server CE 4.0. And when I run the app, NO ERROR appears. It works fine.</p> <p><strong>So, if I install SQL Server CE 4.0 before .NET Framework 4 I have the problem, but not the other way.</strong></p> <p>Anyone knows why? Where can I tell my app install project to change the order of requirements?</p> <p>Thanks</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload