Lync 2010 CMS move error to Lync 2013

Hello,

After I go through Lyn Deployment Wizard to prepare Lync 2013 server, I ran this command to create CMS on Lync 2013 svr as an administrator.

Install-CsDatabase -Centralmanagement Database -sqlserverfqdn xxx.xxx.com -sqlinstancename -rtc

The I received the following error. I also tried to the command with -clean as some suggested and it resulted in the same error. RTC instance is installed on Lync 2013 and remote connection and TCP/IP enabled. I also checked windows firewall and RTC access is set to allow...all Lync services are running as well. I would appreciate help!!

SqlConnectionFailure: Failed to connect to SQL Server Error Error: Failed to find SQL Service. Make sure that SQL Server service (instance name -RTC) is installed in machine xxxx.xxxx.com Details Type: DbSetupSqlServiceNotInstalledException Stack Trace at Microsoft.Rtc.Common.Data.DbUtils.GetSqlServerStatus(Server sqlServer) at Microsoft.Rtc.Common.Data.DbUtils.StartSqlServer(Server sqlServer, Action`2 log) at Microsoft.Rtc.Common.Data.DbSetupBase.ConnectSqlServer() at Microsoft.Rtc.Common.Data.DbSetupBase.Initialize(Dictionary`2 parameters) at Microsoft.Rtc.Common.Data.DbSetupBase..ctor(Dictionary`2 parameters, Action`2 log) Error: An error occurred: "Microsoft.Rtc.Common.Data.SqlConnectionException"

"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........



  • Edited by EthanLEC Wednesday, June 18, 2014 3:10 PM
June 18th, 2014 6:07pm

Can you try without the - before the RTC? 

Install-CsDatabase -CentralmanagementDatabase -sqlserverfqdn xxx.xxx.com -sqlinstancename rtc
Free Windows Admin Tool Kit Click here and download it now
June 18th, 2014 6:21pm

Thank you. I will try that tonight!
June 18th, 2014 6:35pm

Try it without -sqlinstancename -rtc

Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn xxx.xxx.com -UseDefaultSqlPaths -Verbose

In addition, I just noticed that you have

-sqlinstancename -rtc

and it should be

-sqlinstancename rtc
You can try it with correct instance
Free Windows Admin Tool Kit Click here and download it now
June 18th, 2014 6:45pm

Hi,

I tried without '-' and am getting the following error now.

Exception Stack:
Type: System.ArgumentNullException, Message: Value cannot be null.
Parameter name: path1

Install-CsDatabase : An error occurred while creating or updating the database
for feature CentralMgmtStore. For details, see the log file 'xxxxx.log'
At line:1 char:1
+ Install-CsDatabase -CentralManagementDatabase -SQLServerFQDN
xxxx.xxxx.com - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : InvalidOperation: (:SourceCollection) [Install-C
   sDatabase], ArgumentNullException
    + FullyQualifiedErrorId : TaskFailed,Microsoft.Rtc.Management.Deployment.I
   nstallDatabaseCmdlet
WARNING: Install-CsDatabase failed.
WARNING: Detailed results can be found at
"C:\Users\administrator.NVFS1\AppData\Local\Temp\Install-CsDatabase-c445e308-a2
0b-4a6d-88f9-aa67f103d123.html".
Install-CsDatabase : Command execution failed: Value cannot be null.
Parameter name: path1
At line:1 char:1
+ Install-CsDatabase -CentralManagementDatabase -SQLServerFQDN
xxxx.xxx.com - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : InvalidOperation: (:) [Install-CsDatabase], Argu
   mentNullException
    + FullyQualifiedErrorId : ProcessingFailed,Microsoft.Rtc.Management.Deploy
   ment.InstallDatabaseCmdlet

