[sqlite] System.Data.SQLite.dll failing on WIndows 7

2014-06-16 Thread Calvert, Jim
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:

Re: [sqlite] System.Data.SQLite failing in Windows 7

2014-06-13 Thread Calvert, Jim
Joe, thanks for the idea.  I did contact them about the version being old
but no response yet.
Cheers
Jim

-Original Message-
From: sqlite-users-boun...@sqlite.org
[mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Joe Mistachkin
Sent: June 13, 2014 4:07 PM
To: 'General Discussion of SQLite Database'
Subject: Re: [sqlite] System.Data.SQLite failing in Windows 7


Calvert, Jim wrote:
> 
> Is there anybody from the developers of SQLite who can comment on this
issue
> for me.
> 

I did reply to your original post.  Here is a link to the thread:

http://www.mail-archive.com/sqlite-users%40sqlite.org/msg84247.html
 
--
Joe Mistachkin

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

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


Re: [sqlite] System.Data.SQLite failing in Windows 7

2014-06-13 Thread Calvert, Jim
Everyone,

Is there anybody from the developers of SQLite who can comment on this issue
for me.

Thanks

-Original Message-
From: sqlite-users-boun...@sqlite.org
[mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Calvert, Jim
Sent: June 12, 2014 11:46 PM
To: sqlite-users@sqlite.org
Subject: [sqlite] System.Data.SQLite failing in Windows 7

Hi everyone,

 

I have run into a very baffling issue with System.Data.SQLite.

It is running on my Windows 7 PC as part of a utility which sync's data on
my iPhone and iPad with MS Outlook.

It is fully up-to-date as Win 7 64 bit SP1.

 

Suddenly 2 weeks ago it began to fail with the following message:

 

"Could not load file or assembly 'System.Data.SQLite, Version=1.0.66.0,

Culture neutral, PublicKeyToken=db937bc2d44ff139' or one of its
dependencies.  

The module was expected to contain assembly manifest."

 

I have re-installed the Win 7 app multiple times.

I have re-installed System.Data.SQLite itself multiple times.

I have updated every possible MS redistributable.

I have run out of ideas and I am probably missing something really simple.

 

So, I need some clues as to where to look.

 

All ideas are welcome as I like this particular app and there are not any
good alternatives.

 

Thanks

 

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

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


[sqlite] System.Data.SQLite failing in Windows 7

2014-06-12 Thread Calvert, Jim
Hi everyone,

 

I have run into a very baffling issue with System.Data.SQLite.

It is running on my Windows 7 PC as part of a utility which sync's data on
my iPhone and iPad with MS Outlook.

It is fully up-to-date as Win 7 64 bit SP1.

 

Suddenly 2 weeks ago it began to fail with the following message:

 

"Could not load file or assembly 'System.Data.SQLite, Version=1.0.66.0,

Culture neutral, PublicKeyToken=db937bc2d44ff139' or one of its
dependencies.  

The module was expected to contain assembly manifest."

 

I have re-installed the Win 7 app multiple times.

I have re-installed System.Data.SQLite itself multiple times.

I have updated every possible MS redistributable.

I have run out of ideas and I am probably missing something really simple.

 

So, I need some clues as to where to look.

 

All ideas are welcome as I like this particular app and there are not any
good alternatives.

 

Thanks

 

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