J
John
Hi all,
I hope someone can help...I'm climbing the walls!!
I have a problem connecting an Access database within ASP code.
Here is my connection string which is inside an include
file...."connectstring.asp"
strconnect="Provider=Microsoft.Jet.OLEDB.4.0;" & "Data
Source=Security.mdb" & "Persist Security Info=False"
Here is the code within a main ASP page called "maintain.asp"
Set objConn = Server.CreateObject ("ADODB.Connection")
Set objRS = Server.CreateObject ("ADODB.Recordset")
objConn.Open strconnect
objRS.Open "News", objConn, adOpenStatic,
adLockOptimistic, adCmdTable
The database is within the same folder as the rest of the ASP pages
After uploading, I run through the various pages.
Internet Explorer won't display "maintain.asp"
Netscape 7.2 displays the following error.....
Microsoft JET Database Engine error '80004005'
Could not find file 'c:\windows\system32\inetsrv\Security.mdbPersist
Security Info=False'.
/dbase/maintain.asp, line 25
I've no idea how the above directory tree came about?
Any help would be appreciated.
TIA.
I hope someone can help...I'm climbing the walls!!
I have a problem connecting an Access database within ASP code.
Here is my connection string which is inside an include
file...."connectstring.asp"
strconnect="Provider=Microsoft.Jet.OLEDB.4.0;" & "Data
Source=Security.mdb" & "Persist Security Info=False"
Here is the code within a main ASP page called "maintain.asp"
Set objConn = Server.CreateObject ("ADODB.Connection")
Set objRS = Server.CreateObject ("ADODB.Recordset")
objConn.Open strconnect
objRS.Open "News", objConn, adOpenStatic,
adLockOptimistic, adCmdTable
The database is within the same folder as the rest of the ASP pages
After uploading, I run through the various pages.
Internet Explorer won't display "maintain.asp"
Netscape 7.2 displays the following error.....
Microsoft JET Database Engine error '80004005'
Could not find file 'c:\windows\system32\inetsrv\Security.mdbPersist
Security Info=False'.
/dbase/maintain.asp, line 25
I've no idea how the above directory tree came about?
Any help would be appreciated.
TIA.