DSNLess connection
- From: "laura" <replyto@xxxxxxxxx>
- Date: Sun, 22 May 2005 14:53:58 +0100
Not sure if this is the right place to ask..
I have a computer with Windows 98 on which I have set it up as a Personal
Web Server and I am running/testing a small Access database. I am working
from my XP computer in the same room, connected by network cable.
I am confused as to which connection I should be using. I have to admit, one
works (A), but I've been advised that I really should be using the other
(B).
A) This works.
DSNNAME = "Driver={Microsoft Access Driver (*.mdb)};uid=;pwd=letmein; DBQ="
& Server.MapPath("\databases\users.mdb")
B) This does not work and this is what I believe I should be using:-
DSNNAME = "Provider=Microsoft.Jet.OLEDB.4.0; User ID=;Password=letmein; Data
Source=" & server.mappath("\databases\users.mdb") & ";"
This is the error message I get with Option (B):-
Microsoft JET Database Engine error '80040e4d'
Cannot start your application. The workgroup information file is missing or
opened exclusively by another user.
/check_user.asp, line 42
Could it be that the password is not working? It does work in Option (A),
but not in Option (B). The database has been password protected with
password "letmein". What am I doing wrong?
thanks
Laura TD
.
- Follow-Ups:
- Re: DSNLess connection
- From: Bob Barrows [MVP]
- Re: DSNLess connection
- From: Steven Burn
- Re: DSNLess connection
- Prev by Date: Re: distinct and sum
- Next by Date: Re: DSNLess connection
- Previous by thread: distinct and sum
- Next by thread: Re: DSNLess connection
- Index(es):
Relevant Pages
|