Article ID: 327245 - Last Review: February 23, 2007 - Revision: 3.1

"Runtime Error 91: Object variable or with block variable not set" error with Microsoft Message Queuing Triggers

This article was previously published under Q327245
Expand all | Collapse all

SYMPTOMS

You receive the following error in Microsoft Message Queue Server 1.0 and in Microsoft Message Queuing 2.0 when you delete a Message Queuing Trigger object:
"Runtime Error 91: Object variable or with block variable not set"

CAUSE

By default, there is no discretionary access control list (DACL) on the access permissions. A NULL DACL indicates that the Everyone group has full control. Therefore, if you add permissions through DCOMCnfg.exe, the implicit Everyone group disappears.

RESOLUTION

To resolve this problem, explicitly add the Everyone group to the trigger service permissions in DCOMCnfg.exe.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

APPLIES TO
  • Microsoft Message Queue Server 1.0
  • Microsoft Message Queuing 2.0
Keywords: 
kbbug kbfix KB327245
 

Article Translations