Issues with Lync Installation

Posted on 2012-04-03
Medium Priority
Last Modified: 2012-05-03
I've been fighting a Lync installation for a long time.
It craps out on me at this point:
Error: Command execution failed: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
¿ Details
+ Type: PowerShellException
+ ¿ Stack Trace
    +   at Microsoft.Rtc.Internal.Tools.Bootstrapper.BootstrapperTask.ActivateNewRoles()
at Microsoft.Rtc.Management.Internal.Utilities.LogWriter.InvokeAndLog(Action action)
+ ¿ Additional Details
    +   Error: Command execution failed: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
¿ Details
+ Type: CmdletInvocationException
+ ¿ Stack Trace
    +   at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)
at System.Management.Automation.PipelineNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
+ ¿ Additional Details
    +   Error: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
¿ Details
+ Type: ArgumentOutOfRangeException
+ ¿ Stack Trace
    +   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at Microsoft.Web.Administration.ConfigurationElementCollectionBase`1.get_Item(Int32 index)
at Microsoft.Rtc.Management.Deployment.Roles.WebServices.LocalActivate(IService service, Computer computer)
at Microsoft.Rtc.Management.Deployment.Core.Service.LocalActivate(Computer computer)
at Microsoft.Rtc.Management.Internal.Utilities.LogWriter.InvokeAndLog[T](Action`1 action, T arg)
at Microsoft.Rtc.Management.Internal.Utilities.LoggableExtensionMethods.InvokeAndLog[T](ILoggable loggable, Action`1 action, T arg)
at Microsoft.Rtc.Management.Deployment.Tasks.HostLocalActivateTask.Action()
at Microsoft.Rtc.Management.Internal.Utilities.LogWriter.InvokeAndLog(Action action)
at Microsoft.Rtc.Management.Internal.Utilities.LoggableAction.InvokeAction()
at Microsoft.Rtc.Management.Deployment.ActivateMachineCmdlet.InternalProcessRecord()
at Microsoft.Rtc.Management.Deployment.DeploymentCmdlet.CmdletProcessRecord()

I can't make any sense fo the error.  Was hoping someone would be able to point or even push me in the right direction.


Question by:Livetechsupport
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
LVL 12

Expert Comment

ID: 37804055
Where in the process were you when this happened?
Have you installed the pre-reqs?
Ran the topology builder?
There is a complete set of steps here:-


Author Comment

ID: 37804129
Ran topology builder went ok
All pre-reqs are installed

Had a big problem with SQL, had to manually install it

This occurred when I was doing stage two of the actual install

Will add a screen shot when I get home



Expert Comment

ID: 37805665
Is this install collocated with any other microsoft products?  For example, are you placing this Lync install on the same server as SharePoint or AD.
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users


Author Comment

ID: 37808016
There is/was sharepoint running on this server but I have made sure that port 80 was freed up for Lync.
Here are the screenshots
LVL 12

Expert Comment

ID: 37808121
Have you tried to install Lync into this domain in the past? Having to manually install the database suggests that Active Directory thinks Lync is installed but thinks the config database isn't where you want it. I assume there are no other Lync servers. If so I would wipe Lync from Active Directory and start again. There is a good conversation here:-


plus more info here:-




Some one suggested:-


But if Active Directory gets out of step it can be a heck of a job to get it sorted...

Author Comment

ID: 37808174
Yes, one of the in house guys tried to install it first.
Thanks for the link, I'll let you know how it goes.

LVL 12

Expert Comment

ID: 37808219
I did that in test and got in a horrid mess. Make sure you clean up well. You may need to re-run the prep tools even though the schema is updated.

Accepted Solution

djjackfrwmml earned 2000 total points
ID: 37810637
I have seen issues like this in the past when people try to install it on a server that had either AD or SharePoint on it.  Even if you uninstall the application there are still hooks in the registry, SQL files and install files.  My recommendation is to reinstall on another box.  So far I have not seen one oddball issue like this, where someone is trying to install it on the same server as the afore mentioned microsoft products, that wasn't solved by installing it on it's own box.  The issue is that even if you got past this and were able to install, it could lead to serious errors down the road when you actually try to use it.

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question