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.

Stop-DatabaseAvailabilityGroup or Start-DatabaseAvailabilityGroup cmdlet fails when run together with the DomainController parameter in an Exchange Server 2010 environment


View products that this article applies to.

Symptoms

Assume that you have a database availability group (DAG) that is in Datacenter Activation Coordination (DAC) mode. You perform one of the following operations:
  • You run the Stop-DatabaseAvailabilityGroup cmdlet with the DomainController parameter during a datacenter switchover.
  • You run the Start-DatabaseAvailabilityGroup cmdlet with the DomainController parameter after a datacenter switchover.
In this situation, the operation fails and you receive the following error message:

Warning: An unexpected error has occurred and a Watson dump is being generated: Save() called on session other that one used to create this object.

↑ Back to the top


Cause

This issue occurs because a new session is created when the DomainController parameter is used. The new session causes the code to generate InvalidOperationException and results in the issue that is described in the "Symptoms" section.

↑ Back to the top


Resolution

To resolve this issue, install the following update rollup:
2645995 Description of Update Rollup 1 for Exchange Server 2010 Service Pack 2

↑ 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


More Information

For more information about the Datacenter Activation Coordination (DAC) mode, visit the following Microsoft website:
For more information about the Stop-DatabaseAvailabilityGroup cmdlet, visit the following Microsoft website:
For more information about the Start-DatabaseAvailabilityGroup cmdlet, visit the following Microsoft website:
For more information about datacenter switchover, visit the following Microsoft website:
For more information about database Switchover for a database availability group in Exchange Server 2010, visit the following Microsoft website:


↑ Back to the top


Keywords: kbqfe, kbfix, kbexpertiseinter, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 2620441
Revision : 1
Created on : 1/7/2017
Published on : 5/11/2013
Exists online : False
Views : 373