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 June 7th, 2004, 06:20 PM
Registered User
 
Join Date: Jun 2004
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Update Problem under wwwroot folder

I placed my site folder "finesse", under inetpub\wwwroot folder.
The problem i'm facing is :

When i'm trying to update a record in my Ms Access database i'm getting the following error message

"Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or object is read-only.
/Finesse/UpdateProduct.asp, line 301"

I have to inform you that the .mdb file is not read-only, the same problem occurs in every database i'm using under the wwwroot folder and in my previous Ms Windows istallation the website was working perfect in MyWebs Folder under MyDocuments, witch now has disappeard.

The system i' working uses Windows XP Pro and IIS 5.1

Thanks in advance!!


  #2 (permalink)  
Old June 7th, 2004, 08:21 PM
Friend of Wrox
 
Join Date: Jan 2004
Location: , , USA.
Posts: 303
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This error usually happens when you try to insert data into or update data in an Access database. It means that you don't have sufficient permissions to write to the database.

To fix it, make sure that the account IIS runs under (usually IUSR_MachineName) has sufficient permissions to write to the database and the folder it resides in.


If you are not running the server yourself you will need to contact your web hosting company and ask them how to sort the problem out. You may need to use a special folder to upload your access database.
  #3 (permalink)  
Old June 8th, 2004, 05:06 AM
Registered User
 
Join Date: Jun 2004
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No luck.

In addition, i'd like to inform you that the server runs in my computer, i connect as Administrator with full control and the same problem occurs with all the files running under wwwroot folder, for example mysql and php files.

In my previous installation, because of the problem i had my websites moved to folder MyWebs under MyDocuments folder and everything was o.k.

There is no such a folder in my current installation.
Have you got any idea how can i re-install this folder?

  #4 (permalink)  
Old June 8th, 2004, 06:55 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hello,

The administrator account will only work if you don't have Anonymous Access turned on. Otherwise, it uses the IUSR account as stated above.

Did you set up any Access-specific settings, or any custom settings in IIS? What you may have done may help.

Brian
  #5 (permalink)  
Old June 8th, 2004, 07:29 AM
Registered User
 
Join Date: Jun 2004
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you all, so much.
You 've been very helpful.
My mistake.
Now everything is o.k!


Similar Threads
Thread Thread Starter Forum Replies Last Post
link to a document on my hard disk out wwwroot crmpicco HTML Code Clinic 9 April 13th, 2007 09:07 AM
How to donwload file from wwwroot? okboy ASP.NET 2.0 Basics 6 January 13th, 2007 11:28 AM
allow others on same network to view my wwwroot crmpicco HTML Code Clinic 2 September 29th, 2005 06:35 AM
developing aspx outside wwwroot folder dhaywirex ASP.NET 1.0 and 1.1 Basics 7 April 6th, 2004 09:58 PM





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