ASP here to MS Access on another server?

L

ljb

I have a ASP running on one web server trying to access an Access database
on another file server. The problem is WebServer doesn't have permissions to
open the db on FileServer. On FileServer I expected to be able to grant read
permission to IUSR_WebServer but that account doesn't exist in FileServer's
list to choose from. What do I need to do?

FileServer is also a domain controller. WebServer is a standalone Win 2000
server. The error I get seems to indicate access denied. If I copy the same
database to WebServer and use server.mappath("db.mdb") to create the connect
string it works fine. For the other location's connect string I skip the
server.mappath and provide a full UNC path.

thanks
LJB
 
B

Bob Barrows

ljb said:
I have a ASP running on one web server trying to access an Access
database on another file server. The problem is WebServer doesn't
have permissions to open the db on FileServer. On FileServer I
expected to be able to grant read permission to IUSR_WebServer but
that account doesn't exist in FileServer's list to choose from. What
do I need to do?

FileServer is also a domain controller. WebServer is a standalone Win
2000 server. The error I get seems to indicate access denied. If I
copy the same database to WebServer and use server.mappath("db.mdb")
to create the connect string it works fine. For the other location's
connect string I skip the server.mappath and provide a full UNC path.
http://www.aspfaq.com/show.asp?id=2168
--
HTH,
Bob Barrows - ASP MVP
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
 
T

Tom Kaminski [MVP]

ljb said:
I have a ASP running on one web server trying to access an Access database
on another file server. The problem is WebServer doesn't have permissions to
open the db on FileServer. On FileServer I expected to be able to grant read
permission to IUSR_WebServer but that account doesn't exist in FileServer's
list to choose from. What do I need to do?

FileServer is also a domain controller. WebServer is a standalone Win 2000
server. The error I get seems to indicate access denied. If I copy the same
database to WebServer and use server.mappath("db.mdb") to create the connect
string it works fine. For the other location's connect string I skip the
server.mappath and provide a full UNC path.

http://www.aspfaq.com/show.asp?id=2168
 
L

ljb

Thanks for pointing me to that document. I haven't yet verified that it
works in my situation but will try soon.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,132
Messages
2,570,775
Members
47,332
Latest member
datacos561

Latest Threads

Top