I'm trying to test some code I'm moving over from another site, and am running in to trouble I *think* w/ the ActiveConnection property.
The following code is working perfectly on my home server, and another remote server...but not here with Jodohost:
-------------------------------------------------------
Dim MM_dbEstore_STRING
MM_dbEstore_STRING = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("\data\estore.mdb")
set rsNew = Server.CreateObject("ADODB.Recordset")
rsNew.ActiveConnection = MM_dbEstore_STRING
rsNew.Source = "SELECT * FROM qrySTRProductNew ORDER BY catName ASC"
rsNew.Open()
Response.Write ("hello")
-------------------------------------------------------
Of course I am not expecting any output (aside from 'hello'), I've removed the remainder of the code while debugging...and have it down to the rsNew.ActiveConnection line. Also, I've tested the db path (first 2 lines alone) already and it works, it's the second portion of the code that is troubling me. Any insight to what's keeping me from going?
Test urls:
Jodohost (not working): http://www.jasonguzman.com/itc/site/test.asp
Host here at home (working): http://66.229.170.37/test.asp
TIA
The following code is working perfectly on my home server, and another remote server...but not here with Jodohost:
-------------------------------------------------------
Dim MM_dbEstore_STRING
MM_dbEstore_STRING = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("\data\estore.mdb")
set rsNew = Server.CreateObject("ADODB.Recordset")
rsNew.ActiveConnection = MM_dbEstore_STRING
rsNew.Source = "SELECT * FROM qrySTRProductNew ORDER BY catName ASC"
rsNew.Open()
Response.Write ("hello")
-------------------------------------------------------
Of course I am not expecting any output (aside from 'hello'), I've removed the remainder of the code while debugging...and have it down to the rsNew.ActiveConnection line. Also, I've tested the db path (first 2 lines alone) already and it works, it's the second portion of the code that is troubling me. Any insight to what's keeping me from going?
Test urls:
Jodohost (not working): http://www.jasonguzman.com/itc/site/test.asp
Host here at home (working): http://66.229.170.37/test.asp
TIA