yacine_3123
Messages postés10Date d'inscriptionmardi 7 août 2018StatutMembreDernière intervention20 août 2018
-
20 août 2018 à 14:29
Whismeril
Messages postés18404Date d'inscriptionmardi 11 mars 2003StatutContributeurDernière intervention30 mai 2023
-
22 août 2018 à 18:04
Bonjour tout le monde,
j'ai créée une application en se basant sur SQLITE et EXCEL. l'application marche très bien quand je la lance depuis Visual Basic, pourtant quand je l ai installer en utilisant inno(j'ai ajouter tous les fichier durant l instalation) elle me donne un message d'erreur que je ne comprends pas. voici le message:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
Exception Text **************
System.Data.SQLite.SQLiteException (0x80004005): unable to open database file
at System.Data.SQLite.SQLite3.Open(String strFilename, String vfsName, SQLiteConnectionFlags connectionFlags, SQLiteOpenFlagsEnum openFlags, Int32 maxPoolSize, Boolean usePool)
at System.Data.SQLite.SQLiteConnection.Open()
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)
at bibliomine_bis.connexion.connexion_Load(Object sender, EventArgs e) in C:\Users\BRAIN\documents\visual studio 2013\Projects\bibliomine_bis\bibliomine_bis\Forms\connexion.vb:line 22
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Whismeril
Messages postés18404Date d'inscriptionmardi 11 mars 2003StatutContributeurDernière intervention30 mai 2023623 20 août 2018 à 15:38
Bonjour
Est ce qu’il y a une base de données à ouvrir?
Est ce que ton installation inclus Sqlite3.dll?
Si oui est la bonne version (32 bits, 64 bits)? Dans le doute, compile en 32 bits, avec Sqlite3.dll 32 bits.
yacine_3123
Messages postés10Date d'inscriptionmardi 7 août 2018StatutMembreDernière intervention20 août 2018 20 août 2018 à 16:26
Rebonjour,
oui il y a une base de données et elle interagis avec l application en mode lecture seulement; quand je demande une modification dans la base de données j obtient le message suivant: attempt to write a readonly database!!!!
concernant le sqlite j'ai ajouté tous les fichiers existant dans le dossier Debug.
Whismeril
Messages postés18404Date d'inscriptionmardi 11 mars 2003StatutContributeurDernière intervention30 mai 2023623 22 août 2018 à 18:04
Ça te fais donc 2 messages d'erreur?
concernant le sqlite j'ai ajouté tous les fichiers existant dans le dossier Debug.
c'est vachement parlant....
Y'a 36 wrappeurs sqlite pour .Net, chacun ayant ses subtilités, de plus il y sqlite 32 bits et 64 bits (je te l'ai déjà écrit, il me semble), si tu as compilé en Any CPU, sur un PC 64 bits et que tu déploies sur un PC 32 bits, ça ne peut pas marcher.
Bref, aux questions précises que j'ai posées, peux tu apporter une réponse précise?
20 août 2018 à 16:26
oui il y a une base de données et elle interagis avec l application en mode lecture seulement; quand je demande une modification dans la base de données j obtient le message suivant: attempt to write a readonly database!!!!
concernant le sqlite j'ai ajouté tous les fichiers existant dans le dossier Debug.
Merci de votre interaction Whismeril