Wrox Programmer Forums
|
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
 
Old February 10th, 2004, 03:12 AM
Registered User
 
Join Date: Feb 2004
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
 
Old February 10th, 2004, 12:03 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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.





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





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