Page 3 of 3

Re: Output SQLite Database

Posted: Sat Sep 24, 2016 10:27 pm
by gresh
J'ai essayé et ça ne marche pas. Je vais lui demander de te contacter.

Re: Output SQLite Database

Posted: Sun Sep 25, 2016 12:12 pm
by Showtime Hockey
Bon, en fait Gresh a tout essayer et rien ne fonctionne pourtant tout semble correct.

Voici le message d'erreur à partir du tout début:

''Exception Type

System.I.O.I.OException

Message - Source

Le processus ne peut pas accéder au fichier 'C\STHSv3\System.Data.SQLite.dll', car il est en cours d'utilisation par un autre processus. - mscorlib

Stack Trace

à System.I.O._Error.WinIOError(Int32 errorCode, String maybeFullPath)
à System.I.O.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rughts, Boolean useRights, FileShare share, Int32 buffer Size, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
à System.I.O.FileStream..(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
à System.I.O.FileStream..ctor(String path, FileMode mode)
à SimonTHockeySimulator.OutputSQLite.( edoMeliF , gnirtS)
à SimonTHockeySimulator.OutputSQLite.ExtractSQLiteDLL() ''

Puis, une fois que l'ont clique sur OK:

''Could not load file or assembly 'System.Data.SQLIte'. The STHS will extract the file. Please close the STHS and reopen to be able to Output the SQLite Database.''

Donc, on a tout simplement refait un dossier STHS et changer les liens dans le output options. Nous avons également télécharger le lien suivant: http://system.data.sqlite.org/downloads ... .103.0.zip puis nous avons suivis tes intructions. Nous avons aussi télécharger le Net Framework 4.6.1 puis activé les options Internet IIS dans les fonctionnalités de Windows et voici le nouveau message d'erreur:

''Could not load file or assembly 'System.Data.SQLite'. The STHS will extract the file. Please close the STHS and reopen to be able to Output the SQLite Database. ''

Maintenant 2 heures de temps perdu a essayé de trouver le problème, on lache prise. Nous avons besoin de ton aide.

J'ai la version 3.0.8 du simulateur. Rien ne marche lorsque j'essaie le output avec l'option SQ Database. Pourtant, tout fonctionne avec l'option HTML seulement.

Re: Output SQLite Database

Posted: Mon Sep 26, 2016 4:19 pm
by Showtime Hockey
Je t'ai envoyé mon fichier Simon.

Merci

Re: Output SQLite Database

Posted: Mon Sep 26, 2016 10:30 pm
by SimonT
Je t'ai envoyé un courriel avec de l'information.

Re: Output SQLite Database

Posted: Sat Aug 12, 2017 7:45 pm
by CBSHL
Ya un fix qui fonctionne pour ça?

Re: Output SQLite Database

Posted: Sat Aug 12, 2017 8:59 pm
by SimonT
Ce subjet date qu'un an... C'est quoi problème exactement CBSHL?

Re: Output SQLite Database

Posted: Sun Aug 13, 2017 9:08 am
by CBSHL
Quand mon collegue tente de faire un output il obtient 2 messages d'erreurs.

Le premier:
Could not load file or assembly "System.Data.SQLite". The STHS will extract the file. Please close the STHS and reopen to be able to Output the SQLite Database
Et le 2e
Image
Screenshot du 2e problème

On a essayé plusieurs choses mais le probleme revient toujours. voici ce qu'on a testé:
mettre le .dll dans Input et on a fait Process Database. aucun résultat
Faire la commande Create SQLite News Database. Aucun résultat
SimonT wrote: Fri Sep 23, 2016 10:39 pm Voici un lien a téléchargé : http://system.data.sqlite.org/downloads ... .103.0.zip
Dans le fichier zip, copie le fichier System.Data.SQLite.dll dans le même répertoire que le STHS en écrasant le fichier existant (Le STHS doit être fermé pour que ça fonctionne). Ensuite, ouvre le STHS et essaye l'output de la base de données à nouveau.
On a essayé ca aussi, ca a enlevé le premier message mais le 2e revient.

On a envoyé le fichier .sth a un ami qui a le simulateur et lui il output sans problème.
Des idées?

Re: Output SQLite Database

Posted: Sun Aug 13, 2017 9:13 am
by CBSHL
Pour ajouter, je lui ai demandé de redemarrer son ordinateur pour etre sur qu'il n'y avait pas un 2e STHS ouvert en background ou qqc qui utiliserait le fichier vu que ca dit "is being used by another process" mais ca a rien changé...

Re: Output SQLite Database

Posted: Sun Aug 13, 2017 10:12 am
by JimToupet
Test en désactivant l'antivirus pour voir.

Re: Output SQLite Database

Posted: Sun Aug 13, 2017 11:10 am
by CBSHL
Ça n'a pas fonctionné malheureusement

Re: Output SQLite Database

Posted: Sun Aug 13, 2017 9:10 pm
by SimonT
J'ai déjà vu des ordinateurs configuré très drôlement qui avait besoin d'un DDL très spécifique. Voici un courriel qu'un autre usager m'a envoyé.
My friend organized the tests with the DLL that you suggested and also did other tests.

We found situations where SQLite worked and others where it did not work. The results are in the table below. My operating system is Windows 7 64-bit.

The table is split into two parts. In the first part are the tests with DLL from SQLite Binary Bundle. The second part used a different configuration suggested in System.Data.SQLite website.
About that second part: when the processors architecture of the development machine is different from the processors architecture of the client machine, it is recommended to use the "native library feature pre-loading". So compiled versions with plataform target "any cpu" worked.

About the "nativey pre-loading library", there is an explanation of how to do this on website http://system.data.sqlite.org/index.htm ... loads.wiki.

I hope I have explained you everything as he explained to me. LOL.

Thanks.



DLL / VS Target Framework/ VS Plataform Target / Result
http://system.data.sqlite.org/downloads ... 0.99.0.zip 2 x86 FAIL
http://system.data.sqlite.org/downloads ... 0.99.0.zip 3.5 x86 FAIL
http://system.data.sqlite.org/downloads ... .103.0.zip 2 x86 FAIL
http://system.data.sqlite.org/downloads ... .103.0.zip 3.5 x86 FAIL
http://system.data.sqlite.org/downloads ... .103.0.zip 2 x64 FAIL
http://system.data.sqlite.org/downloads ... .103.0.zip 2 Any Cpu FAIL
http://system.data.sqlite.org/downloads ... .103.0.zip 3.5 x64 FAIL
http://system.data.sqlite.org/downloads ... .103.0.zip 3.5 Any Cpu FAIL
http://system.data.sqlite.org/downloads ... .103.0.zip 2 x86 Works
http://system.data.sqlite.org/downloads ... .103.0.zip 3.5 x86 Works


Binary

DLL / VS Target Framework/ VS Plataform Target / Result
http://system.data.sqlite.org/downloads ... .103.0.zip 2 x86 FAIL
http://system.data.sqlite.org/downloads ... .103.0.zip 3.5 x86 FAIL
http://system.data.sqlite.org/downloads ... .103.0.zip 2 x64 FAIL
http://system.data.sqlite.org/downloads ... .103.0.zip 3.5 x64 FAIL
http://system.data.sqlite.org/downloads ... .103.0.zip 3.5 x86 Works
http://system.data.sqlite.org/downloads ... .103.0.zip 3.5 x64 Works
http://system.data.sqlite.org/downloads ... .103.0.zip 3.5 Any CPU Works
http://system.data.sqlite.org/downloads ... .103.0.zip 3.5 Any CPU Works
Please note the STHS is completed on .Net Framework 2.0 on X86. I have highlight 2 download DDL that might work for you.

Re: Output SQLite Database

Posted: Fri Aug 18, 2017 1:39 pm
by CBSHL
I'll have our commish download that and see if it works. I'll keep you updated