Hi

I have a site using an Access database. I thought it
might be wise to password protect the DB file, so I setup
the Password in Access and recoded my Open command to
give the password. This worked, but I started
getting "unspecified error 25" - so I removed it, and im
still getting it. I made a copy of the db, so I went back
to that - and Im still getting it!!

Any ideas why this might be happening? It appears to be
something to do with the server (PWS, on Win98) as
running the page while accessis open causes it. It
breaks. Then restarting the server cures it again.

My db opening code...

Sub OpenDBConnection(dbfile)
set dConn = Server.CreateObject("ADODB.Connection")
dConn.Open("DRIVER={Microsoft Access Driver (*.mdb)};
DBQ=" & Server.MapPath("\data\" & dbfile & ".mdb"))
dbOpen = 1
End Sub

I just wondered if anyone knew what was going on, cos we
were planning to go live with this site pretty soon.

Cheers


Dan