Meander365
Programmer
Hi,
Im trying to get some data from an Access 2000 database that's stored on a Novell Netware Server 5.1 running TCP/IP. Im using a Windows2000 machine as a local web server, so the idea is to grab the data from the database and display in ASP via ODBC. Except, it doesnt work.
I've set up the DSN to be the following. I've called it iminore1:=
------------------------------
\\novellservername\myfolder\database.mdb
And here's the ASP code :=
------------------------------
Dim dbConn, dbSQL, PWebRS, SubjRS
set dbConn=Server.CreateObject("ADODB.Connection"
call dbConn.Open ("iminore1","",""
set session("iminore1_dbConn" = dbConn
dbSQL="select * from PenWebParms"
set PWebRS=Server.CreateObject("ADODB.Recordset"
call PWebRS.Open(dbSQL, dbConn)
call PWebRS.MoveFirst()
...
When I open the page I get Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] '\\novellservername\myfolder\database.mdb' is not a valid path.
I have another ms access database stored my Windows2000 machine and can grab data via ODBC and ASP from that - no problem! So I know ASP and ODBC work OK.
But I can't seem to access the datasource from the novell server ??!
Any ideas ???
Thanks,
Meander365 !
Im trying to get some data from an Access 2000 database that's stored on a Novell Netware Server 5.1 running TCP/IP. Im using a Windows2000 machine as a local web server, so the idea is to grab the data from the database and display in ASP via ODBC. Except, it doesnt work.
I've set up the DSN to be the following. I've called it iminore1:=
------------------------------
\\novellservername\myfolder\database.mdb
And here's the ASP code :=
------------------------------
Dim dbConn, dbSQL, PWebRS, SubjRS
set dbConn=Server.CreateObject("ADODB.Connection"
call dbConn.Open ("iminore1","",""
set session("iminore1_dbConn" = dbConn
dbSQL="select * from PenWebParms"
set PWebRS=Server.CreateObject("ADODB.Recordset"
call PWebRS.Open(dbSQL, dbConn)
call PWebRS.MoveFirst()
...
When I open the page I get Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] '\\novellservername\myfolder\database.mdb' is not a valid path.
I have another ms access database stored my Windows2000 machine and can grab data via ODBC and ASP from that - no problem! So I know ASP and ODBC work OK.
But I can't seem to access the datasource from the novell server ??!
Any ideas ???
Thanks,
Meander365 !