jmbox Posted January 6, 2009 Share Posted January 6, 2009 can help?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 **************System.BadImageFormatException: Se ha intentado cargar un programa con un formato incorrecto. (Excepción de HRESULT: 0x8007000B) en ..(String , String , Int32 , Boolean ) en ..(Boolean ) en ..(Int32 ) en ..(Boolean ) en ..(Object , EventArgs ) en System.Windows.Forms.Control.OnClick(EventArgs e) en System.Windows.Forms.Button.OnClick(EventArgs e) en System.Windows.Forms.Button.WndProc(Message& m) en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)************** Ensamblados cargados **************mscorlib Versión del ensamblado: 2.0.0.0 Versión Win32: 2.0.50727.1434 (REDBITS.050727-1400) Código base: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll----------------------------------------vlite Versión del ensamblado: 1.2.0.2 Versión Win32: 1.2.0.2 Código base: file:///C:/Program%20Files/vLite/vLite.exe----------------------------------------System Versión del ensamblado: 2.0.0.0 Versión Win32: 2.0.50727.1434 (REDBITS.050727-1400) Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll----------------------------------------vLite Versión del ensamblado: 1.2.0.2 Versión Win32: 1.2.0.2 Código base: file:///C:/Program%20Files/vLite/vLite.exe----------------------------------------System.Windows.Forms Versión del ensamblado: 2.0.0.0 Versión Win32: 2.0.50727.1434 (REDBITS.050727-1400) Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll----------------------------------------System.Drawing Versión del ensamblado: 2.0.0.0 Versión Win32: 2.0.50727.1434 (REDBITS.050727-1400) Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll----------------------------------------MCDBNET2 Versión del ensamblado: 1.3.3.33894 Versión Win32: 1.33.0.133 Código base: file:///C:/Program%20Files/vLite/MCDBNET2.DLL----------------------------------------msvcm80 Versión del ensamblado: 8.0.50727.1434 Versión Win32: 8.00.50727.1434 Código base: file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.1434_none_d08b6002442c891f/msvcm80.dll----------------------------------------System.Windows.Forms.resources Versión del ensamblado: 2.0.0.0 Versión Win32: 2.0.50727.1434 (REDBITS.050727-1400) Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll----------------------------------------vhelper Versión del ensamblado: 1.0.3166.20582 Versión Win32: 1, 0, 0, 1 Código base: file:///C:/Program%20Files/vLite/vhelper.DLL----------------------------------------msvcm90 Versión del ensamblado: 9.0.30729.1 Versión Win32: 9.00.30729.1 Código base: file:///C:/Program%20Files/vLite/msvcm90.DLL----------------------------------------mscorlib.resources Versión del ensamblado: 2.0.0.0 Versión Win32: 2.0.50727.1434 (REDBITS.050727-1400) Código base: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll----------------------------------------************** Depuración JIT **************Para habilitar la depuración Just In Time (JIT), el archivo de configuración de estaaplicación o equipo (machine.config) debe tener elvalor jitDebugging establecido en la sección system.windows.forms.La aplicación también se debe compilar con la depuraciónhabilitadaPor ejemplo:<configuration> <system.windows.forms jitDebugging="true" /></configuration>Cuando esté habilitada la depuración JIT, cualquier excepción no controladase enviará al depurador JIT registrado en el equipoen lugar de controlarlo mediante el cuadro de diálogo. Link to comment Share on other sites More sharing options...
MagicAndre1981 Posted January 6, 2009 Share Posted January 6, 2009 you have copied the wrong WIMGAPI.dll to your vLite folder. You need the x86 DLL Link to comment Share on other sites More sharing options...
cluberti Posted January 7, 2009 Share Posted January 7, 2009 Correct - that error is telling you the format bitness (x86) of the .dll it's loading is invalid, and the error is ERROR_BAD_FORMAT:ERROR_BAD_FORMAT winerror.h# An attempt was made to load a program with an incorrect# format. Link to comment Share on other sites More sharing options...
jmbox Posted January 8, 2009 Author Share Posted January 8, 2009 ok problem solved Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now