Microsoft KB Archive/327245

= &quot;Runtime Error 91: Object variable or with block variable not set&quot; error with Microsoft Message Queuing Triggers =

Article ID: 327245

Article Last Modified on 2/23/2007

-

APPLIES TO


 * Microsoft Message Queue Server 1.0
 * Microsoft Message Queuing 2.0

-



This article was previously published under Q327245



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:

&quot;Runtime Error 91: Object variable or with block variable not set&quot;



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 &quot;Applies to&quot; section.

Additional query words: MSMQ

Keywords: kbbug kbfix KB327245

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.