INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Connection string SQL2005 StoredProcedure to Pervasive 8.5

Connection string SQL2005 StoredProcedure to Pervasive 8.5

(OP)
Can someone help me with creating a Connection string to connect from a SQL2005 StoredProcedure to Pervasive 8.5?
Serveral tries do not lead to any succes.

ODBC parameters are:
ODBC;DSN=Ridder_Read;ServerName=nt-server.1583;ServerDSN=ridder_read;ArrayFetchOn=1;ArrayBufferSize=8;TransportHint=TCP;DecimalSymbol=.;ClientVersion=8.50.189.000;CodePageConvert=1252;AutoDoubleQuote=0;TABLE=ARTIKEL

 

 

RE: Connection string SQL2005 StoredProcedure to Pervasive 8.5

What error are you getting?  The most simple ODBC COnnection string is:
DSN=<dsnname>
Another one is:
Driver={Pervasive ODBC Client Interface};ServerName=myServerAddress;dbq=@dbname;

Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
http://www.mirtheil.com

RE: Connection string SQL2005 StoredProcedure to Pervasive 8.5

(OP)
Thanks for your reply!
I tried your connection string:
('Provider=MSDASQL','Driver={Pervasive ODBC Client Interface};DSN=Ridder_Read',
Now I am getting the Error:
OLE DB provider "Provider=MSDASQL" has not been registered
 

 

 

RE: Connection string SQL2005 StoredProcedure to Pervasive 8.5

(OP)
I searched SQL Server Manager and saw as Linked Server Provider: "PervasiveOLEDB.8.50".

STATEMENT:
'PervasiveOLEDB.8.50','DSN=Ridder_Read;ServerName=NT-SERVER.1583;ServerDSN=Ridder_Read',

ERROR:
OLE DB provider "PervasiveOLEDB.8.50" for linked server "(null)" returned message "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.".
OLE DB provider "PervasiveOLEDB.8.50" for linked server "(null)" returned message "Mode, Protection Level, or an unknown parameter has been set (incorrectly) in the connection string".
Msg 7303, Level 16, State 1, Line 1
Cannot initialize the data source object of OLE DB provider "PervasiveOLEDB.8.50" for linked server "(null)".

Above Statement gives above error: what's wrong?

RE: Connection string SQL2005 StoredProcedure to Pervasive 8.5

Using the PervasiveOLEDB provider, the connection string is different.  It would be something like:
"Provider=PervasiveOLEDB;Data Source=<dbName>;Location=<server>"
 

Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
http://www.mirtheil.com

RE: Connection string SQL2005 StoredProcedure to Pervasive 8.5

(OP)
Mirtheil,

Thanks for your inputs.
I solved my problem by using linked tables in an Access Database and connect to it.
This solutions gives suitable results!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close