darioragusa / JWLibrary-ImagesAdder

This app allows you to add custom images to the Watchtower of the current week and show them on the second monitor.
MIT License
10 stars 5 forks source link

Problems adding the image #1

Closed livrasand closed 2 years ago

livrasand commented 2 years ago

I selected the image with no problem, and clicking the arrow to add the image to JW Library gives me this error:

Consulte el final de este mensaje para obtener más detalles sobre cómo invocar a la depuración 
Just-In-Time (JIT) en lugar de a este cuadro de diálogo.

************** Texto de la excepción **************
Devart.Data.SQLite.SQLiteException (0x80004005): Unable to open database file ---> System.BadImageFormatException: Se ha intentado cargar un programa con un formato incorrecto. (Excepción de HRESULT: 0x8007000B)
   en Devart.Data.SQLite.aj.sqlite3_open_v2(Byte[] A_0, IntPtr& A_1, Int32 A_2, String A_3)
   en Devart.Data.SQLite.q.a(String A_0, EncryptionMode A_1, String A_2, Boolean A_3)
   en Devart.Data.SQLite.af.n()
   en Devart.Data.SQLite.af.n()
   en Devart.Data.SQLite.u.a(DbConnectionOptions A_0, Object A_1, DbConnectionBase A_2)
   en Devart.Common.g.a(DbConnectionPool A_0, DbConnectionOptions A_1, DbConnectionBase A_2)
   en Devart.Common.DbConnectionPool.a(DbConnectionBase A_0)
   en Devart.Common.DbConnectionPool.GetObject(DbConnectionBase owningConnection)
   en Devart.Common.g.c(DbConnectionBase A_0)
   en Devart.Common.DbConnectionClosed.Open(DbConnectionBase outerConnection)
   en Devart.Common.DbConnectionBase.Open()
   en Devart.Data.SQLite.SQLiteConnection.Open()
   en AttendantZoom.FindWatchtower.findCurrentWatchtowers() en C:\Users\Daniel Jimenez Gomez\Desktop\GoAttendant\Attendant Zoom\Backup (E7 2201D15)\FindWatchtower.vb:línea 30
   en AttendantZoom.Form1.ButtonAdd_Click(Object sender, EventArgs e) en C:\Users\Daniel Jimenez Gomez\Desktop\GoAttendant\Attendant Zoom\Backup (E7 2201D15)\Form1.vb:línea 1432
   en System.Windows.Forms.Control.OnClick(EventArgs e)
   en System.Windows.Forms.Button.OnClick(EventArgs e)
   en System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   en System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ButtonBase.WndProc(Message& m)
   en System.Windows.Forms.Button.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Ensamblados cargados **************
mscorlib
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.4420.0 built by: NET48REL1LAST_C
    Código base: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Attendant Zoom
    Versión del ensamblado: 8.226.21.0
    Versión Win32: 8.226.21
    Código base: file:///C:/Users/Daniel%20Jimenez%20Gomez/Desktop/GoAttendant/Attendant%20Zoom/Backup%20(E7%202201D15)/bin/Debug/Attendant%20Zoom.exe
----------------------------------------
Microsoft.VisualBasic
    Versión del ensamblado: 10.0.0.0
    Versión Win32: 14.8.4084.0 built by: NET48REL1
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.4360.0 built by: NET48REL1LAST_C
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.4455.0 built by: NET48REL1LAST_C
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.4400.0 built by: NET48REL1LAST_C
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.4390.0 built by: NET48REL1LAST_C
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.4190.0 built by: NET48REL1LAST_B
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.4084.0 built by: NET48REL1
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.4084.0 built by: NET48REL1
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
MaterialSkin
    Versión del ensamblado: 2.3.1.0
    Versión Win32: 2.3.1.0
    Código base: file:///C:/Users/Daniel%20Jimenez%20Gomez/Desktop/GoAttendant/Attendant%20Zoom/Backup%20(E7%202201D15)/bin/Debug/MaterialSkin.DLL
