SQL Response
Latest version: 1.3
Knowledge Base
The alert details are not recorded and SQL Response reports "Alert is still being written" when viewing an alert or multiple alerts
Category: Troubleshooting & error messages
Date: 23 Oct 2009
Product: SQL Response
When viewing the Alert Details for any problem type, SQL Response will not display any actual alert details except for the following statement "Alert is still being written"
To resolve this problem, first check to see if there is any Anti-Virus software with an on-access scanner running on the Alert Repository machine.
Some Anti-Virus software may have what is can be called as an On-access scanner, which checks files as they are opened, being written too or being read from. If you do have AV software performing this type of checks, can you please exclude the SQL Response Alert Repository files from being scanned.
When an alert is generated, the SQL Response Alert Repository records information regarding the alert into a data store. The Anti-Virus software may obtain an exclusive lock preventing SQL Response from writing up the alert details.
The Alert Repository files are kept in the following directory on the machine running the Alert Repository:
Windows XP, Windows 2003 - C:\Documents and settings\All Users\Application Data\Red Gate\SQL Response 1
Windows Vista, Windows 2008 - C:\ProgramData\All Users\Application Data\Red Gate\ SQL Response 1
Turning off the Anti-Virus Software on access scanner will for all new alerts prevent this problem from occurring.
This problem can also occur within the configuration of SQL Response. When the SQL Response Alert Repository Service issues a SQL Query, it sets an execution time to run. If the query does not complete within a set time period, the query is stopped and if an alert is generated from the aborted query, the alert details will report ""Alert is still being written". This time out setting is located within the connection settings and is the Execution time-out value. By default, the Execution time-out value is 30 seconds.
To prevent the Execution Timeout setting from causing this problem, try modifying the Execution Timeout value to be 0 seconds, thus preventing the query from running into an execution time out as follows:
In the SQL Response Client, Right the computer in the Servers to show list and select Server Properties
In the Server Properties dialog for each sever and confirm that the Execution time-out Connection setting is set to 0 seconds. If it is not set to 0 seconds, can you please modify it so it becomes 0 seconds, click the OK button and then stop and restart the SQL Response Alert Repository.
Next monitor any new alerts and ensure that you are not getting the 'Alert is still being written to' in the alert details.
If the Execution Timeout value cannot be modified or the above process to modify the Execution Timeout value is unsuccessful, the only course of action is to delete the current Alert Repository, meaning that you will lose all the current data.
1. Deactivate the each server listed in the 'Servers to show' list.
2. Remove each server from the 'Servers to show' list.
3. Remove the current Alert Repository via the Alert Repository Menu ->Alert Repository Setup.
4. Create a new Alert Repository via the Alert Repository Menu ->Alert Repository Setup.
5. Re-register your SQL Server via the 'Add Server Wizard'. In the server properties dialog, set the 'execution time-out = 0'.
6. Activate the server.
Document ID: KB200910000438 Keywords: SQL,Response,Alert,being,written
Was this article helpful?
SQL Response
- Troubleshooting Computer Unreachable and Access Is Denied Error Messages
- SQL Response Security Setup
- Upgrading from Version 1.0 to 1.1 where the SQL Response Client and Alert Repository exist on the same machine
- Moving your Alert Repository Data
- Licensing SQL Response on a clustered SQL Server
- Server licenses may show "trial period has expired"
- How do I use the SQL Response client across domains?
- Where are the SQL Response data files stored?
- SQL Response client not connecting to Alert Repository
- The alert details are not recorded and SQL Response reports "Alert is still being written" when viewing an alert or multiple alerts
- Error when connecting to the Alert Repository using Windows 7
- Alert Repository transferring large amounts of data from the SQL Server
- Log files
all SQL products
- Compatibility of Red Gate tools in 64-bit environments
- Application has encountered an error and needs to close
- Error message after installing SQL Toolbelt - The description for Event ID ( 1 ) in Source ( nview_info ) cannot be found.
- Changing the temporary directory used by the installer
- Toolbelt Installer "hanging" while "scanning volumes"
- Login failing with "trusted SQL Server connection" error when using RunAs
all products
- Some Red Gate products identified as containing a trojan by Anti-Virus software
- Activation may fail with Unknown Error -1
- Product uses web help although a CHM file is available locally
- Argument exception resulting from missing environment variable
- Check for updates may fail when used through proxies
- 'Unidentified Publisher' error when repairing or uninstalling
- Licensing activates product as standard edition
- Moving Red Gate software products to another machine
- Red Gate tools log locations
- The application UI opening slowly when there is no internet access
SQL Response
- Migrating your Alert Repository from Windows 2000
- Tips for configuring SQL Response in your network environment
- SQL Response release notes - version 1.xx
all SQL products
all products
- Red Gate product acknowledgements
- Activating your products
- Activating your products
- Red Gate bundle history
- Check for updates
- Troubleshooting Check for Updates errors
- Current versions
- Deactivating your products
- Installing Red Gate products from the .msi file
- Requesting additional activations
- Serial numbers for bundles
- Reactivating using a different serial number
- Extending your trial
- Finding your serial numbers
- Moving a serial number from one computer to another
- No response received for manual activation
- Licensing and activation resources
- Licensing and activation resources
- Troubleshooting licensing and activation errors
- Licensing and activation FAQs
- Red Gate tools log file locations
- Download old versions of products
- Download product prerequisites & utilities
- Support & upgrades
- Upgrading your software
- Upgrading FAQs

What does SQL Response monitor?