How can we help you today? How can we help you today?
Ben_P
To resolve the error that you are seeing, please connect to the SQL Server instance using SSMS and delete the sql_monitor XE session:   [image]   Redgate Monitor should automatically recreate the session In case this does not exist in the first place or if Redgate Monitor does not recreate it, the following query should help to do this:   DECLARE @target NVARCHAR(50)<br><br>SELECT @target = p.name +'.' + o.name<br>FROM sys.dm_xe_objects o INNER JOIN sys.dm_xe_packages p ON o.package_guid = p.guid<br>WHERE o.object_type = 'target' AND (p.capabilities IS NULL OR p.capabilities <> 1) AND o.name IN ('asynchronous_file_target', 'event_file')<br><br>DECLARE @sessionName NVARCHAR(100) = N'sqlmonitor_session'<br><br>DECLARE @errorLogPath NVARCHAR(1000), @errorLogFolder NVARCHAR(1000)<br>SET @errorLogPath = CAST(SERVERPROPERTY('ErrorLogFileName') AS NVARCHAR(1000))<br>SET @errorLogFolder = LEFT(@errorLogPath,LEN(@errorLogPath) - charindex('\',reverse(@errorLogPath),1) + 1)<br><br>DECLARE @xePath NVARCHAR(1000), @xeWildCard NVARCHAR(1000), @xemWildCard NVARCHAR(1000)<br><br>SET @xePath = @errorLogFolder + @sessionName + '.xel'<br>SET @xeWildCard = @errorLogFolder + @sessionName + '*.xel'<br>SET @xemWildCard = @errorLogFolder + @sessionName + '*.xem'<br><br>DECLARE @sql NVARCHAR(MAX)<br><br>IF NOT EXISTS(SELECT 1 FROM master.sys.server_event_sessions WHERE [name] = @sessionName) BEGIN<br>&nbsp; &nbsp; BEGIN<br>&nbsp; &nbsp; &nbsp; &nbsp; SET @sql = '<br>&nbsp; &nbsp; &nbsp; &nbsp; CREATE EVENT SESSION [' + @sessionName + '] ON SERVER<br>&nbsp; &nbsp; &nbsp; &nbsp; ADD EVENT sqlserver.xml_deadlock_report<br>&nbsp; &nbsp; &nbsp; &nbsp; ADD TARGET ' + @target + '(SET filename=N''' + @xePath + ''', max_file_size=(5))<br>&nbsp; &nbsp; &nbsp; &nbsp; WITH (MAX_MEMORY=4096 KB,EVENT_RETENTION_MODE=ALLOW_SINGLE_EVENT_LOSS,MAX_DISPATCH_LATENCY=30 SECONDS,MAX_EVENT_SIZE=0 KB,MEMORY_PARTITION_MODE=NONE,TRACK_CAUSALITY=OFF,STARTUP_STATE=OFF)<br>&nbsp; &nbsp; &nbsp; &nbsp; '<br>&nbsp; &nbsp; &nbsp; &nbsp; EXEC(@sql)<br>&nbsp; &nbsp; END<br>END  Please let us know if this helps. / comments
To resolve the error that you are seeing, please connect to the SQL Server instance using SSMS and delete the sql_monitor XE session:  Redgate Monitor should automatically recreate the sessionIn ca...
0 votes
@jsreynolds1 I wasn't aware that it could hijack the mouse, but I understand how that would be annoying. I'll pass on the feedback to the product team for SQL Prompt. / comments
@jsreynolds1 I wasn't aware that it could hijack the mouse, but I understand how that would be annoying. I'll pass on the feedback to the product team for SQL Prompt.
0 votes
@jsreynolds1 Thank you for your post. You can clear the notification permanently by clicking the "Dismiss" option. After this the pop-up shouldn't return. / comments
@jsreynolds1 Thank you for your post. You can clear the notification permanently by clicking the "Dismiss" option. After this the pop-up shouldn't return.
0 votes
Hi Arjan, Which version of SQL Data Compare and SQL Compare are you using?  After clicking the option to send feedback, does the banner disappear? / comments
Hi Arjan,Which version of SQL Data Compare and SQL Compare are you using? After clicking the option to send feedback, does the banner disappear?
0 votes