Re: [sqlite] Unhandled Exception: System.TypeInitializationException

2013-04-06 Thread Don V Nielsen
TY sir.  I'm going to be a much smarter developer when this is all said and
done.  I have lots to learn.  Is everything cool with sqlite and VS2012?
 I'm in the process of installing VS2012/Express on my 64bit laptop in an
effort to get my education started.


On Sat, Apr 6, 2013 at 4:18 AM, Bernd  wrote:

> Am 05.04.2013 22:19, schrieb Don V Nielsen:
>
>  Thanks for reading.  I am getting the following error moving a 32 bit
>> application from Windows Server 2003 to WS2008.  This is a straight copy
>> from one computer to another.  It runs fine on WS2003 and not so good on
>> WS2008.  The application was compiled with VS2005.  I do not have a
>> development environment on the WS2008.  I have not cleared licensing for
>> that, yet.
>>
>> I'm not a developer savant.  I can code in C#, assemble, and run things.
>>   I've been googling this issue, but do not really understand what I am
>> reading.  All of you rank pretty high on my rankings, so I thought I would
>> ask you all for help.
>>
>> Thanks for your time and consideration,
>> dvn
>>
>> Unhandled Exception: System.**TypeInitializationException: The type
>> initializer for 'CDG.AddAName.AAN' threw an exception. --->
>> System.**BadImageFormatException: Could not load file or assembly
>> 'System.Data.SQLite, Version=1.0.82.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.82.0, Culture=neutral,
>> PublicKeyToken=**db937bc2d44ff139'
>> at CDG.AddAName.AAN..cctor()
>>
>
> That looks a lot like your two systems do not have the same bitness. Could
> it be that your WS2008 is 64 bit? Have a look at
> https://system.data.sqlite.**org/index.html/doc/trunk/www/**downloads.wiki
> to resolve this issue.
>
> Bernd
> __**_
> 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] Unhandled Exception: System.TypeInitializationException

2013-04-06 Thread Bernd

Am 05.04.2013 22:19, schrieb Don V Nielsen:

Thanks for reading.  I am getting the following error moving a 32 bit
application from Windows Server 2003 to WS2008.  This is a straight copy
from one computer to another.  It runs fine on WS2003 and not so good on
WS2008.  The application was compiled with VS2005.  I do not have a
development environment on the WS2008.  I have not cleared licensing for
that, yet.

I'm not a developer savant.  I can code in C#, assemble, and run things.
  I've been googling this issue, but do not really understand what I am
reading.  All of you rank pretty high on my rankings, so I thought I would
ask you all for help.

Thanks for your time and consideration,
dvn

Unhandled Exception: System.TypeInitializationException: The type
initializer for 'CDG.AddAName.AAN' threw an exception. --->
System.BadImageFormatException: Could not load file or assembly
'System.Data.SQLite, Version=1.0.82.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.82.0, Culture=neutral,
PublicKeyToken=db937bc2d44ff139'
at CDG.AddAName.AAN..cctor()


That looks a lot like your two systems do not have the same bitness. 
Could it be that your WS2008 is 64 bit? Have a look at

https://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki
to resolve this issue.

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


[sqlite] Unhandled Exception: System.TypeInitializationException

2013-04-05 Thread Don V Nielsen
Thanks for reading.  I am getting the following error moving a 32 bit
application from Windows Server 2003 to WS2008.  This is a straight copy
from one computer to another.  It runs fine on WS2003 and not so good on
WS2008.  The application was compiled with VS2005.  I do not have a
development environment on the WS2008.  I have not cleared licensing for
that, yet.

I'm not a developer savant.  I can code in C#, assemble, and run things.
 I've been googling this issue, but do not really understand what I am
reading.  All of you rank pretty high on my rankings, so I thought I would
ask you all for help.

Thanks for your time and consideration,
dvn

Unhandled Exception: System.TypeInitializationException: The type
initializer for 'CDG.AddAName.AAN' threw an exception. --->
System.BadImageFormatException: Could not load file or assembly
'System.Data.SQLite, Version=1.0.82.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.82.0, Culture=neutral,
PublicKeyToken=db937bc2d44ff139'
   at CDG.AddAName.AAN..cctor()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind
failure logging.
To turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog].

   --- End of inner exception stack trace ---
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users