Category Archives: Lync

Lync 2010 - Cannot update active Match Making server because SQL Server does not respond

So today I was digging through event viewer and saw some weird logs with the following error:

Cannot update active Match Making server because SQL Server does not respond.

The service failed to register an active Match Making because of a failure to connect to the SQL Server domainfrontend.local\rtc.
Exception: System.Data.SqlClient.SqlException - A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
Inner Exception: ~

Cause: The server lost the connection to the backend database.
Resolution:
Make sure the machine has connectivity to the backend SQL Server.

After doing a quite Google search, nothing came up like usual, however I believe I have found a fix.  When installing the latest cumulative update for your front end server, make sure that you don't forget to run the following command (I forgot to finish the install running this command on my second front end, which is when these errors started to popup).

Install-CsDatabase -Update -ConfiguredDatabases -SqlServerFqdn <EEBE.Fqdn> -UseDefaultSqlPaths
Hope this helps!

Lync 2010 - Enable Users for Hosted Voice Mail

Here is how to do it!  Note, this is copied right from Microsoft's website for archival purposes.  Here is a link to the technet article: http://technet.microsoft.com/en-us/library/gg413062.aspx
  1. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell.
  2. Run the Set-CsUser cmdlet to configure the user account for hosted voice mail. For example, run:
    Set-CsUser -HostedVoiceMail $True -Identity "contoso\kenmyer"

    The preceding example sets the following parameters:

    • HostedVoiceMail enables a user’s voice mail calls to be routed to hosted Exchange UM. It also signals Microsoft Lync 2010 to light up the “call voice mail” indicator.
    • Identity specifies the user account to be modified. The Identity value can be specified using any of the following formats:
      • The user's SIP address
      • The user's Active Directory User-Principal-Name
      • The user's domain\logon name (for example, contoso\kenmyer)
      • The user's Active Directory Domain Services Display-Name (for example, Ken Myer). If using the Display-Name as the Identity value, you can use the asterisk (*) wildcard character. For example, the Identity "* Smith" returns all the users who have a Display-Name that ends with the string value "Smith".

Enabling HD video in Lync 2010

This was copied from Vince Quinto's website. All credit goes to him for this article, be sure to check out his blog: http://ucbyvince.blogspot.com/2011/04/enabling-hd-video-for-lync-2010.html

To enable HD video for Lync 2010, you have to allow the maximum resolution to support HD 720p video. Here’s how…

  1. In your Lync Front End Server, Click Start
  2. Click All Programs
  3. Click Microsoft Lync Server 2010
  4. Click Lync Server Management Shell
  5. Run the following commands by typing or copy/paste in Lync Server Management Shell
    1. Set-CsMediaConfiguration -Identity:Global -MaxVideoRateAllowed HD720p15m
  6. Restart the Lync Front End service from services.msc.

This command extends the client policy to support HD. Once Lync Front End service has restarted, plug your webcam that is 720p capable, and your video calls can now utilize HD quality videos.

Take note that HD only works in peer-to-peer. For conferencing, the maximum is still VGA.

There is one catch though which makes it harder for most to achieve HD with their Lync 2010 clients... The hardware requirement for your client computers to support HD video should be at least Quad Core 2.0 GHz or higher. Refer to this link for full client hardware requirement, http://technet.microsoft.com/en-us/library/gg425720.aspx.
Oh well... VGA is not that bad really... 😛

 

How to Change the File Store Location for a Lync Server 2010 Front End Server/Pool

Want to move a file store from one server to another?  Here's how to do it!

Right from Microsoft: http://technet.microsoft.com/en-us/library/gg195742.aspx

Lync 2010 Server - Lync 2011 for Mac Clients Failing To Connect

Today, I ran across the issue of some Lync clients not being able to connect up to our Lync 2010 server.  They were receiving the following error:

Sign in to Microsoft Lync failed because the service is not available or you may not be connected to the internet.

Turned out this was caused by having an invalid SSL certificate.  The reason the certificate was invalid was this particular Mac was not apart of the domain and therefore the root CA's certificate was not trusted.  Simply importing the root certificate into the keychain logged the user right in.

Lync 2010 - Cannot Synchronize Address Book

If you receive this error:

The Lync 2010 client or the Office Communicator client does not download the corporate address book and displays a notification: "Cannot Synchronize Address Book"

