Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old October 3rd, 2003, 01:14 PM
Registered User
 
Join Date: Oct 2003
Location: Reseda, CA, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to mramstedt Send a message via Yahoo to mramstedt
Default Beginners ASP 3.0 Book, Ch12

I get this msg when running the Connect2.asp:

Microsoft JET Database Engine (0x80004005)
The Microsoft Jet database engine cannot open the file 'c:\www_bcc\scratch\Movie2000.mdb'. It is already opened exclusively by another user, or you need permission to view its data.
/balboacarcare/scratch/connect2.asp, line 23

Why is this?
  #2 (permalink)  
Old October 4th, 2003, 02:28 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

It looks like your web server does not have the right permissions to access the database and / or folder it resides in.

To solve this, use a Windows Explorer to browse to your c:\www_bcc\scratch\ folder. Right-click it, choose Security and then add IUSR_MachineName (where MachineName is the name of your computer) to the list with authorized users. Make sure this user has a least read and change permissions because it also needs to write out temporary lock-files to the folder.

This will work when you're IIS as your web server.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.


Similar Threads
Thread Thread Starter Forum Replies Last Post
A better book for beginners alexmbr BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 2 August 10th, 2007 04:52 AM
ASP.Net 2.0 Beginners arcc ASP.NET 2.0 Basics 0 August 16th, 2006 10:43 AM
MSDE(.MDF) files Beg. ASP Ch12 p475 DANIV ASP.NET 1.0 and 1.1 Basics 0 March 28th, 2005 05:27 PM
Beginners book on CSS? larry HTML Code Clinic 3 January 13th, 2004 05:09 PM
ASP 3.0 Beginners book conundrum Wrox Book Feedback 1 October 9th, 2003 08:35 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.