Hi
I have this connection on Windows NT Server with IIS 4 It's work :
<%
Dim objConn
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.ConnectionString = "DRIVER={Pervasive Software ODBC-32};DATAPATH=\\GEFUJINTC02\MACOLA75\MACOLA75\DATA;DDFPATH=\\GEFUJINTC02\MACOLA75\MACOLA75\DATA"
objConn.Open
mySQL = "Select Item_no, sum(Unit_Price)/count(Item_no) as Promedio From OELINHST_SQL Group by Item_No "
set rstemp = objConn.Execute(mySQL)
Do while not RStemp.Eof
%>
I trying install on windows 2000 pro with IIS 5, but not work.
This is the connection, is the same to Windows NT Server:
<%
Dim objConn
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.ConnectionString = "DRIVER={Pervasive Software ODBC-32};DATAPATH=\\GEFUJINTC02\MACOLA75\MACOLA75\DATA;DDFPATH=\\GEFUJINTC02\MACOLA75\MACOLA75\DATA"
objConn.Open
mySQL = "Select Item_no, sum(Unit_Price)/count(Item_no) as Promedio From OELINHST_SQL Group by Item_No "
set rstemp = objConn.Execute(mySQL)
Do while not RStemp.Eof
%>
In this is the error that showme:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Pervasive Software][ODBC Interface][Pervasive Software SQL Engine]General error.
/ciweb/Aduanas/repfacturacion.asp, line 50
I don't know , what this error, i Try some ways, but i haven't connect. Please help me
Thanks.
I have this connection on Windows NT Server with IIS 4 It's work :
<%
Dim objConn
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.ConnectionString = "DRIVER={Pervasive Software ODBC-32};DATAPATH=\\GEFUJINTC02\MACOLA75\MACOLA75\DATA;DDFPATH=\\GEFUJINTC02\MACOLA75\MACOLA75\DATA"
objConn.Open
mySQL = "Select Item_no, sum(Unit_Price)/count(Item_no) as Promedio From OELINHST_SQL Group by Item_No "
set rstemp = objConn.Execute(mySQL)
Do while not RStemp.Eof
%>
I trying install on windows 2000 pro with IIS 5, but not work.
This is the connection, is the same to Windows NT Server:
<%
Dim objConn
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.ConnectionString = "DRIVER={Pervasive Software ODBC-32};DATAPATH=\\GEFUJINTC02\MACOLA75\MACOLA75\DATA;DDFPATH=\\GEFUJINTC02\MACOLA75\MACOLA75\DATA"
objConn.Open
mySQL = "Select Item_no, sum(Unit_Price)/count(Item_no) as Promedio From OELINHST_SQL Group by Item_No "
set rstemp = objConn.Execute(mySQL)
Do while not RStemp.Eof
%>
In this is the error that showme:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Pervasive Software][ODBC Interface][Pervasive Software SQL Engine]General error.
/ciweb/Aduanas/repfacturacion.asp, line 50
I don't know , what this error, i Try some ways, but i haven't connect. Please help me
Thanks.