I have changed one of the databases to read-only in SQL Server 2005. I would like to track if someone tries to write to the database.
Any suggestions on how to track such requests (end user write request failures)?
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It only takes a minute to sign up.
Sign up to join this communityA readonly database is "READ_ONLY". No writes are allowed - the application will get an error stating that the database is readonly.
You can run a server side trace (since you are stuck with sql server 2005) and look for user error messages
and filter your database by ID.