Hi,

After a double check it appears that I gave you a wrong information (never 
trust your co-workers).

The correct version having an issue is v1.0.74.0 (loaded from GAC or file).
It seems most likely like a localization issue.

Anyway here is the exception (French): 
Test method 
Cegid.Framework.Data.SQLite.Tests.SyncManagerTest.SyncConfiguredScopeDescriptionIsEqual2Test
 threw exception: 
System.Data.EntityCommandExecutionException: Une erreur s'est produite lors de 
l'exécution de la définition de la commande. Pour plus de détails, consultez 
l'exception interne. ---> System.Resources.MissingManifestResourceException: 
Impossible de trouver des ressources appropriées pour la culture spécifiée ou 
la culture neutre. Assurez-vous que 
"System.Data.SQLite.Properties.Resources.resources" a été correctement 
incorporé ou lié dans l'assembly "System.Data.SQLite.Linq" au moment de la 
compilation ou que tous les assemblys satellites requis sont chargeables et 
complètement signés.

StackTrace:
System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing(String
 fileName)
System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo 
culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean 
createIfNotExists, StackCrawlMark& stackMark)
System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo 
requestedCulture, Boolean createIfNotExists, Boolean tryParents, 
StackCrawlMark& stackMark)
System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, 
Boolean createIfNotExists, Boolean tryParents)
System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
System.Data.SQLite.Properties.Resources.get_SQL_CONSTRAINTS()
System.Data.SQLite.SQLiteProviderServices.System.Data.SQLite.ISQLiteSchemaExtensions.BuildTempSchema(SQLiteConnection
 cnn)
System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, 
SQLiteStatement previous, UInt32 timeoutMS, String& strRemain) in 
c:\dev\sqlite\dotnet\System.Data.SQLite\SQLite3.cs: line 309
System.Data.SQLite.SQLiteCommand.BuildNextCommand() in 
c:\dev\sqlite\dotnet\System.Data.SQLite\SQLiteCommand.cs: line 254
System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index) in 
c:\dev\sqlite\dotnet\System.Data.SQLite\SQLiteCommand.cs: line 261
System.Data.SQLite.SQLiteDataReader.NextResult() in 
c:\dev\sqlite\dotnet\System.Data.SQLite\SQLiteDataReader.cs: line 885
System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior 
behave) in c:\dev\sqlite\dotnet\System.Data.SQLite\SQLiteDataReader.cs: line 85
System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) in 
c:\dev\sqlite\dotnet\System.Data.SQLite\SQLiteCommand.cs: line 536
System.Data.SQLite.SQLiteCommand.ExecuteDbDataReader(CommandBehavior behavior) 
in c:\dev\sqlite\dotnet\System.Data.SQLite\SQLiteCommand.cs: line 524
System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior)
System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand
 entityCommand, CommandBehavior behavior)
System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand
 entityCommand, CommandBehavior behavior)
System.Data.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext
 context, ObjectParameterCollection parameterValues)
System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
Cegid.Framework.Data.SQLite.Sync.SQLiteSyncScopeManager.GetCachedConfiguredScopeDescription()
 in G:\CBP9\trunk\SDK\Framework\Data.SQLite\Sync\SQLiteSyncScopeManager.cs: 
line 281
Cegid.Framework.Data.SQLite.Sync.SQLiteSyncScopeManager.GetConfiguredScopeDescription()
 in G:\CBP9\trunk\SDK\Framework\Data.SQLite\Sync\SQLiteSyncScopeManager.cs: 
line 294
Cegid.Framework.Data.SQLite.Tests.SyncManagerTest.SyncConfiguredScopeDescriptionIsEqual2Test()
 in G:\CBP9\trunk\SDK\Framework\tests\Data.SQLite.Tests\SyncManagerTest.cs: 
line 358



-----Message d'origine-----
De : sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] 
De la part de Joe Mistachkin
Envoyé : mercredi 2 mai 2012 16:58
À : 'General Discussion of SQLite Database'
Objet : Re: [sqlite] Missing SQL_CONSTRAINTS resource in 
System.Data.SQLite.Linq since v1.0.79.0


Using Reflector, I can see the resources:

        https://system.data.sqlite.org/temporary/linq_resources.png

What is the exception you are seeing when the BuildTempSchema method is called?

--
Joe Mistachkin

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to