Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

Error preparing schema for Lync2010 installation

$
0
0

I am logged in with and Enterprise admin account who is also a member of Schema admins. 

I have a Windows Server 2012 DC that passed all the DCdiag tests.

I have a Windows 2008 server that I am trying to install Lync2010 onto.

I have remote management and remote registry enabled on the DC

When I "run" the "prepare schema" action from the installation CD I get the following error...

> Prepare SchemaInstall-CSAdServerSchema -Confirm:$false -Verbose -Report "C:\Users\bwilson\AppData\Local\Temp\Install-CSAdServerSchema-[2012_12_03][10_56_03].html"Creating new log file "C:\Users\bwilson\AppData\Local\Temp\Install-CSAdServerSchema-b4c29a05-c369-4130-af43-b824f9e0e2b5.xml".Modify the Active Directory schema to support Lync Server 2010.Creating new log file "C:\Users\bwilson\AppData\Local\Temp\Install-CSAdServerSchema-[2012_12_03][10_56_03].html".Warning: Install-CSAdServerSchema failed.Warning: Detailed results can be found at "C:\Users\bwilson\AppData\Local\Temp\Install-CSAdServerSchema-[2012_12_03][10_56_03].html".

When I view the logfile I get this...

Command execution failed: Specified cast is not valid.

Action Action Information Time Logged Execution Result
  Install-CSAdServerSchema   Failed
   Prepare Server Schema  12/3/2012 11:02:55 AM Failed
       Find root domain FracLab.local. 12/3/2012 11:02:55 AM  
       Filter:
(&((ObjectClass Equal user)(ObjectCategory Equal person)(Sid Equal
S-1-5-21-3528852359-3705729139-1464449904-1105)))
 12/3/2012 11:02:55 AM  
       Found:
True
 12/3/2012 11:02:55 AM  
       User:
CN=Brad Wilson,DC=FracLab,DC=local
 12/3/2012 11:02:55 AM  
       Group security
identifier (SID):
S-1-5-21-3528852359-3705729139-1464449904-518
 12/3/2012 11:02:55 AM  
       HasToken:
True
 12/3/2012 11:02:55 AM  
       Schema version:
Object "ms-RTC-SIP-SchemaVersion" does not exist.
 12/3/2012 11:02:55 AM  
       Server Schema
version:
SCHEMA_VERSION_STATE_INVALID
 12/3/2012 11:02:55 AM  
       Schema version:
SCHEMA_VERSION_STATE_INVALID
 12/3/2012 11:02:55 AM  
       Command:
ldifde.exe -i -v -k -j "C:\Users\bwilson\AppData\Local\Temp" -f
"C:\Program Files\Microsoft Lync Server
2010\Deployment\Setup\ExternalSchema.ldf" -c DC=X "DC=FracLab,DC=local" -s
LabDC.FracLab.local
 12/3/2012 11:02:55 AM  
       
Error: Specified cast is not valid.
 Details
 Type: InvalidCastException
  Stack Trace
      at
Microsoft.Rtc.Management.Deployment.LcSchema.ChangeSchemaRegKey(String
schemaMasterFQDN, SchemaKeyState newKeyValue)
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()
at
Microsoft.Rtc.Management.Internal.Utilities.LogWriter.InvokeAndLog(Action
action)
 12/3/2012 11:02:55 AM Error
   Error: An error occurred: "System.InvalidCastException" "Specified
cast is not valid."
 12/3/2012 11:02:55 AM Error



Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>