Here the problem. I am connecting to a access 2000 dbase using the following connection line.
dim inputdsn, connud, conninbd, connto, rsud
function login_UD()
inputdsn="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=e:\web.mdb;Persist Security Info=False"
set ConnUD=server.createobject("adodb.connection"
ConnUD.open inputdsn
set RSUD=server.createobject("adodb.recordset"
end function
Then on the appropriate pages I create a inlude, and i make a call to the function to create the connection. Now, when i am logging into my page, this connection is getting run, and working fine. It gets run a second time when the next page comes up where it selects their access options from a RS. The problems is that i have a entire page in the site, that will not run. It has the inlcude, but when the include is loaded, it gives me the error listed above. I would understand it if the error came up every time the Dbase connection is made, but it only happens when loading one particular page.
There is a second kick to this problem. I can set up the same site and Dbases on my local PC, using PWS (personal web server) and all the parts of the page work fine, including the one above that errors on the server. If only the first part where true, i would think it was the code, but beings that the code works on the PWS, it can't be the code in the page can it?
I am looking for any ideas on where to look as far as what caused the problem. I have tried everything i can think of and have hit all dead ends.
Thanks
dim inputdsn, connud, conninbd, connto, rsud
function login_UD()
inputdsn="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=e:\web.mdb;Persist Security Info=False"
set ConnUD=server.createobject("adodb.connection"
ConnUD.open inputdsn
set RSUD=server.createobject("adodb.recordset"
end function
Then on the appropriate pages I create a inlude, and i make a call to the function to create the connection. Now, when i am logging into my page, this connection is getting run, and working fine. It gets run a second time when the next page comes up where it selects their access options from a RS. The problems is that i have a entire page in the site, that will not run. It has the inlcude, but when the include is loaded, it gives me the error listed above. I would understand it if the error came up every time the Dbase connection is made, but it only happens when loading one particular page.
There is a second kick to this problem. I can set up the same site and Dbases on my local PC, using PWS (personal web server) and all the parts of the page work fine, including the one above that errors on the server. If only the first part where true, i would think it was the code, but beings that the code works on the PWS, it can't be the code in the page can it?
I am looking for any ideas on where to look as far as what caused the problem. I have tried everything i can think of and have hit all dead ends.
Thanks