Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS Access Password in ASP script

Status
Not open for further replies.

jfs9900

Technical User
Nov 22, 2004
1
US
Ok I have password protected my Access database. I have ASP code that does not include in the password, I am not sure where to place it in the code - and every time it runs it comes up with an 500 internal server error message...


Here is a sample of the code:
.......................................
dim Conn, rs
set adoCn=server.createobject("ADODB.Connection")
adoCn.open "Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=True;Data Source=" & server.mappath("fpdb/database.mdb")
set rs=createobject("adodb.recordset")
.......................................

database.mdb is the password protected file, lets just say ABCD is the password.... how should it look?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top