If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Pervasive.SQL > Visual Studio .NET 2005

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-22-05, 06:57
egomouse egomouse is offline
Registered User
 
Join Date: Feb 2005
Location: Wales, UK
Posts: 42
Visual Studio .NET 2005

I'm having trouble connecting to our Pervasive database (V8.6) in Visual Studio .NET 2005 Beta 2. I want to get some info from the database into a drop down menu.

These are the steps i'm taking.

1) Selecting the box for the drop down menu (ComboBox), in the properties select DataSource then Add Project Data Source. (Do it this way so it makes the data set as well)

2) Select Database - New Connection - Using ODBC select our Database (CHAHO) - Test Connection (OK)

3) Click next and leave the name as connectionstring1 - Select the required table and leave the name as dataset1.

4) Then i get the following error:-
Some Updating commands could not be generated automatically. The error message was:
ERROR [HYC00][Pervasive][ODBC Client Interface][LNA][Pervasive][ODBC Engine Interface]Driver not capable.

Any ideas on a fix or updates i might need for pervasive?
Reply With Quote
  #2 (permalink)  
Old 09-22-05, 07:57
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
I just tried using DEMODATA and one of my database tables and it worked fine. I am using PSQL V8.7 (rather than 8.6). Does it fail regardless of the database/datasource/table you pick?
If not, do the table(s) that cause the error pass a database consistency check?
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
  #3 (permalink)  
Old 09-22-05, 09:38
egomouse egomouse is offline
Registered User
 
Join Date: Feb 2005
Location: Wales, UK
Posts: 42
Yeah looks like it's all the databases. I've just tried the demodata and it does the same.

I've also tried connecting to an MySQL database and that fails as well.

Are you using a ODBC connection or BTreive? or something diffrent. I'm new to VB.
Reply With Quote
  #4 (permalink)  
Old 09-22-05, 09:42
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
If it's failing with MySQL, it may be something wrong with your VS.NET install. I'm actually not using Beta 2. I'm using the CTP from August (I think). The version I have is v8.0.50727.7 (RTM.050727-700). What version are you using?
I'm using an ODBC connection. The VB.NET is not very friendly to calling unmanaged code (like the Btrieve API).
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
  #5 (permalink)  
Old 09-22-05, 10:10
egomouse egomouse is offline
Registered User
 
Join Date: Feb 2005
Location: Wales, UK
Posts: 42
I'm using V8.0.50215.44 (beta2.050215-4400)

It was working fine in beta1 but now gone all wrong. Would go back to beta1 but when i installed it on a different machine to look at the code it says this beta version has expired or something like that.
Reply With Quote
  #6 (permalink)  
Old 09-22-05, 10:14
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
I would try the later CTP or the RC from the MSDN site.
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
  #7 (permalink)  
Old 09-22-05, 11:02
egomouse egomouse is offline
Registered User
 
Join Date: Feb 2005
Location: Wales, UK
Posts: 42
I'm not a MSDN person. I ordered Beta2 off the website.
Reply With Quote
  #8 (permalink)  
Old 09-22-05, 12:27
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
Sounds like you're going to have to wait until they ship VS.NET 2005. I know that with the AUgust CTP, it works. It doesn't seem to be a Pervasive problem (because you said it happens with a MySQL database too).
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
  #9 (permalink)  
Old 09-23-05, 04:31
egomouse egomouse is offline
Registered User
 
Join Date: Feb 2005
Location: Wales, UK
Posts: 42
And when will that be? 2010

I'll ask my brother, think he's got a MSDN subscription. Or buy .NET 2003 but i don't want to do that, i like using the latest version and technology. I'm a GEEK! lol

But thanks for the Help Dude
Reply With Quote
  #10 (permalink)  
Old 09-23-05, 08:34
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
Actually, I'm hearing November...
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
  #11 (permalink)  
Old 09-23-05, 08:40
egomouse egomouse is offline
Registered User
 
Join Date: Feb 2005
Location: Wales, UK
Posts: 42
But i want it now! lol not too bad i guess, but then we need to expect the usally delay so i'll be Jan
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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