Lync Server 2013 Deployment Log  Collapse All Actions 
 Action   Action Information   Time Logged   Execution Result 
  Install-CsDatabase         Failed 

   Action      6/20/2014 10:47:16 PM   Success 

         Root domain: xxxx.com.   6/20/2014 10:47:16 PM     
         Root domain: xxxx.com.   6/20/2014 10:47:17 PM     
         Filter: (&((ObjectCategory Equal person)(ObjectClass Equal user)(Sid Equal S-1-5-21-3303346277-3204210531-2784806349-500)))   6/20/2014 10:47:17 PM     
         Found   6/20/2014 10:47:17 PM     
         User: CN=administrator,CN=Builtin,DC=xxxx,DC=com   6/20/2014 10:47:17 PM     
         Group security identifier (SID): S-1-5-21-3303346277-3204210531-2784806349-519   6/20/2014 10:47:17 PM     
         HasToken: True   6/20/2014 10:47:20 PM     
         Check Groups   6/20/2014 10:47:20 PM     

     TaskFailed: Task execution failed.   6/20/2014 10:47:20 PM   Error 
     Error: Value cannot be null. Parameter name: path1 
 Details 
 Type: ArgumentNullException 
  Stack Trace 
       at System.IO.Path.Combine(String path1, String path2) 
at Microsoft.Rtc.Management.Deployment.Tasks.DatabaseCreator.CreateDbSetupInstance(String featureName, DatabaseScript script, String sqlServer, String instanceName, Boolean collocated, Boolean backup, Boolean noreindex, DatabasePathAssignment[] pathAssignments, StreamWriter log, Boolean broadcastInfo) 
at Microsoft.Rtc.Management.Deployment.Tasks.DatabaseCreator.CheckDbExistsForFeature(String featureName, String sqlServer, String instanceName, Boolean collocated, String& logfile) 
 
 
   6/20/2014 10:47:20 PM   Error 
     TaskFailed: An error occurred while creating or updating the database for feature CentralMgmtStore. For details, see the log file 'C:\Users\administrator.NVFS1\AppData\Local\Temp\DbExists-CentralMgmtStore-xxxx.xxxx.com_rtc-[2014_06_20][22_47_20].log'   6/20/2014 10:47:20 PM     
     TaskFailedResolution: Consult exception information and previous errors for more information on how to resolve this error.   6/20/2014 10:47:20 PM     
     Error: An error occurred: "System.ArgumentNullException" "Value cannot be null. 
Parameter name: path1"   6/20/2014 10:47:20 PM   Error 
 

DIV2,DIV1



  • Edited by EthanLEC 7 hours 51 minutes ago
June 20th, 2014 10:53pm

I am getting the following error now when trying without '-' before rtc.

Exception Stack:
Type: System.ArgumentNullException, Message: Value cannot be null.
Parameter name: path1

Install-CsDatabase : An error occurred while creating or updating the database
for feature CentralMgmtStore. For details, see the log file 'xxxxx.log'
At line:1 char:1
+ Install-CsDatabase -CentralManagementDatabase -SQLServerFQDN
xxxx.xxxx.com - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : InvalidOperation: (:SourceCollection) [Install-C
   sDatabase], ArgumentNullException
    + FullyQualifiedErrorId : TaskFailed,Microsoft.Rtc.Management.Deployment.I
   nstallDatabaseCmdlet
WARNING: Install-CsDatabase failed.
WARNING: Detailed results can be found at
"C:\Users\administrator.NVFS1\AppData\Local\Temp\Install-CsDatabase-c445e308-a2
0b-4a6d-88f9-aa67f103d123.html".
Install-CsDatabase : Command execution failed: Value cannot be null.
Parameter name: path1
At line:1 char:1
+ Install-CsDatabase -CentralManagementDatabase -SQLServerFQDN
xxxx.xxx.com - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : InvalidOperation: (:) [Install-CsDatabase], Argu
   mentNullException
    + FullyQualifiedErrorId : ProcessingFailed,Microsoft.Rtc.Management.Deploy
   ment.InstallDatabaseCmdlet

