Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


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"

↑ Back to the top


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.

↑ Back to the top


Resolution

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

↑ Back to the top


Status

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

↑ Back to the top


Keywords: kb, kbfix, kbbug

↑ Back to the top

Article Info
Article ID : 327245
Revision : 6
Created on : 8/20/2020
Published on : 8/20/2020
Exists online : False
Views : 99