Give the following a shot:

  1. Shutdown the Lync client
  2. Force the Lync client to download the address book immediately the next time it starts:
    • Open the registry to HKLM\Software\Policies\Microsoft\Communicator
    • Modify (or Create) the DWORD  the registry key “GalDownloadInitialDelay” and set it to 0  (that is a zero)
    • This can also be done from the command line:
      • reg add HKLM\Software\Policies\Microsoft\Communicator /v GalDownloadInitialDelay /t REG_DWORD /d 0 /f
  3. Delete the Existing Local Address Book Files:
    • On Windows 7 or Vista machines, open Windows Explorer to the directory:
      • %userprofile%\AppData\Local\Microsoft\Communicator\sip_user@example_domain
    • Delete the files GalContacts.db and GalContacts.db.idx
  4. Restart the Lync client.
    •    The address book should be available in less than an hour.

I found the solution here: http://blog.insidelync.com/2012/02/lync-address-book-client-synchronization-errors-and-common-problems/  Give it a read, it's very thorough.

Lync 2010 - NTLM protocol failed with error SEC_E_UNSUPPORTED_FUNCTION

If you receive this error inside of the Lync Server event log on your Front End server:

User authentication with NTLM protocol failed with error SEC_E_UNSUPPORTED_FUNCTION. This indicates a potential mismatch between security policy settings on the client and server computers.

Cause: This error can occur if the settings in "Network security: Minimum session security for NTLM SSP based (including secure RPC) clients" policy on the client computer are not the same as the settings in the "Network security: Minimum session security for NTLM SSP based (including secure RPC) servers" policy on this server. By default, the "Require 128-bit encryption" setting is disabled for computers running Windows Server 2008, Windows Vista, Windows Server 2003, Windows 2000 Server, or Windows XP. For computers running Windows 7 or Windows Server 2008 R2, this setting enabled by default.
Resolution:
Ensure that the "Network security: Minimum session security for NTLM SSP based (including secure RPC) clients" policy settings on the computers from which users log on are the same as "Network security: Minimum session security for NTLM SSP based (including secure RPC) servers" policy settings on this server.

Here is the fix:
1. Open up Group Policy Editor (Start->Run->gpedit.msc) (Or if you are on a domain, open up group policy editor on the domain controller)
2. Expand Local Policies under Computer Configuration
3. Select Security Options
4. Scroll Down and find the following policies:

  • Network security: Minimum session security for NTLM SSP based (including secure RPC) clients
  • Network security: Minimum session security for NTLM SSP based (including secure RPC) servers

5. Change both policies to have "Require 128-bit encryption" checked

Reboot the machine(s)

Troubleshooting Enterprise Voice Calls in Lync

While setting up Lync, I found that I was unable to place any voice calls.  I fired up event viewer, and saw the following errors:

Response Data:
101  Progress Report
ms-diagnostics:  12006;reason="Trying next hop";source="mycomputer.mydomain.local";PhoneUsage="Outoing";PhoneRoute="Outgoing";Gateway="123.234.1234.234";appName="OutboundRouting"

504  Server time-out
ms-diagnostics:  1038;reason="Failed to connect to a peer server";WinsockFailureCode="10061(WSAECONNREFUSED)";WinsockFailureDescription="The peer actively refused the connection attempt";Peer="mycomputer.mydomain.local";Port="5070";source="mycomputer.mydomain.local";OriginalPresenceState="0";CurrentPresenceState="0";MeInsideUser="Yes";ConversationInitiatedBy="0";SourceNetwork="0";RemotePartyCanDoIM="No"

After doing some searching, I found that the reference to Port="5070" usually points to issues with the mediation server.  So I opened up services and it turns out I had never installed the mediation service role.  Once installing the mediation server role and starting the service, the errors vanished!

Error 5 when deploying Lync

Symptom: You receive an error on Step 1 when deploying Lync:

Upload C:\Program Files\Microsoft Lync Server 2010\Deployment\Setup\BackCompatSchema.ldf fails. The exit code is “5″.

Solution: This issued popped up when I added myself to the schema admins group and then ran the deployment wizard. To fix this, I simply logged out and logged back into the machine and reran the wizard.

Prerequisite installation failed: Wmf2008R2 - Lync 2010 Install

During the Setup Lync Server Components step of the Lync 2010 Server System installation, if the setup fails with the error: "Prerequisite installation failed: Wmf2008R2".

Run the following in an elevated command prompt:
%systemroot%\system32\dism.exe /online /add-package /packagepath:%windir%\servicing\Packages\Microsoft-Windows-Media-Format-Package~31bf3856ad364e35~amd64~~6.1.7601.17514.mum /ignorecheck

This command will install the Windows Media Format Runtime. All Front End Servers and Standard Edition servers with the conferencing feature deployed must have the Windows Media Format Runtime installed. WMF is required to run Windows Media Audio (.wma) files that the Call Park, Announcement, and Response Group applications play for announcements and music.

Here is another resource showing this issue: http://www.expta.com/2011/05/lync-server-2010-installation-fails.html