Lync Server 2013 Deployment Log  Collapse All Actions 
 Action   Action Information   Time Logged   Execution Result 
  Install-CsDatabase         Failed 

   Action      6/20/2014 10:47:16 PM   Success 

         Root domain: xxxx.com.   6/20/2014 10:47:16 PM     
         Root domain: xxxx.com.   6/20/2014 10:47:17 PM     
         Filter: (&((ObjectCategory Equal person)(ObjectClass Equal user)(Sid Equal S-1-5-21-3303346277-3204210531-2784806349-500)))   6/20/2014 10:47:17 PM     
         Found   6/20/2014 10:47:17 PM     
         User: CN=administrator,CN=Builtin,DC=xxxx,DC=com   6/20/2014 10:47:17 PM     
         Group security identifier (SID): S-1-5-21-3303346277-3204210531-2784806349-519   6/20/2014 10:47:17 PM     
         HasToken: True   6/20/2014 10:47:20 PM     
         Check Groups   6/20/2014 10:47:20 PM     

     TaskFailed: Task execution failed.   6/20/2014 10:47:20 PM   Error 
     Error: Value cannot be null. Parameter name: path1 
 Details 
 Type: ArgumentNullException 
  Stack Trace 
       at System.IO.Path.Combine(String path1, String path2) 
at Microsoft.Rtc.Management.Deployment.Tasks.DatabaseCreator.CreateDbSetupInstance(String featureName, DatabaseScript script, String sqlServer, String instanceName, Boolean collocated, Boolean backup, Boolean noreindex, DatabasePathAssignment[] pathAssignments, StreamWriter log, Boolean broadcastInfo) 
at Microsoft.Rtc.Management.Deployment.Tasks.DatabaseCreator.CheckDbExistsForFeature(String featureName, String sqlServer, String instanceName, Boolean collocated, String& logfile) 
 
 
   6/20/2014 10:47:20 PM   Error 
     TaskFailed: An error occurred while creating or updating the database for feature CentralMgmtStore. For details, see the log file 'C:\Users\administrator.NVFS1\AppData\Local\Temp\DbExists-CentralMgmtStore-xxx-l13.xxxx.com_rtc-[2014_06_20][22_47_20].log'   6/20/2014 10:47:20 PM     
     TaskFailedResolution: Consult exception information and previous errors for more information on how to resolve this error.   6/20/2014 10:47:20 PM     
     Error: An error occurred: "System.ArgumentNullException" "Value cannot be null. 
Parameter name: path1"   6/20/2014 10:47:20 PM   Error 
 

DIV2,DIV1


  • Edited by EthanLEC 7 hours 50 minutes ago
Free Windows Admin Tool Kit Click here and download it now
June 20th, 2014 10:55pm

My mistake. You need instance name with CMS
June 20th, 2014 11:01pm

Is account that you are using is a member of CSadministrators and RTCUniversalServerAdmin groups?
Free Windows Admin Tool Kit Click here and download it now
June 20th, 2014 11:05pm

Account used is in correct group. Would you clarify what you mean by I need instance name with CMS?

This is what I ran:

Install-CsDatabase -Centralmanagement Database -SQLServerFQDN xxx.xxx.com -SQLInstanceName rtc

June 20th, 2014 11:36pm

The command should be:

Install-CsDatabase -CentralManagementDatabase -SqlServerFqdn xxx.xxx.com -SqlInstanceName rtc -UseDefaultSqlPaths -Verbose

You have space in your command: "-Centralmanagement Database" Is this just typo?

Free Windows Admin Tool Kit Click here and download it now
June 20th, 2014 11:40pm

yes, a typo.

June 20th, 2014 11:42pm

What was the exact command you ran? As the issue looks to be about SQL pathing. If defining database and log placement use something like:

Install-CsDatabase -CentralManagementDatabase -SqlServerFqdn sqlbe.contoso.net -SqlInstanceName rtc -DatabasePaths "C:\CSDB-Logs","C:\CSDB-CMS" -Report "C:\Logs\InstallDatabases.html" 

