PDA

View Full Version : Can't insert a record in Access database.


AlexAvrutin
03-10-2003, 02:09 AM
I have a simple ASP script that adds a record into this database. It works at my current hosting provider that also runs Win2000 + IIS5, but here when I try to execute the script, I get the following message:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or object is read-only.

/products/scripts/Download.asp, line 38

I tried to re-upload the DB several times but with no results. What is this?


---
Best regards,
Alex Avrutin
CEO, Project Manager
Advanced Web Systems
Saint-Petersburg, Russia

bruce
03-10-2003, 02:17 AM
Are you using FrontPage?

If you are, you must upload the database file using FP's import function

a) you will need to use the import function. File -> import
b) select Add File
c) select your database file
d) import to the directory you want
e) when asked if you want to create a database connection, respond yes.


[b]quote:Originally posted by AlexAvrutin

I have a simple ASP script that adds a record into this database. It works at my current hosting provider that also runs Win2000 + IIS5, but here when I try to execute the script, I get the following message:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or object is read-only.

/products/scripts/Download.asp, line 38

I tried to re-upload the DB several times but with no results. What is this?


---
Best regards,
Alex Avrutin
CEO, Project Manager
Advanced Web Systems
Saint-Petersburg, Russia
</blockquote id="quote"></font id="quote">

AlexAvrutin
03-10-2003, 11:14 AM
Thanks for your reply!

No, I upload the database using Internet Explorer's FTP client.

---
Best regards,
Alex Avrutin
CEO, Project Manager
Advanced Web Systems
Saint-Petersburg, Russia