Error message when you run the Set-CsRegistrar command in Lync Server Management Shell in a Lync Server 2010 environment

Article ID: 2666710 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

Consider the following scenario:
  • You apply one of the following updates in a Microsoft Lync Server 2010 environment:
    • The cumulative update for Lync Server 2010 that is released in July 2011.
    • The hotfix that is mentioned in Microsoft Knowledge Base (KB) article 2630296.

  • You try to configure the Session Initiation Protocol (SIP) listening port properties for a Registrar in Lync Server Management Shell by running the following command:
    Set-CsRegistrar -Identity "Registrar:Lync Pool FQDN" -SipServerTcpPort port number
In this scenario, the command cannot run. Additionally, you receive the following error message:

Set-CsRegistrar -Identity "Registrar: <Lync Pool FQDN>" -SipServerTcpPort <UInt16> -Verbose
VERBOSE: Setting identity "Registrar: <Lync Pool FQDN>"
VERBOSE: Performing operation "Set-CsRegistrar" on Target "Registrar: <Lync Pool FQDN>".
Set-CsRegistrar : GruuType must have a length of at least 1.
At line:1 char:16
+ Set-CsRegistrar <<<<  -Identity "Registrar: <Lync Pool FQDN>" -SipServerTcpPort <UInt16> -Verbose
    + CategoryInfo          : InvalidArgument: (Registrar:Siriu...irius-dom.local:String) [Set-CsRegistrar], PropertyArgumentOutOfRangeException
    + FullyQualifiedErrorId : InvalidUpdate,Microsoft.Rtc.Management.Xds.SetRegistrarCmdlet

VERBOSE: No changes were made by this command.

RESOLUTION

To resolve this issue, install the following cumulative update:
2670334 Description of the cumulative update for Lync Server 2010, Core Components: February 2012


WORKAROUND

To work around this issue, temporarily uninstall the update that is mentioned in KB article 2571545, run this command, and then reinstall the update that is mentioned in KB article 2571545.

MORE INFORMATION

For more information about the Set-CsRegistrar command, visit the following Microsoft website:
General information about the Set-CsRegistrar command
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2630296 Description of the update for Lync Server 2010: October 2011
2493736 Updates for Lync Server 2010
2571545 Description of the cumulative update for Lync Server 2010, Core Components: July 2011

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2666710 - Last Review: March 1, 2012 - Revision: 1.0
APPLIES TO
  • Microsoft Lync Server 2010 Standard Edition
  • Microsoft Lync Server 2010 Enterprise Edition
Keywords: 
kbqfe kbfix kbsurveynew kbexpertiseinter KB2666710

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com