Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Desktop executable crashes on Vista laptop


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-06-2008, 03:34 PM
willisgt's Avatar
Senior Member
 
Join Date: Aug 2007
Location: Nacogdoches, Texas USA
Posts: 157
Default Desktop executable crashes on Vista laptop

One of my clients is running our software on XP and Vista laptops. All of the XP machines work fine, but one - and only one - of the Vista laptops produces this error:

Error on sub AppStart
Could not load file or assembly System.Data.Sqlite version 1.0.40.0
Culture=normal
Public key token DB937BC244FF139
or one of its dependencies

Note: the client elected to install the software on a Flash drive. Every employee has one, and just checks out a laptop when the go out into the field.

The client can plug this particular flash drive into any other computer, and it works. Plug it into this one Vista machine, and goes kablooey.

My first reaction was: it sounds like .Net 2.0 isn't installed on this machine. But .Net is built into Vista, isn't it?

If anyone has a clue or suspicion as to what may be causing this problem, I'd greatly appreciate your input.


Gary

__________________
PC: Windows XP Pro SP3 / Basic4PPC v6.5
PPC: HTC 8925 (AT&T Tilt) / Windows Mobile 6
Reply With Quote
  #2 (permalink)  
Old 06-06-2008, 05:08 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,757
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Quote:
Originally Posted by willisgt View Post
But .Net is built into Vista, isn't it?
Yes. Vista comes with .NET 3.0 whose Common Language Runtime is a slightly tweaked version 2.0. The major difference is the addition of Windows Presentation Foundation and the Windows Communication Foundation to the Framework.

The first thing to try is to run the app as Administrator in case you have a permission problem. The next is to try running as Administrator in XP SP2 compatibility mode.

I am running Vista Home Premium on my desktop and in developing all my libraries I have had no problems with Vista compatibility. I run Dbasic itself in Administrator mode as a matter of history although technically that is no longer necessary. My compiled apps run fine as non-Administrators but I have to admit that I haven't used Sqlite.
Reply With Quote
  #3 (permalink)  
Old 06-07-2008, 06:58 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,186
Default

It is probably a security problem.
Try to copy the application to the hard disk and see if it helps.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
IDE crashes on device kolbe Bug Reports 3 08-16-2008 10:27 AM
Low-Cost Laptop Cableguy Chit Chat 2 07-20-2008 11:16 AM
V6 on Vista home basic, my new laptop. taximania Questions & Help Needed 1 01-26-2008 02:36 PM
Error when compiling an executable over 1MB Louis Questions & Help Needed 1 09-01-2007 05:53 AM
Poorly laptop taximania Chit Chat 15 05-16-2007 09:27 PM


All times are GMT. The time now is 02:27 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0