Event ID 4852 — COM+ Service Availability

Event ID 4852 — COM+ Service Availability

Updated: December 3, 2008

Applies To: Windows Server 2008 R2

The COM+ service supports COM+ components that are running in COM+ applications, and it enables them to function correctly. Examples include COM+ Queued Components and COM+ Transactions.

Event Details

Product: Windows Operating System
ID: 4852
Source: Microsoft-Windows-Complus
Version: 6.1
Symbolic Name: ID_QC_MSMQ_GETPROC
Message: GetProcAddress for a Message Queuing API failed. Message Queuing may not be installed correctly.%1%0

Resolve
Install Message Queuing

The event message indicates that the problem might be resolved by installing support for Message Queuing (also known as MSMQ). You can use the Add Roles Wizard to add this role service to the Application Server role.

To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To add Message Queuing to the Application Server role:

  1. Click Start, and then click Server Manager. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  2. Under Roles Summary, click Application Server.
  3. Click Add role services.
  4. On the Select Role Services page, click Message Queuing Activation, and then click Add Required Features in the dialog box that appears.
  5. Click Next to proceed to the Confirm Installation Options page.
  6. Click Install. After the installation process starts, input by the operator is not necessary. When the installation process is finished, the status of the installation appears on the Installation Results page.

Verify

You can verify that the required components are installed and that the role services are enabled by using Server Manager.

To perform these procedures, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To verify the status of installed components and role services:

  1. Click Start, and then click Server Manager.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  3. Under Roles Summary, click Application Server.
  4. Under Role Services, confirm that the status of Message Queuing Activation and Distributed Transactions is Installed.

In addition, you can verify that the COM+ operating system component is installed and working properly.

To verify that COM+ is working properly:

  1. Click Start, and then click Run.
  2. Type comexp.msc, and then click OK. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  3. In the console tree, click Services (Local).
  4. Scroll through the list of service names to find the following services: COM+ Event System (optional), COM+ System Application, DCOM Server Process Launcher, Distributed Transaction Coordinator, Message Queuing, and Remote Procedure Call (RPC).
  5. Confirm that the status of each service is Started.

Related Management Information

COM+ Service Availability

Application Server

Related:

Event ID 4851 — COM+ Service Availability

Event ID 4851 — COM+ Service Availability

Updated: December 3, 2008

Applies To: Windows Server 2008 R2

The COM+ service supports COM+ components that are running in COM+ applications, and it enables them to function correctly. Examples include COM+ Queued Components and COM+ Transactions.

Event Details

Product: Windows Operating System
ID: 4851
Source: Microsoft-Windows-Complus
Version: 6.1
Symbolic Name: ID_QC_MSMQ_UNAVAILABLE
Message: Queued Components requires Message Queuing. Message Queuing is not installed.%1%0

Resolve
Install Message Queuing

The event message indicates that the problem might be resolved by installing support for Message Queuing (also known as MSMQ). You can use the Add Roles Wizard to add this role service to the Application Server role.

To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To add Message Queuing to the Application Server role:

  1. Click Start, and then click Server Manager. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  2. Under Roles Summary, click Application Server.
  3. Click Add role services.
  4. On the Select Role Services page, click Message Queuing Activation, and then click Add Required Features in the dialog box that appears.
  5. Click Next to proceed to the Confirm Installation Options page.
  6. Click Install. After the installation process starts, input by the operator is not necessary. When the installation process is finished, the status of the installation appears on the Installation Results page.

Verify

You can verify that the required components are installed and that the role services are enabled by using Server Manager.

To perform these procedures, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To verify the status of installed components and role services:

  1. Click Start, and then click Server Manager.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  3. Under Roles Summary, click Application Server.
  4. Under Role Services, confirm that the status of Message Queuing Activation and Distributed Transactions is Installed.

In addition, you can verify that the COM+ operating system component is installed and working properly.

To verify that COM+ is working properly:

  1. Click Start, and then click Run.
  2. Type comexp.msc, and then click OK. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  3. In the console tree, click Services (Local).
  4. Scroll through the list of service names to find the following services: COM+ Event System (optional), COM+ System Application, DCOM Server Process Launcher, Distributed Transaction Coordinator, Message Queuing, and Remote Procedure Call (RPC).
  5. Confirm that the status of each service is Started.

Related Management Information

COM+ Service Availability

Application Server

Related:

Event ID 2076 — Message Queuing Logging and Checkpoint Events

Event ID 2076 — Message Queuing Logging and Checkpoint Events

Updated: January 31, 2008

Applies To: Windows Server 2008

To provide transaction consistency, Message Queuing logs transaction status changes and incoming messages to a log file (QMLog), and then creates a checkpoint that is written to a separate file. The checkpoint file contains version information, and the QMLog is updated to refer to that version of the checkpoint file as being the current checkpoint.

During initialization of the MSMQ Service, there is a recovery phase for transactional messages where the QMLog file is read. It contains the version information for the most current checkpoint entry in the checkpoint files and then uses the current checkpoint file to perform recovery of transactional messages.

If there is a failure between the time that the checkpoint file was created and when the QMLog was updated with the new version, the QMLog file refers to the earliest checkpoint file version and recovery fails.

Message Queuing uses several checkpoint files to maintain consistency. These checkpoint files are used to perform recovery of transactional messages.

 

Event Details

Product: Windows Operating System
ID: 2076
Source: MSMQ
Version: 6.0
Symbolic Name: EVENT_ERROR_CANT_INIT_LOGGER
Message: The logger files cannot be initialized. The file QMLog in the Msmq\Storage folder is corrupted or absent. Error %1: %2

Resolve
Correct or recover corrupt log and checkpoint files

The MSMQ Service needs access permissions on the checkpoint and log files. If the service has permissions and you receive this error, then the file is probably corrupt. To start the MSMQ Service without losing consistency, you must correct or recover corrupted checkpoint and log files.

To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To correct or recover corrupted checkpoint and log files:

Caution: Incorrectly editing the registry might severely damage your system. Before making changes to the registry, you should back up any valued data.

  1. To start the service for emergency use (with a potential loss of data consistency), navigate to the %windir%\sSystem32\msmq\storage folder, and then delete the following files: QMLog, MQTrans.lg1, MQTrans.lg2, MQInSeqs.lg1, MQInSeqs.lg2.
  2. Open Registry Editor. To open Registry Editor, click Start. In the search box, type regedit, and then press ENTER.
  3. Create the DWORD registry entry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters\LogDataCreated, and then set to a value of 0.

If you continue to get this error, note any details in the event message, and then contact Microsoft Customer Service and Support (CSS). For information about how to contact CSS, see Enterprise Support (http://go.microsoft.com/fwlink/?LinkId=52267).

Verify

Verify that the MSMQ Service is installed and running.

To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To verfiy that the MSMQ Service is installed and running:

  1. Open the Services snap-in. To open Services, click Start. In the search box, type services.msc, and then press ENTER.
  2. Locate the Message Queuing service, and then confirm that the value in the Status column is Started.
  3. For further confirmation, run a test application that uses the Active Directory features that you require.

Related Management Information

Message Queuing Logging and Checkpoint Events

Message Queuing

Related: