Infotba
|
Posted: 10/21/2003, 7:03 AM |
|
Is there any body who help me ?
How can I connect P3 database by asp ?
Primavera database (Pervasive-ODBC-DSN ?)
What is the syntax ?
Regards
|
|
|
EMG
|
Posted: 10/21/2003, 9:03 AM |
|
oConn.Open "Provider=PervasiveOLEDB;Data Source=C:\PervasiveEB;"
|
|
|
infotba
|
Posted: 10/24/2003, 4:19 AM |
|
Hi,
How can I have it ?
Is it free ?
Regards
|
|
|
Robee
|
Posted: 10/24/2003, 1:57 PM |
|
The ODBC driver should be there, when you install the Pervasive client.
|
|
|
infotba
|
Posted: 10/26/2003, 3:04 AM |
|
Hi,
(XP Pro,Code Charge 2.04, asp)
My connection string is:
' Connection begin
Dim cn : Set cn = Server.CreateObject("ADODB.Connection")
'-------------------------------
' Create database connection string, login and password variables
'-------------------------------
Dim strConn, strLogin, strPassword
strConn = "Provider=PervasiveOLEDB;Data Source=C:\PervasiveEB;"
strLogin = ""
strPassword = ""
'-------------------------------
' Open the connection
'-------------------------------
cn.open strConn, strLogin, strPassword
Error Type:
ADODB.Connection (0x800A0E7A)
Provider cannot be found. It may not be properly installed.
/app/Common.asp, line 26
Line 26 is cn.open strConn, strLogin, strPassword.
But I have a drivers Pervasive Software ODBC-32 2.04.02.10 W32BTINT.DLL in ODBC Data Aource Administrator.
Where is the problem ? Pls help me ?
Reagrds,
|
|
|
|