Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 7 of 7 total
Thread Database Readonly
Tue, Mar 15 2022 12:24 PMPermanent Link

Burkhard Schneider

isyControl Software

Hi,

I have a database that thows strange read-only errors.
For Example a

Update Adress Set KundenNr='002' Where ID = 1
results in
ElevateDB Error #1000 An error occurred with the cursor Adress (An attempt was made to update a read-only cursor)

or
ALTER Table Adress READWRITE
results in
ElevateDB Error #403 The database xxx is read-only and this operation cannot be performed (ALTER TABLE Adress)

The same happens with all tables in the database.

A
Select * From Information.Tables
shows me that the tables are not readonly

I don't know what happend to the database, but how can I remove the readonly state?

Regards
Burkhard Schneider
Wed, Mar 16 2022 3:16 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Burkhard


Have you checked to see if they are read-only on disk and that you have the correct OS permissions in place?

Roy Lambert
Wed, Mar 16 2022 5:49 AMPermanent Link

Burkhard Schneider

isyControl Software

Roy,

yes. The files are not read-only and I have full access
Wed, Mar 16 2022 6:23 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Burkhard


Hopefully a silly question - is the query set to read-only?

Roy Lambert
Wed, Mar 16 2022 7:03 AMPermanent Link

Burkhard Schneider

isyControl Software

No
Wed, Mar 16 2022 8:49 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Burkhard


Final things I can think of:

1. Try repairing the table in case it corrupted
2. Copy the files making up the table to a new folder, delete the originals and copy back

after that I'm lost. The only one that I used to encounter was copying from a DVD/CD when all the files came over as read-only

Roy Lambert
Wed, Mar 16 2022 9:43 AMPermanent Link

Burkhard Schneider

isyControl Software

Roy,

thank you.

After allt the problem were missing OS Permissins. Althougt I could create and modify a text file, in the properties of the folder, Tab security, there were no write-persmissions for the windows user.
Image