|
rubyaim -> RE: Database read only - error 2147467259 (7/15/2005 18:18:27)
|
Well, the file is working as 'read only' as it's locked... It's acting like a typical Access database when it thinks there is still a connection to it. The .mdb itself is not read only. Spent hours on this yesterday and tried the following (just posting in case someone else has the same issues): Opening the DB from the web with the 'shift' key down (okay, useless really, but worth a go). Breaking the connection to all the pages that connect to the db, then writing a query that points to an existing table but non-existing column, then jumping in quickly to try to delete the database. Tried this 16 times and gave it away. Several hosting info pages recommend this, eg: http://www.enterhost.com/supportcenter/faq/search_answer.cfm?fqid=100113 Writing some code to unlock (but I don't know enough to do this properly). Found some code for dot net, but was unable to write in ASP... maybe this time next year I can manage that. In the end, after a lot of conversations with the host, they disabled asp on the server and then renamed that database with a .mdb.bak extension. That allowed me to import the database. Am still waiting for asp to be enabled...... Things like this are a good learning curve - I've learned more about databases locking than I ever wanted to know [&:] Sally
|
|
|
|