Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PsqlConnection +ServerDSN

Status
Not open for further replies.

mathinic

Programmer
Dec 9, 2005
1
SE
I want to use PsqlConnection to connect to Pervasive database.

For example:
public PsqlConnection myConnection;
myConnection = new PsqlConnection("Server=myHost;ServerDSN=DEMODATA");
myConnection.Open();

I want to access a Pervasive database from an ASP.NET application. The asp.net application and the database are not within same box (i.m. the web application and Pervasive SQL database are on different computers across the Internet.

How do I create “ServerDSN” or is there any other way to connect to the database?



 
The ServerDSN is the Pervasive Engine ODBC DSN on the machine where the Pervasive engine is running.
You won't create the "ServerDSN" on the webserver but you would create it on the Database server.

Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
Custom VB and Btrieve development.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top