The database resides in a sub directory under the wwwroot folder. Just to test I create a VB project and added a data environment. I was able to access the database that way, but not thru VBscript.
Main Topics
Browse All TopicsI am getting a "Could not lock file" error when i try to open an access database via asp. I have IIS installed on a WIn2000 box and I believe the permission for IUSR_ are set correctly (IUSR _ has access to the database.) It's not a problem with my connection string because I copied this web from a different box were it worked fine. Any suggestions would be great.....
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Okay, the next thing to try would be to check the permissions set against the folder the script is running from.
the IWAM user would be accessing for the VBProject... but through a browser, the IUSR account would be used, unless another is specified...
two things to try:
1) check the IUSR permissions.. whether they are read, or ( read/write ),
2) next thing if that doesn't work, would be to change the pooling on the folder by right clicking in IIS the virtual server in question. Tab through to the home directory folder, and make sure that
read is ticked, write is ticked.... then lower down ..
Execute permissions: Scripts Only
Application Protection: Low( IIS Process )
Hope this helps...
Cheers
Dave :)
Business Accounts
Answer for Membership
by: butcherd11Posted on 2003-11-11 at 06:59:38ID: 9722566
Just a thought, but is the connection trying to reference the database on your CD-ROM, or does it have read only privelages associated with it, or the folder?