Skip to main content

On-Screen Takeoff, Quick Bid, or Digital Production Control: Error Using SQL Database - Write Access Denied

  • January 15, 2016
  • 0 replies
  • 35 views

Issue

Users receive a "Write Access Denied" error when opening a SQL database.

On-Screen Takeoff error message that write access is denied

Discussion

When a database is opened, the product writes an entry to the "Locking" table and immediately deletes it to verify that the user can write to the database. If the program crashes or the connection to the database drops before that entry can be deleted, the entry gets 'stuck' in the table. When the program attempts to write that record again, it cannot because the record is already there - the program interprets this as the database being in "READ ONLY" mode because the 'write' failed.

Resolution

Only an SQL Administrator can perform these steps.

  • Have all users close the database/program
  • Open the database in SQL Management Studio
  • Locate and Edit the "Locking" table
  • Delete any entries in the table and close the table

Have the user reopen the database (or program).


Related Articles