(http://technet.microsoft.com/en-ca/library/gg398832.aspx)

Free Windows Admin Tool Kit Click here and download it now
June 20th, 2014 11:45pm

I also noticed you have a space in the parameter "-Centralmanagement Database" should be "-CentralmanagementDatabase&qu
June 20th, 2014 11:47pm

I used this:

Install-CSDatabase -CentralManagementDatabase -SQLServerFQDN xxxxx.xxx.com -SQLInstanceName rtc

I also tried with the following string and got the same error:

-usedefaultsqlpaths -verbose

Free Windows Admin Tool Kit Click here and download it now
June 20th, 2014 11:49pm

that was just a typo on this post...
June 20th, 2014 11:51pm

Have you tried with the -DatabasePaths and defining the log and database paths?
Free Windows Admin Tool Kit Click here and download it now
June 20th, 2014 11:57pm

Just tried your suggestion and i'm getting the same error msg.
June 20th, 2014 11:58pm

Are you running the command locally on the Lync 2013 server using the Lync 2013 Management Shell? Also is the domain account being used a member of the local administrators of the server?
Free Windows Admin Tool Kit Click here and download it now
June 21st, 2014 12:02am

Please post the details of the log file referenced in: 
TaskFailed: An error occurred while creating or updating the database for feature CentralMgmtStore. For details, see the log file		
		
June 21st, 2014 12:04am

Yes on both.
Free Windows Admin Tool Kit Click here and download it now
June 21st, 2014 12:04am

This is log file reference:

Exception Stack:
Type: System.ArgumentNullException, Message: Value cannot be null.
Parameter name: path1

and installdatabases.html has the same error I posted today.

June 21st, 2014 12:09am

Does your account have sysadmin rights to the database?
Free Windows Admin Tool Kit Click here and download it now
June 21st, 2014 12:11am

Yes it does.
June 21st, 2014 12:27am

What is returned if you run Test-CsDatabase -CentralManagementDatabase on the 2013 server?
Free Windows Admin Tool Kit Click here and download it now
June 21st, 2014 12:29am

Hi,

I tried without '-' and am getting the following error now.

Exception Stack:
Type: System.ArgumentNullException, Message: Value cannot be null.
Parameter name: path1

Install-CsDatabase : An error occurred while creating or updating the database
for feature CentralMgmtStore. For details, see the log file 'xxxxx.log'
At line:1 char:1
+ Install-CsDatabase -CentralManagementDatabase -SQLServerFQDN
xxxx.xxxx.com - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : InvalidOperation: (:SourceCollection) [Install-C
   sDatabase], ArgumentNullException
    + FullyQualifiedErrorId : TaskFailed,Microsoft.Rtc.Management.Deployment.I
   nstallDatabaseCmdlet
WARNING: Install-CsDatabase failed.
WARNING: Detailed results can be found at
"C:\Users\administrator.NVFS1\AppData\Local\Temp\Install-CsDatabase-c445e308-a2
0b-4a6d-88f9-aa67f103d123.html".
Install-CsDatabase : Command execution failed: Value cannot be null.
Parameter name: path1
At line:1 char:1
+ Install-CsDatabase -CentralManagementDatabase -SQLServerFQDN
xxxx.xxx.com - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : InvalidOperation: (:) [Install-CsDatabase], Argu
   mentNullException
    + FullyQualifiedErrorId : ProcessingFailed,Microsoft.Rtc.Management.Deploy
   ment.InstallDatabaseCmdlet

Lync Server 2013 Deployment Log  Collapse All Actions 
 Action   Action Information   Time Logged   Execution Result 
  Install-CsDatabase         Failed 

   Action      6/20/2014 10:47:16 PM   Success 

         Root domain: xxxx.com.   6/20/2014 10:47:16 PM     
         Root domain: xxxx.com.   6/20/2014 10:47:17 PM     
         Filter: (&((ObjectCategory Equal person)(ObjectClass Equal user)(Sid Equal S-1-5-21-3303346277-3204210531-2784806349-500)))   6/20/2014 10:47:17 PM     
         Found   6/20/2014 10:47:17 PM     
         User: CN=administrator,CN=Builtin,DC=xxxx,DC=com   6/20/2014 10:47:17 PM     
         Group security identifier (SID): S-1-5-21-3303346277-3204210531-2784806349-519   6/20/2014 10:47:17 PM     
         HasToken: True   6/20/2014 10:47:20 PM     
         Check Groups   6/20/2014 10:47:20 PM     

     TaskFailed: Task execution failed.   6/20/2014 10:47:20 PM   Error 
     Error: Value cannot be null. Parameter name: path1 
 Details 
 Type: ArgumentNullException 
  Stack Trace 
       at System.IO.Path.Combine(String path1, String path2) 
at Microsoft.Rtc.Management.Deployment.Tasks.DatabaseCreator.CreateDbSetupInstance(String featureName, DatabaseScript script, String sqlServer, String instanceName, Boolean collocated, Boolean backup, Boolean noreindex, DatabasePathAssignment[] pathAssignments, StreamWriter log, Boolean broadcastInfo) 
at Microsoft.Rtc.Management.Deployment.Tasks.DatabaseCreator.CheckDbExistsForFeature(String featureName, String sqlServer, String instanceName, Boolean collocated, String& logfile) 
 
 
   6/20/2014 10:47:20 PM   Error 
     TaskFailed: An error occurred while creating or updating the database for feature CentralMgmtStore. For details, see the log file 'C:\Users\administrator.NVFS1\AppData\Local\Temp\DbExists-CentralMgmtStore-xxxx.xxxx.com_rtc-[2014_06_20][22_47_20].log'   6/20/2014 10:47:20 PM     
     TaskFailedResolution: Consult exception information and previous errors for more information on how to resolve this error.   6/20/2014 10:47:20 PM     
     Error: An error occurred: "System.ArgumentNullException" "Value cannot be null. 
Parameter name: path1"   6/20/2014 10:47:20 PM   Error 
 

DIV2,DIV1



  • Edited by EthanLEC Saturday, June 21, 2014 3:00 AM
June 21st, 2014 5:51am

I am getting the following error now when trying without '-' before rtc.

Exception Stack:
Type: System.ArgumentNullException, Message: Value cannot be null.
Parameter name: path1

Install-CsDatabase : An error occurred while creating or updating the database
for feature CentralMgmtStore. For details, see the log file 'xxxxx.log'
At line:1 char:1
+ Install-CsDatabase -CentralManagementDatabase -SQLServerFQDN
xxxx.xxxx.com - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : InvalidOperation: (:SourceCollection) [Install-C
   sDatabase], ArgumentNullException
    + FullyQualifiedErrorId : TaskFailed,Microsoft.Rtc.Management.Deployment.I
   nstallDatabaseCmdlet
WARNING: Install-CsDatabase failed.
WARNING: Detailed results can be found at
"C:\Users\administrator.NVFS1\AppData\Local\Temp\Install-CsDatabase-c445e308-a2
0b-4a6d-88f9-aa67f103d123.html".
Install-CsDatabase : Command execution failed: Value cannot be null.
Parameter name: path1
At line:1 char:1
+ Install-CsDatabase -CentralManagementDatabase -SQLServerFQDN
xxxx.xxx.com - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : InvalidOperation: (:) [Install-CsDatabase], Argu
   mentNullException
    + FullyQualifiedErrorId : ProcessingFailed,Microsoft.Rtc.Management.Deploy
   ment.InstallDatabaseCmdlet

Lync Server 2013 Deployment Log  Collapse All Actions 
 Action   Action Information   Time Logged   Execution Result 
  Install-CsDatabase         Failed 

   Action      6/20/2014 10:47:16 PM   Success 

         Root domain: xxxx.com.   6/20/2014 10:47:16 PM     
         Root domain: xxxx.com.   6/20/2014 10:47:17 PM     
         Filter: (&((ObjectCategory Equal person)(ObjectClass Equal user)(Sid Equal S-1-5-21-3303346277-3204210531-2784806349-500)))   6/20/2014 10:47:17 PM     
         Found   6/20/2014 10:47:17 PM     
         User: CN=administrator,CN=Builtin,DC=xxxx,DC=com   6/20/2014 10:47:17 PM     
         Group security identifier (SID): S-1-5-21-3303346277-3204210531-2784806349-519   6/20/2014 10:47:17 PM     
         HasToken: True   6/20/2014 10:47:20 PM     
         Check Groups   6/20/2014 10:47:20 PM     

     TaskFailed: Task execution failed.   6/20/2014 10:47:20 PM   Error 
     Error: Value cannot be null. Parameter name: path1 
 Details 
 Type: ArgumentNullException 
  Stack Trace 
       at System.IO.Path.Combine(String path1, String path2) 
at Microsoft.Rtc.Management.Deployment.Tasks.DatabaseCreator.CreateDbSetupInstance(String featureName, DatabaseScript script, String sqlServer, String instanceName, Boolean collocated, Boolean backup, Boolean noreindex, DatabasePathAssignment[] pathAssignments, StreamWriter log, Boolean broadcastInfo) 
at Microsoft.Rtc.Management.Deployment.Tasks.DatabaseCreator.CheckDbExistsForFeature(String featureName, String sqlServer, String instanceName, Boolean collocated, String& logfile) 
 
 
   6/20/2014 10:47:20 PM   Error 
     TaskFailed: An error occurred while creating or updating the database for feature CentralMgmtStore. For details, see the log file 'C:\Users\administrator.NVFS1\AppData\Local\Temp\DbExists-CentralMgmtStore-xxx-l13.xxxx.com_rtc-[2014_06_20][22_47_20].log'   6/20/2014 10:47:20 PM     
     TaskFailedResolution: Consult exception information and previous errors for more information on how to resolve this error.   6/20/2014 10:47:20 PM     
     Error: An error occurred: "System.ArgumentNullException" "Value cannot be null. 
Parameter name: path1"   6/20/2014 10:47:20 PM   Error 
 

DIV2,DIV1


  • Edited by EthanLEC Saturday, June 21, 2014 3:01 AM
Free Windows Admin Tool Kit Click here and download it now
June 21st, 2014 5:53am

This is what I get when I ran that command. The error msg seems to be the same as the other...

 PS C:\Users\administrator.xxxx> test-csdatabase -centralmanagementdatabase
WARNING: test-csdatabase failed.
WARNING: Detailed results can be found at
"C:\Users\administrator.NVFS1\AppData\Local\Temp\test-csdatabase-43e56110-84a2-
41f2-a966-f7a2ab0f5eb3.html".
test-csdatabase : Command execution failed: Value cannot be null.
Parameter name: path1
At line:1 char:1
+ test-csdatabase -centralmanagementdatabase
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Test-CsDatabase], Argumen
   tNullException
    + FullyQualifiedErrorId : ProcessingFailed,Microsoft.Rtc.Management.Deploy
   ment.TestDatabaseCmdlet