----------------------------------------
AxInterop.WMPLib
    Versión del ensamblado: 1.0.0.0
    Versión Win32: 1.0.0.0
    Código base: file:///C:/Users/Daniel%20Jimenez%20Gomez/Desktop/GoAttendant/Attendant%20Zoom/Backup%20(E7%202201D15)/bin/Debug/AxInterop.WMPLib.DLL
----------------------------------------
Interop.WMPLib
    Versión del ensamblado: 1.0.0.0
    Versión Win32: 1.0.0.0
    Código base: file:///C:/Users/Daniel%20Jimenez%20Gomez/Desktop/GoAttendant/Attendant%20Zoom/Backup%20(E7%202201D15)/bin/Debug/Interop.WMPLib.DLL
----------------------------------------
mscorlib.resources
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.4084.0 built by: NET48REL1
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_es_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Windows.Forms.resources
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.4084.0 built by: NET48REL1
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
System.resources
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.4084.0 built by: NET48REL1
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_es_b77a5c561934e089/System.resources.dll
----------------------------------------
Devart.Data.SQLite
    Versión del ensamblado: 5.14.1504.0
    Versión Win32: 5.14.1504.0
    Código base: file:///C:/Users/Daniel%20Jimenez%20Gomez/Desktop/GoAttendant/Attendant%20Zoom/Backup%20(E7%202201D15)/bin/Debug/Devart.Data.SQLite.DLL
----------------------------------------
System.Data
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.4455.0 built by: NET48REL1LAST_C
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.4084.0 built by: NET48REL1
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
Devart.Data
    Versión del ensamblado: 5.0.2296.0
    Versión Win32: 5.0.2296.0
    Código base: file:///C:/Users/Daniel%20Jimenez%20Gomez/Desktop/GoAttendant/Attendant%20Zoom/Backup%20(E7%202201D15)/bin/Debug/Devart.Data.DLL
----------------------------------------
System.EnterpriseServices
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.4084.0 built by: NET48REL1
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
Accessibility
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.4084.0 built by: NET48REL1
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** Depuración JIT **************
Para habilitar la depuración Just In Time (JIT), el archivo de configuración de esta
aplicación o equipo (machine.config) debe tener el
valor jitDebugging establecido en la sección system.windows.forms.
La aplicación también se debe compilar con la depuración
habilitada

Por ejemplo:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Cuando esté habilitada la depuración JIT, cualquier excepción no controlada
se enviará al depurador JIT registrado en el equipo
en lugar de controlarlo mediante el cuadro de diálogo.

I am the author of Attendant Zoom, and I want to add this function to my application, giving the respective credits of course. You can see my app on this website: goattendant.com

darioragusa commented 2 years ago

Wow, thanks. About the image I don't know what is the problem, can you attach it? Just for reference JW Library doesn't like all types of images, sometimes happened that displayed just a black screen

livrasand commented 2 years ago

Certo, posso allegare una foto. Apprezzerei davvero il tuo aiuto nella risoluzione di questo problema. Ho aggiunto la funzione per modificare il testo dell'anno da JW Library e ha funzionato per me, solo l'immagine, mi dà quell'errore. Guarda le immagini qui:

Captura de pantalla (368) Captura de pantalla (369) Captura de pantalla (370) Captura de pantalla (371) Captura de pantalla (372) Captura de pantalla (373)

darioragusa commented 2 years ago

Ok, ok, it happened me yesterday. Did you install the app? You need to put this 2 files (file1, file2) in the same folder of the .exe

image

livrasand commented 2 years ago

I have the files in the same folder, actually I have created a new project called ImagesAdder, and it works great. But when adding these files to my Attendant Zoom project, it doesn't work ☹ it shows me such error. What will I be doing wrong?

Captura de pantalla (374) Captura de pantalla (375)

darioragusa commented 2 years ago

Try this, or this

livrasand commented 2 years ago

Yeh! Thank you very much, it's fixed, the whole problem was "Prefer 32 bit". You will have well deserved your recognition in Attendant Zoom, thank you very much.

darioragusa commented 2 years ago

Glad to help!