Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Cannot update. Database or object is read-only.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Cannot update. Database or object is read-only.

 Post Reply Post Reply Page  12>
Author
eric View Drop Down
Newbie
Newbie


Joined: 14 February 2008
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote eric Quote  Post ReplyReply Direct Link To This Post Topic: Cannot update. Database or object is read-only.
    Posted: 14 February 2008 at 11:28pm
In IIS, when I try to login using Administrator and letmein, i get this error message. 
 
"An error has occurred while writing to the database.
Please contact the forum administrator."
 
i followed the Setting and Checking permissions in IIS on http://www.webwiz.net/kb/asp_knowledgebase/server_permissions.asp
 
But the same error is occuring!!
Back to Top
MadDog View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 01 January 2002
Status: Offline
Points: 3008
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post Posted: 15 February 2008 at 7:02am
If you are still getting a "Object is ready-only" error then the database still doesn't have Read/Write permissions.
Back to Top
eric View Drop Down
Newbie
Newbie


Joined: 14 February 2008
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote eric Quote  Post ReplyReply Direct Link To This Post Posted: 15 February 2008 at 5:32pm
Thanks MadDog.  i have gone through the FAQs a few times and retraced my steps.  so far it has not seemed to work. 
 
i would appreciate any additional suggestions.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 15 February 2008 at 7:42pm
This error is 100% a permissions issue.

Make sure that you have given the IUSR account read, write, and modify permissions on both the folder and the database.

Access is also very insecure so you may find that you also need to give read. write, and modify permissions to all users on the c:Windows/temp directory as well.
Back to Top
eric View Drop Down
Newbie
Newbie


Joined: 14 February 2008
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote eric Quote  Post ReplyReply Direct Link To This Post Posted: 15 February 2008 at 8:35pm
already done.  IUSR was set to fully allow. 
also tried to set Fully Allow on the C:Windows/temp directory as well and i still get the same error. 
Back to Top
MadDog View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 01 January 2002
Status: Offline
Points: 3008
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post Posted: 15 February 2008 at 8:38pm
If its set to fully allow then its possible IIS is setup to use a different user.

A "Read-Only" error is only from a permissions error. Nothing else would give that error.

Sometimes i add "Everyone" and give it full permissions to check if its a user problem, if you still get a Read-Only error with "Everyone" then its probably something misconfigured on the server and needs more debugging.

Do not every set "Everyone" with full permissions (or any other user) in a production enviroment... it leaves it open for hackers!
Back to Top
eric View Drop Down
Newbie
Newbie


Joined: 14 February 2008
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote eric Quote  Post ReplyReply Direct Link To This Post Posted: 15 February 2008 at 8:49pm

good call MadDog. that did it.  I never use Everyone so it never even occured to me to try it. 

 
Thanks!!
Back to Top
MadDog View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 01 January 2002
Status: Offline
Points: 3008
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post Posted: 15 February 2008 at 8:51pm
Wait dont leave "Everyone" set!! Its a huge security problem. My point was, if adding "Everyone" worked, then you need to figure out what user is set to IUSR in IIS.

Go into "IIS" and see what user is set for the Security.
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.