Upcoming DevLive Sessions http://blogs.msdn.com/b/biztalknotes/archive/2013/08/02/upcoming-devlive-sessions-for-biztalk.aspx
MSMQ fails to install on Windows Server 2008 R2, and the following error is returned:
Application Event Logs show the following:
Log Name: SetupSource: Microsoft-Windows-ServerManagerDate: mm/dd/yyyy hh:mm:ss AM/PMEvent ID: 1616Task Category: NoneLevel: ErrorKeywords: User: Domain\UserComputer: ComputerNameDescription:Installation failed.
Error: Attempt to install Message Queuing Server failed with error code 0x80070643. Fatal error during installation The following features were not installed: Message Queuing Services Message Queuing Server
CBS(C:/Windows/Logs/CBS) logs show the following:
2013-07-25 10:48:43, Error CBS Failed to perform operation. [HRESULT = 0x80070643 - ERROR_INSTALL_FAILURE]2013-07-25 10:48:43, Info CBS Session: 30312782_1807246208 finalized. Reboot required: no [HRESULT = 0x80070643 - ERROR_INSTALL_FAILURE]2013-07-25 10:48:43, Info CBS Session: 30312782_1890862208 initialized by client RMT.2013-07-25 10:48:43, Info CBS Session: 30312782_1892890208 initialized by client WindowsUpdateAgent.2013-07-25 10:48:43, Info CBS Appl: DetectUpdate, Package: Microsoft-Windows-IIS-WebServer-Package~31bf3856ad364e35~amd64~~6.1.7601.17514, Local Parent: IIS-WebServerRole, Intended State: Installed2013-07-25 10:48:43, Info CBS Appl: Evaluating applicability block(detectUpdate part), disposition is: Staged, applicability: Applicable, result applicability state: Installed2013-07-25 10:48:43, Info CBS Appl: Package: Microsoft-Windows-IIS-WebServer-Package~31bf3856ad364e35~amd64~~6.1.7601.17514, Update: IIS-WebServer, Applicable: Applicable, Disposition: Installed2013-07-25 10:48:43, Info CBS Appl: DetectUpdate, Package: Microsoft-Windows-IIS-WebServer-Package~31bf3856ad364e35~amd64~~6.1.7601.17514, Local Parent: IIS-WebServer, Intended State: Installed2013-07-25 10:48:43, Info CBS Appl: Evaluating applicability block(detectUpdate part)
This issue may occur if the user permissions are inadequate for the installation. MSMQ service runs under the Network Service account. During installation if we are unable to start the service then the installation rolls back. The Network Service account permission is restricted and hence the service does not start up and thus rolls back the installation.
Add the Network Service Account to the Local Administrator group on the machine.
You may also try the following:
1. Give permission to Authenticated Users on ‘C:\Windows\System 32’ and ‘C: \Windows\debug’ folder.
2. Disable all antivirus software’s.
3. Make sure UAC is turned off.
a. Go to Control panel and click User Accounts
b. Select User Accounts and click Turn User Account Control on/off
c. Un-check the check box beside User Account Control
d. Close the User Account Window, reboot the computer and try to install Microsoft Message Queuing (MSMQ) again
Note: Make sure to turn User Account Control back ON when the issue is resolved.
5. If you are using a debug build of the OS, try using the free/retail build (Refer: http://msdn.microsoft.com/en-us/library/ff543450(VS.85).aspx to see the difference between debug and free build of the OS)
Written by:Kshitij Dattani
Reviewed by:Jainath Ramanathan