Everyone,

 

I am trying to solve why a third party app called Appigo Sync is failing on
my Windows 7 SP1 64bit.

 

To troubleshoot this, I downloaded the following file:
sqlite-netFx451-setup-bundle-x86-2013-1.0.92.0.exe and installed it.

 

When I run text.exe from its bin folder, I get the following error message:

 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++

 

See the end of this message for details on invoking 

just-in-time (JIT) debugging instead of this dialog box.

 

************** Exception Text **************

System.BadImageFormatException: Could not load file or assembly
'System.Data.SQLite, Version=1.0.92.0, Culture=neutral,
PublicKeyToken=db937bc2d44ff139' or one of its dependencies. An attempt was
made to load a program with an incorrect format.

File name: 'System.Data.SQLite, Version=1.0.92.0, Culture=neutral,
PublicKeyToken=db937bc2d44ff139'

   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean
throwOnError, Boolean ignoreCase, Boolean reflectionOnly,
StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean
loadTypeFromPartialName, ObjectHandleOnStack type)

   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean
throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark&
stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)

   at System.Type.GetType(String typeName)

   at System.Data.Common.DbProviderFactories.GetFactory(DataRow providerRow)

   at test.TestCasesDialog.runButton_Click(Object sender, EventArgs e) in
c:\dev\sqlite\dotnet\test\TestCasesDialog.cs:line 112

   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ButtonBase.WndProc(Message& m)

   at System.Windows.Forms.Button.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)

 

Assembly manager loaded from:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll

Running under executable  C:\Program Files
(x86)\System.Data.SQLite\2013\bin\test.exe

--- A detailed error log follows. 

 

=== Pre-bind state information ===

LOG: DisplayName = System.Data.SQLite, Version=1.0.92.0, Culture=neutral,
PublicKeyToken=db937bc2d44ff139

(Fully-specified)

LOG: Appbase = file:///C:/Program Files (x86)/System.Data.SQLite/2013/bin/

LOG: Initial PrivatePath = NULL

Calling assembly : System.Data, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089.

===

LOG: This bind starts in default load context.

LOG: Using application configuration file: C:\Program Files
(x86)\System.Data.SQLite\2013\bin\test.exe.Config

LOG: Using host configuration file: 

LOG: Using machine configuration file from
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.

LOG: Post-policy reference: System.Data.SQLite, Version=1.0.92.0,
Culture=neutral, PublicKeyToken=db937bc2d44ff139

LOG: Attempting download of new URL file:///C:/Program Files
(x86)/System.Data.SQLite/2013/bin/System.Data.SQLite.DLL.

ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing
terminated.

 

 

 

************** Loaded Assemblies **************

mscorlib

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.18444 built by: FX451RTMGDR

    CodeBase:
file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

----------------------------------------

test

    Assembly Version: 1.0.92.0

    Win32 Version: 1.0.92.0

    CodeBase:
file:///C:/Program%20Files%20(x86)/System.Data.SQLite/2013/bin/test.exe

----------------------------------------

System

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL

    CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a
5c561934e089/System.dll

----------------------------------------

System.Windows.Forms

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL

    CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0
_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System.Drawing

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL

    CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0
.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System.Data

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL

    CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b
77a5c561934e089/System.Data.dll

----------------------------------------

System.Core

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL

    CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0_
_b77a5c561934e089/System.Core.dll

----------------------------------------

System.Xml

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL

    CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__
b77a5c561934e089/System.Xml.dll

----------------------------------------

System.Configuration

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL

    CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0
_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

System.Numerics

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL

    CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.
0.0__b77a5c561934e089/System.Numerics.dll

----------------------------------------

System.Data.OracleClient

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL

    CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data.OracleClient/v4
.0_4.0.0.0__b77a5c561934e089/System.Data.OracleClient.dll

----------------------------------------

 

************** JIT Debugging **************

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.

 

For example:

 

<configuration>

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

</configuration>

 

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.

 

+++++++++++++++++++++++++++++++++++++++++++++++++++

 

I am not a "C" programmer by any stretch.  So, I need someone to look at
this and suggest why its failing.

Note that in this scenario, the third party app is completely eliminated.

Clearly there is something missing or configured badly in my Windows 7.

 

Thanks

Jim Calvert

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to