Output SQLite Database
Re: Output SQLite Database
J'ai essayé et ça ne marche pas. Je vais lui demander de te contacter.
-
- The Passion One / Le Passionné
- Posts: 193
- Joined: Fri Sep 16, 2016 3:16 pm
- Location: Quebec, QC.
- Contact:
Re: Output SQLite Database
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.
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.
-
- The Passion One / Le Passionné
- Posts: 193
- Joined: Fri Sep 16, 2016 3:16 pm
- Location: Quebec, QC.
- Contact:
Re: Output SQLite Database
Je t'ai envoyé mon fichier Simon.
Merci
Merci
-
- STHS Owner / Propriétaire du STHS
- Posts: 14793
- Joined: Sat Oct 08, 2005 4:18 pm
- Location: Montreal, Canada
- Contact:
Re: Output SQLite Database
Je t'ai envoyé un courriel avec de l'information.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
Re: Output SQLite Database
Ya un fix qui fonctionne pour ça?
-
- STHS Owner / Propriétaire du STHS
- Posts: 14793
- Joined: Sat Oct 08, 2005 4:18 pm
- Location: Montreal, Canada
- Contact:
Re: Output SQLite Database
Ce subjet date qu'un an... C'est quoi problème exactement CBSHL?
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
Re: Output SQLite Database
Quand mon collegue tente de faire un output il obtient 2 messages d'erreurs.
Le premier:
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
On a envoyé le fichier .sth a un ami qui a le simulateur et lui il output sans problème.
Des idées?
Le premier:
Et le 2eCould 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
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
On a essayé ca aussi, ca a enlevé le premier message mais le 2e revient.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 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
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
Test en désactivant l'antivirus pour voir.
Re: Output SQLite Database
Ça n'a pas fonctionné malheureusement
-
- STHS Owner / Propriétaire du STHS
- Posts: 14793
- Joined: Sat Oct 08, 2005 4:18 pm
- Location: Montreal, Canada
- Contact:
Re: Output SQLite Database
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é.
Please note the STHS is completed on .Net Framework 2.0 on X86. I have highlight 2 download DDL that might work for you.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
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
Re: Output SQLite Database
I'll have our commish download that and see if it works. I'll keep you updated