Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Databases
Password Reminder
Register
Register | 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 February 10th, 2004, 03:12 AM
Registered User
 
Join Date: Feb 2004
Location: Kolkata, WB, India.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default read-only probs in msaccess db using asp form

Hi,

I copied a .mdb file from an installation (os: XP professional) to another installation where the os is windows 2000 using a cd. When I installed the file property shows 'read-only'. I unchecked 'read-only' mode. I can add record to any table of the database through MSAccess tool but I can not add record to any table using ASP forms. The error I get is as follows:

Error Type:
Microsoft JET Database Engine (0x80040E09)
Cannot update. Database or object is read-only.
/praxis-biodata/AddSpTrgDB.asp, line 19

I cannot find any reason why the tables are read-only. In the old installation things are working perfectly. Could you please help me?

Thanks in advance
Reply With Quote
  #2 (permalink)  
Old February 10th, 2004, 12:03 PM
Imar's Avatar
Wrox Author
Points: 72,035, Level: 100
Points: 72,035, Level: 100 Points: 72,035, Level: 100 Points: 72,035, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,079
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

This usually indicates a permissions problem. The account your Web server is running under does not have the proper permissions to change the database and the folder it resides in. To fix this, give the IUSR_MachineName permissions to change the database and the folder it resides in.

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
VB NET 2005 MSACCESS list all the DB Metadata jhkraft VB Databases Basics 1 April 14th, 2008 04:11 PM
Read SQL Server DB using .ASP-VB leafboy75 VB How-To 1 May 11th, 2007 12:08 AM
Writing to an msAccess db from txtBox Data sconineuk ADO.NET 0 March 8th, 2006 03:13 PM
Secure MSAccess db ASP Data Page Integration Will Woodward Classic ASP Databases 1 October 26th, 2005 08:32 AM
disadvantages of MSAccess as backend db umair_rathore Classic ASP Basics 5 February 14th, 2005 01:19 AM



All times are GMT -4. The time now is 10:48 AM.


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