Wednesday, 5 June 2013

Lync 2013 - Prepare Schema Error (Exit code "8206")


During my explorations of the latest iteration of Lync i've stumbled upon a critical error with the first step when preparing the AD schema for Lync,the error message is fairly useless

Error: Upload C:\Program Files\Microsoft Lync Server 2013\Deployment\Setup\ExternalSchema.ldf failed. The exit code is "8206".
 Type: DeploymentException
  Stack Trace
       at Microsoft.Rtc.Management.Deployment.LcSchema.UploadSchema(String path)
at Microsoft.Rtc.Management.Deployment.LcSchema.PrepareSchema(String ldf, SchemaType schemaType)
at Microsoft.Rtc.Management.Deployment.Tasks.ServerSchemaPrepareTask.Action()

 Seems if the installer (server) cannot contact all Domain Controllers on the domain it fails out with this error. I have a secondary DC powered down to prevent replicating of critical DC issues,unfortunately the installer wants all DCs active to update the domain schema. Hope this helps


  1. What's the solution this problem..??'

  2. You need to make sure all your domain controllers are online and contactable from the Lync server. Or clean out any dead controllers using ADSIedit