All,

I am using System.Data.SQLite with a relatively uncommon language called VEE. This is an interpreted language that runs in a 32bit development/runtime environment.

My application works fine when run on an internal or USB thumb drive. However, if I try running it from a network drive SQLite fails to load.

In the log files below I can see that when I'm running from my C:\ drive, everything is fine. But when I run from the network the Appbase is incorrect.

I don't know if this is a problem with the network, or with VEE.

Can anyone shed some light on this?

I am using the binaries found in sqlite-netFx20-binary-Win32-2005-1.0.91.0.zip

Thanks,
-Bill


Here are the log files...

This is running on C:\

*** Assembly Binder Log Entry  (2/24/2014 @ 5:56:00 PM) ***

The operation was successful.
Bind result: hr = 0x0. The operation completed successfully.

Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll Running under executable C:\Program Files (x86)\Agilent\VEE Pro 9.3\vee.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: User = XXXXXXXXXX\WDRAGO
LOG: DisplayName = System.Data.SQLite, Version=1.0.91.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139
 (Fully-specified)
LOG: Appbase = file:///C:/SQLite_Test/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = vee.exe
Calling assembly : Vee2net, Version=9.32.17704.1, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: No application configuration file found.
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config. LOG: Post-policy reference: System.Data.SQLite, Version=1.0.91.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file:///C:/SQLite_Test/System.Data.SQLite.DLL. LOG: Assembly download was successful. Attempting setup of file: C:\SQLite_Test\System.Data.SQLite.dll
LOG: Entering run-from-source setup phase.
LOG: Assembly Name is: System.Data.SQLite, Version=1.0.91.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139 LOG: Where-ref bind Codebase matches what is found in default context. Keep the result in default context.
LOG: Switch from LoadFrom context to default context.
LOG: Binding succeeds. Returns assembly from C:\SQLite_Test\System.Data.SQLite.dll.
LOG: Assembly is loaded in default load context.



This is what happens when I try running from a network drive:



*** Assembly Binder Log Entry  (2/24/2014 @ 5:59:40 PM) ***

The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll Running under executable C:\Program Files (x86)\Agilent\VEE Pro 9.3\vee.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: User = XXXXXXXXXX\WDRAGO
LOG: DisplayName = System.Data.SQLite, Version=1.0.91.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139
 (Fully-specified)
LOG: Appbase = file:///C:/Program Files (x86)/Agilent/VEE Pro 9.3/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = vee.exe
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Program Files (x86)\Agilent\VEE Pro 9.3\vee.exe.config LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config. LOG: Post-policy reference: System.Data.SQLite, Version=1.0.91.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/Agilent/VEE Pro 9.3/System.Data.SQLite.DLL. LOG: Attempting download of new URL file:///C:/Program Files (x86)/Agilent/VEE Pro 9.3/System.Data.SQLite/System.Data.SQLite.DLL. LOG: Attempting download of new URL file:///C:/Program Files (x86)/Agilent/VEE Pro 9.3/System.Data.SQLite.EXE. LOG: Attempting download of new URL file:///C:/Program Files (x86)/Agilent/VEE Pro 9.3/System.Data.SQLite/System.Data.SQLite.EXE.
LOG: All probing URLs attempted and failed.




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

Reply via email to