Orchestrator 2016 stopped logging Events under Events Tab in Runbook Designer after UR4
Issue
After this update rollup is applied, Orchestrator 2016 stopped logging
Events under Events Tab in Runbook Designer
Error:
There is no event
information to display
Verify the issue by querying the events table in
SELECT [UniqueID]
,[Type]
,[Computer]
,[DateTime]
,[Summary]
,[Message] FROM [Orchestrator].[dbo].[EVENTS]
Cause
There is a stored procedure in the Orchestrator database named sp_insertevent which
has a parameter @message. If the datatype of the @message parameter
is nvarchar(max), then the Log Purge function may fail.
Fix
To fix this issue, change the datatype of the @message parameter from nvarchar(max) to nvarchar(4000). You can use the code below
or SQL Server Management Studio to make this change in Orchestrator Database.
USE [Orchestrator]
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[sp_insertevent] @type nvarchar(50), @computer nvarchar(50), @summary nvarchar(200), @message nvarchar(4000)
AS
insert into EVENTS values
(newid(), @type,
@computer, getutcdate(),
@summary, @message)
Comments
Post a Comment