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
| 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 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!!


Reply With Quote
  #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.
Reply With Quote
  #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?

Reply With Quote
  #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
Reply With Quote
  #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!
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
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



All times are GMT -4. The time now is 05:45 AM.


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