Lync Server 2013 Deployment Log  Collapse All Actions 
 Action   Action Information   Time Logged   Execution Result 
  test-csdatabase         Failed 

   Action      6/22/2014 2:44:06 PM   Failed 

         Error: Value cannot be null. Parameter name: path1 
 Details 
 Type: ArgumentNullException 
  Stack Trace 
       at System.IO.Path.Combine(String path1, String path2) 
at Microsoft.Rtc.Management.Deployment.Tasks.VerifyDatabaseTask.AddDatabaseConnectionInfo(String sqlServerFqdn, String sqlInstanceName, String mirrorSqlServerFqdn, String mirrorSqlInstamceName, IEnumerable`1 features) 
at Microsoft.Rtc.Management.Deployment.Tasks.VerifyDatabaseTask.Action() 
at Microsoft.Rtc.Management.Internal.Utilities.LogWriter.InvokeAndLog(Action action) 
 
 
   6/22/2014 2:44:06 PM   Error 

     Error: An error occurred: "System.ArgumentNullException" "Value cannot be null. 
Parameter name: path1"   6/22/2014 2:44:06 PM   Error 
 

DIV2,DIV1

 
June 22nd, 2014 2:49pm

Could you use SQL Management Studio either from the local server or another server and try connecting the the 2013 RTC instance? What databases are listed?
Free Windows Admin Tool Kit Click here and download it now
June 22nd, 2014 3:40pm

RTC lists the following:

System Databases

cpsdyn

rgsconfig

rgsdyn

rtcab

rtcshared

rtcxds

June 23rd, 2014 7:58pm

If you open the Lync 2013 Topology Builder and select the top item "Lync Server" do you see your 2013 FE listed as a Central Management Server? How much free disk space do you have on your Front End as well?
Free Windows Admin Tool Kit Click here and download it now
June 23rd, 2014 10:44pm

when i did my migration, i had to actually run the command shell in admin mode if I recall, otherwise i got access denied when it tried running the scripts. Even though i was in enterprise admins, and in rtcuniversalserveradmins, i still had to do the "run as administrator" on management shell.
June 23rd, 2014 11:41pm

CMS is still Lync 2010 server. About 55 GB free HD space available on Lync 2013.

Free Windows Admin Tool Kit Click here and download it now
June 24th, 2014 9:13pm

I have run everything as admin.
June 24th, 2014 9:15pm

I have noticed replication is failing. Status shows false on all servers and dates previous to my last try to move CMS.

So when I try invoke-csmanagementstorereplication it fails because the systems sees CMS is being relocated....

I get the following error:

PS C:\Users\administrator.xxxx> invoke-csmanagementstorereplication
invoke-csmanagementstorereplication : ###50020:XdsForceReplication:This
central management store is being moved to another location. No changes can be
made until this move is completed.
At line:1 char:1
+ invoke-csmanagementstorereplication
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Invoke-CsManagementStoreRepli
   cation], SqlException
    + FullyQualifiedErrorId : System.Data.SqlClient.SqlException,Microsoft.Rtc
   .Management.Xds.InvokeOcsManagementStoreReplicationCmdlet

Free Windows Admin Tool Kit Click here and download it now
June 24th, 2014 9:38pm

Plz forgive my overlooking this piece of info!!

I forgot to mention something that I didn't think it was a big deal. When I tried to install cms without "-" in front of rtc sql instance name last Friday, that command ran without issues, but CMS move failed right away. Server also was not stable; I could not open task manager or event viewer. and I could not even open server, so I applied the snapshot that I took right before I started working on it. When the snapshot came up instead of running install cms command I restarted the server to refresh svr resources and that's when I started getting this error trying to install cms on Lync 2013 svr from my June 21 post:

Type: System.ArgumentNullException, Message: Value cannot be null.
Parameter name: path1

Install-CsDatabase : An error occurred while creating or updating the database
for feature CentralMgmtStore. For details, see the log file 'xxxxx.log'
At line:1 char:1

On Lync 2010 server, replication service agents (master and file transfer) had stopped since last Friday night saying CMS role is not installed. When I restarted today both services are saying:

Microsoft Lync Server 2010, ....agent will not be functional until the AD connection point refers to a central management database that is in an available state.The Central management database is being moved out of xxx-xxx.xxxxx.com\rtc SQL instance.
Resolution:
Please ensure that the central management database was successfully moved to another pool and that the AD connection point was not manually changed.

What's puzzling is CMS move failed right away with an error (I can't recall and events from last week are overwritten), but the system thinks CMS is being moved or just stuck at that state..... CMS connection still shows as Lynch 2010 svr. I plan to restart Lync 2010 server to see if it helps at all. Any other suggestions would be appreciated!!

June 24th, 2014 11:17pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics