Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,155,793 members, 7,827,936 topics. Date: Tuesday, 14 May 2024 at 07:36 PM

Help Needed! Asp Programming - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Help Needed! Asp Programming (1054 Views)

Asp.net Mvc4 Help!! / C# - Capturing File Name From A FileUpload Control In Asp.net / Tutorial: How To Return Html In Json Response Using Asp.net And Jquery (2) (3) (4)

(1) (Reply) (Go Down)

Help Needed! Asp Programming by damadsuite(m): 3:03pm On Feb 06, 2007
I built an .asp program to post data to my data base but it keeps giving error.

I keep getting Cannot Update: database or object is read only any time I try to post input on a form to my table. It works perfectly on my desktop but once uploaded, it doesn't work.


Please I need help from any one experience here.
Re: Help Needed! Asp Programming by kunik11: 4:11pm On Feb 06, 2007
check if you have update permission on the database. Are u using Access DB ?
Re: Help Needed! Asp Programming by alexis(m): 9:17pm On Feb 06, 2007
post your code so that we can look at it
Re: Help Needed! Asp Programming by Gomez(m): 11:23am On Feb 08, 2007
This is a write permission issue
ensure that u have a write permission on the folder that contains the database!
This u can verify from ur host.

similar issue
On Wednesday 10/4/2006 4:03:03 AM Allan Parson said:
Hello Imar,
Thank you for a great article.
I ran the sample web site on my workstation, and it worked fine.
But when I uploaded the same site to my hosting company,
it generated "HTTP 500 - Internal server error " right after
I enter my credentials in the Login.aspx page and click Login button.
Although, if I enter the wrong credentials, it asks me to enter the right ones which means that it works to some point.

Could you kindly tell me what might be a problem?

Thanks a lot.

Allan
Allan

On Wednesday 10/4/2006 4:09:32 AM Imar Spaanjaars said:
Hi Allan,

This sounds like a security issue. A failed Login doesn't write to the database, while a successfull login does which means the account used by the webserver needs write permission to the database and its folder. Check out this FAQ for solutions to this problem:

http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=263

Cheers,

Imar


On Wednesday 10/4/2006 5:46:34 AM Allan Parson said:
Hi Imar,

You was exactly right. That was a 'write' permission to a DB file problem.
Thanks a lot!
Allan

(1) (Reply)

Need Help In Php Please / Need Murach C# 2008 / APPLY: Techlaunchpad Software Entrepreneurs Developers

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 11
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.