"Access Denied" error message when a transactional remote receive is performed on a Message Queuing 4.0 queue in Windows Vista or in Windows Server 2008

Applies to: Windows Vista BusinessWindows Vista Business 64-bit EditionWindows Vista Enterprise

Symptoms


Consider the following scenario:
  • You install Microsoft Message Queuing (also known as MSMQ) 4.0 on a computer that is running Windows Vista or Windows Server 2008. 
  • You create a transactional Message Queuing queue on the computer.
  • You run a client application that performs a transactional remote receive on the queue by using the exclusive access mode.
In this scenario, the client application intermittently receives an error message that resembles the following:
Access denied
Note This issue occurs even after you restart the application.

Cause


This issue occurs because Message Queuing does not remove the queue handles from the memory correctly when the client application performs the transactional remote receive.

Resolution


Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running Windows Vista Service Pack 2 (SP2) or Windows Server 2008 Service Pack 2 (SP2). Additionally, you must have Message Queuing 4.0 installed.For more information about how to obtain a Windows Vista service pack, click the following article number to view the article in the Microsoft Knowledge Base:

935791 How to obtain the latest Windows Vista service pack

For more information about how to obtain a Windows Server 2008 service pack, click the following article number to view the article in the Microsoft Knowledge Base:

968849 How to obtain the latest service pack for Windows Server 2008

Registry information

To apply this hotfix, you do not have to make any changes to the registry.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows Vista and Windows Server 2008 file information notes
Important Windows Vista hotfixes and Windows Server 2008 hotfixes are included in the same packages. However, only "Windows Vista" is listed on the Hotfix Request page. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows Vista" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
  • The files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table.
    VersionProductSR_LevelService branch
    6.0.600
    2.
    22xxx
    Windows Vista and Windows Server 2008SP2LDR
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 and for Windows Vista" section. MUM files and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintaining the state of the updated component. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows Server 2008 and of Windows Vista
File nameFile versionFile sizeDateTimePlatform
Mqqm.dll6.0.6002.22774931,32809-Jan-201215:32x86
For all supported x64-based versions of Windows Server 2008 and of Windows Vista
File nameFile versionFile sizeDateTimePlatform
Mqqm.dll6.0.6002.227741,520,12809-Jan-201218:26x64
For all supported IA-64-based versions of Windows Server 2008
File nameFile versionFile sizeDateTimePlatform
Mqqm.dll6.0.6002.227743,009,53609-Jan-201215:04IA-64

Status


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

More Information


For more information about a similar issue that occurs in Windows 7 or in Windows Server 2008 R2, click the following article number to view the article in the Microsoft Knowledge Base:
2566230 High memory usage by the Message Queuing service when you perform a remote transactional read on a Message Queuing 5.0 queue in Windows 7 or in Windows Server 2008 R2 
For more information about transactional remote receive, visit the following Microsoft website:For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional file information

Additional file information for Windows Vista and for Windows Server 2008

Additional files for all supported x86-based versions of Windows Vista and of Windows Server 2008
File nameUpdate.mum
File versionNot applicable
File size2,795
Date (UTC)09-Jan-2012
Time (UTC)20:11
File nameX86_c1405dd11ac0d934ee6b23f26ededc0b_31bf3856ad364e35_6.0.6002.22774_none_01fc21a3e690a8d8.manifest
File versionNot applicable
File size710
Date (UTC)09-Jan-2012
Time (UTC)20:11
File nameX86_microsoft-windows-msmq-queuemanager-core_31bf3856ad364e35_6.0.6002.22774_none_81e055217612a96b.manifest
File versionNot applicable
File size9,378
Date (UTC)09-Jan-2012
Time (UTC)16:02
Additional files for all supported x64-based versions of Windows Vista and of Windows Server 2008
File nameAmd64_c13315506438db7dd12b9e290856df97_31bf3856ad364e35_6.0.6002.22774_none_d5f948d71828e1ef.manifest
File versionNot applicable
File size714
Date (UTC)09-Jan-2012
Time (UTC)20:11
File nameAmd64_microsoft-windows-msmq-queuemanager-core_31bf3856ad364e35_6.0.6002.22774_none_ddfef0a52e701aa1.manifest
File versionNot applicable
File size9,706
Date (UTC)09-Jan-2012
Time (UTC)18:44
File nameUpdate.mum
File versionNot applicable
File size2,817
Date (UTC)09-Jan-2012
Time (UTC)20:11
Additional files for all supported IA-64-based versions of Windows Server 2008
File nameIa64_5c4af70a31d9670a1da220c06be3a2d8_31bf3856ad364e35_6.0.6002.22774_none_2f54071bed908687.manifest
File versionNot applicable
File size712
Date (UTC)09-Jan-2012
Time (UTC)20:11
File nameIa64_microsoft-windows-msmq-queuemanager-core_31bf3856ad364e35_6.0.6002.22774_none_81e1f9177610b267.manifest
File versionNot applicable
File size9,684
Date (UTC)09-Jan-2012
Time (UTC)15:20
File nameUpdate.mum
File versionNot applicable
File size1,578
Date (UTC)09-Jan-2012
Time (UTC)20:11