On 2/25/2014 3:44 PM, Joe Mistachkin wrote:
William Drago wrote:
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.

I've never heard of this language before; however, it sounds
like it hosts the CLR within its process?

I'm not sure. VEE is a graphical programming language similar to NI LabView. There are a lot of things in VEE that are beyond my ability to observe.

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.

For the 2.0 .NET Framework, loading assemblies from a network
share can be complicated by trust issues.

If trust issues are the cause of my problem, would a C# program targeting 2.0 also fail? If trust issues are insurmountable would this be a case for using the GAC?

   Since I do not see
any network share paths in your trace output, I'm not sure if
that is the case here.
There should be network shares in the trace output since I'm running the program from the network. It should be looking for SQLite in something like b:\SomeNetworkFolder\MyAppFolder. Instead it's looking in the VEE runtime executable path. I wonder if this is a symptom of trust issues.


One thing that I'm noticing is that the successful load uses
the "LoadFrom context" and the failed load uses the default
context.  I'm not sure how the VEE code loads the
System.Data.SQLite assembly (or other assemblies); however,
maybe try using the "LoadFrom context" when loading from the
network share as well.
I point and click on the assemblies I want to use in the VEE IDE, and have no control after that.

Anyway, thanks for the help. I have a few things to look into, and I may file support request with Agilent if I can rule out all issues with my network.

-Bill


--
Joe Mistachkin

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


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4335 / Virus Database: 3705/7124 - Release Date: 02/25/14



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

Reply via email to