LS Server Error 12308 (1000)

Checking the CS-Replication status I noticed one of my servers was not replicating, upon investigation the Front-End service wasn’t started, after starting it the following error was thrown:

  • A component could not be started. The service has to stop.

    Component: Live Communications User Services Error code: C3EE7A08!_HRX! (ES_E_FAILED_TO_CONNECT_TO_LOCAL_BACKEND!_HRM!)

Looks like the CS-Database wasn’t installed correctly or not all at.

Solution:

Open up Topology builder and right click on your server or click the actions menu and then select “Install Database”

After this the front-end service should start.

Hope it helps.

Advertisements

LS File Transfer Agent Service – Error Event ID 1034

The following error is logged in event viewer:

  • “Microsoft Lync Server 2013, File Transfer Agent service encountered an error while accessing a file share and will continuously attempt to access this file share until this issue is resolved. While this condition persists, replication to replica machines might not occur. Access denied.”

Cause: Possible issues with file share permissions. This can occur if the computer hosting the file share has outdated cached credentials for the computer that is trying to access the file share.
Resolution:
For details about how to resolve file share permission issues, see the product documentation.

It doesn’t mention what has failed, just a general access denied error message. To see which servers are having a problem, open up the Lync Management Shell and run the following command:

  • Get-CSManagementStoreReplicationStatus

This will tell you if the replication is up-to-date, if it returns a false value then you know which server is the problem. You can invoke the replication by running the following command:

  • Invoke-CsManagementStoreReplication

After that check if there any cached credentials in Control Panel -> Credential Manager.

Hope it helps.

Lync Server Front End: Lost connection to the Web Conferencing Edge Server

Looking through the event log I stumbled across these 3 errors, logged at the same time every 5 min, after a reboot, every 15 min:

  • Event ID 41024 – Lost connection to all Web Conferencing Edge Services
  • Event ID 41024 – Lost connection to the Web Conferencing Edge Server
  • Event ID 41025 – Connection to the Web Conferencing Edge Server has been restored

Solution:

Disable IPv6 on the Front End server. You should disable it in the registry. Don’t forget to reboot after you make this change. Here is the MS KB article how to do this via the registry: http://support.microsoft.com/kb/929852

Hope it helps.

Error (An error occurred while applying SQL script for the feature RTCdatabaseStore) – Lync 2013 Edge Install

Playing around with my test lab, I decided to remove lync on my edge server and reinstall it. Upon running step 2 i encountered the following error:

Lync error

Looking at the log files listed it gave an “Operating System Error 5: Access Denied” error. I went to the CsData folder under the C:\ drive on my server, granted my account access and then ran the setup again. This time if installed successfully.

Hope it helps.

Cannot publish topology changes. Conference directories still exist on a pool that would be deleted. Remove the conference directories before continuing.

In my test environment I was making changes to the topology and I removed a pool and server from the the Enterprise Pool.

After publishing the topology it failed with the above error. To fix this we need to first find where the conference directory is homed, open up the Lync Management Shell and run the following command:

  • get-csconferencedirectory

Once you have located the correct one to delete (if you make a mistake you will need to start over) then still using the same session from your previous Lync Management Shell run the following command:

  • remove-csconferencedirectory -identity [number] -force

Force switch included due to errors without running it. Wait for replication to take place and then try removing the pool from your Topology and publishing it, this time it should succeed.

Hope it helps.

Check Exchange 2010 internal and external URL’s

If you want to get a quick overview of all the URL’s of your virtual directories in Exchange 2010 you can run the following command:

  • Get-ActiveSyncVirtualDirectory | ft server,*lur* -AutoSize
  • Get-AutodiscoverVirtualDirectory | ft server,*lur* -AutoSize
  • Get-ClientAccessServer | ft name, *lur* -AutoSize
  • Get-EcpVirtualDirectory | ft server,*lur* -AutoSize
  • Get-OabVirtualDirectory | ft server,*lur* -AutoSize
  • Get-OwaVirtualDirectory | ft server,*lur* -AutoSize
  • Get-WebServicesVirtualDirectory | ft server,*lur* –AutoSize

Hope it helps

Lync Server Service Startup Pending Error

Event Log Error:

Lync Server Service Startup Pending as Backup Store BackEnd is not yet available.
Service Startup will be delayed until the Backup Store BackEnd becomes available.
Cause: Possible Issues with the Backup Store BackEnd.

Resolution:
Ensure that the Backup Store BackEnd SQL Server is running and connectivity is working. The Backup Store needs to be available for initial startup to complete.

__________________________________________________________________

If you are using Azure as you playground like I am or for production and you are trying to install the CS Database, here is a scenario that works.

Login to Azure and locate your SQL VM if you using remote SQL like I am or your Lync Front End if you have a standard installation.

Attach an empty disk and set the HOST CACHE PREFERENCE to NONE. Now in Windows go to Computer Management and bring in the disk and format it.

Now from the Lync Management Shell run the following to create the CS Database on the new drive:

  • Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn sqlserver.domain.com -DatabasePaths “F:\CSLog”,”F:\CSLog”,”F:\CSDB”

Give it a few minutes to install and after it has completed start the Lync Front-End Service.

Hope it helps.

Topology Builder encountered an issue and cannot publish this topology.

ERROR

“Topology Builder encountered an issue and cannot publish this topology.

SQL store is not defined in the topology. You must ensure that the SQL store that is used for the Central Management Store is part of the defined topology and that the SQL store is associated with a Front End Pool.”

SOLUTION

To fix the error and publish the topology:

  • Open Lync Management Shell on your Lync 2013 Server.
  • Run Get-CsConfigurationStoreLocation. This command reports back the location of the Active Directory service control point for the Central Management store.
  • Run Remove-CsConfigurationStoreLocation command.

Now try and publish your Topology and it should all be successful.

Hope it helps.

Lync Server 2013 – Prerequisite not satisfied: Windows Identity Foundation is required.

While running the Lync Setup you may come across the following error from Step 1: Install Local Configuration Store in the Lync Server 2013 – Deployment Wizard.

LyncError1

Fix: You can launch Server Manager and then add the feature: Windows Identity Foundation 3.5

After that run the wizard to “Install Local Configuration Store” and it should succeed.

lyncerror2

Hope it helps.

Lync 2013 Management Shell not giving a prompt

Today after starting with my Lync Server 2013 setup I needed to access the Lync Management Shell. After opening the shell i was presented with a black screen and solid cursor.

LyncManagementShell

Opening and closing the shell doesn’t make a difference. To fix this launch a normal PowerShell window as Administrator and run the following command:

  • powershell.exe -noexit -command “cd $env:UserProfile; Import-Module ‘C:\Program Files\Common Files\Microsoft Lync Server 2013\Modules\Lync\Lync.psd1′”

After that launch the Lync Server Management Shell and all should be working again.

Hope it helps.