Ho un database SQL Server CE che funziona correttamente in dev, ma quando installato sul client ha un problema.SQL Server CE - Errore interno: impossibile aprire l'area della memoria condivisa
- Le dipendenze di SQL Server CE 3.5 vengono copiate come parte della distribuzione.
- Il computer di destinazione è un'immagine Ultimate a 32 bit Windows 7 pulita.
Il messaggio per l'eccezione nel registro eventi è:
Message: Internal error: Cannot open the shared memory region.
Stack Trace: at System.Data.SqlServerCe.SqlCeConnection.ProcessResults(Int32 hr) at
System.Data.SqlServerCe.SqlCeConnection.Open(Boolean silent) at
System.Data.SqlServerCe.SqlCeConnection.Open() at
System.Data.Linq.SqlClient.SqlConnectionManager.UseConnection(IConnectionUser user) at
System.Data.Linq.SqlClient.SqlProvider.Execute(
Expression query,
QueryInfo queryInfo,
IObjectReaderFactory factory,
Object[] parentArgs,
Object[] userArgs,
ICompiledSubQuery[] subQueries,
Object lastResult) at
System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(
Expression query,
QueryInfo[] queryInfos,
IObjectReaderFactory factory,
Object[] userArguments,
ICompiledSubQuery[]
subQueries) at
System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(
Expression query) at
System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator() at
System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at
System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at
Application specific stuff here
Sembra che questo è SSCE_M_CANTOPENSHAREDMEMORY e il sito dice che non v'è un valore stringa di connessione per cambiare questo e che questi problemi sono in genere non risolvibile dagli sviluppatori finali.
Qualcuno si è imbattuto in questo, e in caso affermativo sei riuscito a risolvere questo problema?
Così, quando ho installare il runtime CE invece di fare file copiare non c'è problema. – blu