How to connect Pervasive Software ODBC-32 in ASP
hi everyone,
im new user for asp. now i facing a problem here, wheni try to use the following coding to connect the pervasive SQL databse but error is come out.
my coding is:
<%
set conn=Server.CreateObject("ADODB.Connection")
strDSN = "Driver={Pervasive Software ODBC-32};DATAPATH=M:\macola70\Data_999\file.dpd;DDFPATH =M:\macola70\Data_999\file.dpd"
conn.Open strDSN
%>
and the error is:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Pervasive Software][ODBC Interface][Pervasive Software SQL Engine]General error.
anyone can help in this. any wrong in my coding?
thanks.
|