Abhas
Retired Administrator
- Joined
- Aug 6, 2004
- Location
- New Delhi, India
I have a website written in ASP.
I am facing a problem, that i am unable to write anything to the database (I am using MS Access database). I can easily read from the the db without any problems.
When i submit a form, which needs to be stored in the db, i get an error stating that database or object is write protected.
It works perfectly fine on localhost...
i am using this particular code to connect to the db in global.asa file:
I have also tried this method :
Can anyone plz help me...
PS : another thing i wanted to inform is, that the submit form button does not work in firefox... nothing happens when it is clicked...
I am facing a problem, that i am unable to write anything to the database (I am using MS Access database). I can easily read from the the db without any problems.
When i submit a form, which needs to be stored in the db, i get an error stating that database or object is write protected.
It works perfectly fine on localhost...
i am using this particular code to connect to the db in global.asa file:
Application("connStr") = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.Mappath("cart.mdb") & ";User ID=admin;password=;"
I have also tried this method :
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.Mappath("\somepath\dbname.mdb") & ";User Id=admin;Password=pass;"
Can anyone plz help me...
PS : another thing i wanted to inform is, that the submit form button does not work in firefox... nothing happens when it is clicked...