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 > Preferred Connection Method

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-27-11, 08:14
arnib arnib is offline
Registered User
 
Join Date: Apr 2011
Posts: 5
Question Preferred Connection Method

Hi guys
I have a .net web application build using C#.
The application connects to Pervasive 9, 10 or 11 Database.
I use a reference to the Pervasive.Data.SQLClient ado.net 3.5 dll.
Currently I use a System.Data.Common.DbConnection however it has been giving me some problems and random issues expecially during excessive load.
I'm considering switching to using a Pervasive.Data.SqlClient.PsqlConnection instead. Does anyone have an opinion on which one is better than the other or if there is any real difference???
Reply With Quote
  #2 (permalink)  
Old 04-27-11, 09:06
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
One thing to be aware of, the PSQL ADO.NET 3.5 is only supported with PSQL v11.
The PSQL ADO.NET 3.2 works with PSQL v10 and v11 but might work with v9. PSQL v9 was only supported with PSQL ADO.NET 2.1.

I know of applications that use both methods and both applications work fine. I don't think it matters which one you use.

Start a new thread and post your code, exact error messages and as much information about when the connection problems occur and we can try to help.
__________________
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
Reply

Tags
connection string, connections

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