Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #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?
Reply With Quote
  #2 (permalink)  
Old October 4th, 2003, 02:28 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 04:18 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.