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.


SQL problem with new version


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-27-2007, 02:16 PM
Senior Member
 
Join Date: Apr 2007
Location: Netherlands
Posts: 102
Default SQL problem with new version

Hi Erel,

Thanks for the new version; in general it works fast and fine with my programs. However, one program which runs fine under the previous version, does run in test mode under the new version but will not compile any more.
I get the message (translated in English):

"Error compiling program.
Error message: error CS0234. The type or the name of the name space SQLite does not exist in the name space System.Data (is an assembly reference missing?)
Line number: 46
Line:cmd.New1 ("Select * from WPOILABEL_V1", con Value)"

Looking in software the following Microsoft.Net software have been installed:


Framework 1.1 No size indicated!?
Framework 1.1 Hotfix (KB928366) No size indicated!?
Framework 2.0
Framework 2.0 Language Pack - NLD
Compact Framework 2.0 SP2

Do you have any idea what is wrong?

Thanks for your help,

Harry
Reply With Quote
  #2 (permalink)  
Old 12-27-2007, 02:43 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,334
Default

You should replace the old SQLDesktop / SQLDevice files with the new ones.
You could find the new files under: C:\Program Files\Anywhere Software\Basic4ppc Desktop\Libraries
Reply With Quote
  #3 (permalink)  
Old 12-27-2007, 04:57 PM
Senior Member
 
Join Date: Apr 2007
Location: Netherlands
Posts: 102
Default SQL problem with new version

Erel,

As you suggested I replaced the SQL libraries with the new ones; it appeared however that only the device version is different (now 1.0.2885.27816) the desktop version still is 1.0.0.0.

Compiling for the desktop I get the error message mentioned before; compiling for the device I get a somewhat different error message ( translated in English):"Error CS 0246 The type or the name space name is not found (Is a usage instruction or assembly reference missing?)"

By the way, compiling not Optimized works well.

Harry
Reply With Quote
  #4 (permalink)  
Old 12-27-2007, 05:35 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,334
Default

Please make sure that you replace SQLDesktop.dll with the new one (the file version could be the same). Otherwise you will see this error.
Reply With Quote
  #5 (permalink)  
Old 12-30-2007, 11:52 AM
Senior Member
 
Join Date: Apr 2007
Location: Netherlands
Posts: 102
Default

Erel,

Problem is solved. Apparently something went wrong while installing version 6. The, or at least these libraries were not updated. I installed version 6 again and with these libraries it works fine now,
Thanks for your help,

Harry
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
Problem running a progranm in version 6 !? HARRY Questions & Help Needed 5 01-18-2008 01:41 PM
Version 6.01 Problem with SIP Features of Hardware Library Woinowski Bug Reports 4 01-08-2008 01:59 PM
Version 6.0 Device optimized compilation problem HarleyM Bug Reports 0 12-28-2007 03:01 AM
New version yildi Questions & Help Needed 4 12-27-2007 05:54 PM
Version 5.00 is soon to come Erel Announcements 13 05-16-2007 01:13 PM


All times are GMT. The time now is 01:56 PM.


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