' -- The goal is to find the parent activity of the activity we are trying to update -- this information is stored in the continuations table. Since we are making decisions -- based on this value, we need to prevent users from updating this value after we read, or -- if we find nothing, we need to prevent them from inserting a value. To prevent insertion, -- we take an applock on the ActivityID and our protocol requires that before a continuation is -- added an exclusive applock will be taken on our id. To prevent it from changing, we use -- repeatable read locks. The value could change if our current parent turns out to not be the -- root and so when his continuation is established, we would be pointed to his new parent. -- If current trace is a continuation, RowID is its parent activity ID -- otherwise RowID is current activity ID (main trace or a new trace) DECLARE @@RowID NVARCHAR(128) DECLARE @@ret INT DECLARE @@parentTemp NVARCHAR(128) SET @@parentTemp = @ActivityID WHILE (@@parentTemp IS NOT NULL) BEGIN SET @@RowID = @@parentTemp EXEC @@ret = sp_getapplock @@parentTemp, 'Shared', 'Transaction', 100 IF (@@ret < 0) -- lock not granted BEGIN RAISERROR('Lock not granted', 16, 1) RETURN END SET @@parentTemp = NULL SELECT @@parentTemp = ParentActivityID FROM
The FTPS server rejected the secure FTP connection. Make sure the FTPS server allows SSL and that the SSL is configured properly ...
The given assembly ("{0}") is not strong named. A strong named assembly is required if any of the global assembly cache (gac) ...
The given BizTalk assembly ("{0}") is not strong named. A strong named BizTalk assembly is required if any of the options ...
The given index name is invalid. Valid index names must start with a letter or an underscore and can contain letters, numbers, ...
The goal is to find the parent activity of the activity we are trying to update - this information is stored in the continuations ...
The goal is to find the parent activity of the activity we are trying to update - this information is stored in the continuations ...
The group receiver settings are not configured for agreement of batch {0}. This needs to be configured before batching can ...
The header specification name must be specified when generating a header without using the functionality for preserving headers. ...
The Health and Activity Tracking (HAT) tool provides features for reporting, analyzing, and debugging data and messages that ...