November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
Need Help:While using Deployment server to install site creates error:
Error - Exception calling "GenerateUniqueValues" with "0" argument(s): "Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index"
I am using EPiServer CMS5 R2. Database MSSQL 2005.
pls help me to solve this.
Details:
An unhandled error has occured:
Index was out of range. Must be non-negative and less than the size of the coll
ection.
Parameter name: index
When executing
At C:\Program Files\EPiServer\CMS\5.2.375.226\Install\System Scripts\Install Si
te (SqlServer).ps1:79 char:29
+ $wizard.GenerateUniqueValues( <<<< )
=
Get-EPiIsBulkInstalling
Error - System.Management.Automation.MethodInvocationException: Exception calling "GenerateUniqueValues" with "0" argument(s): "Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index" ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at EPiServer.Install.IIS6.WebApplication.Get(String siteName, String applicationName)
at EPiServer.Install.WebServer.IIS.GetWebApplication(String siteName, String applicationName)
at EPiServer.Install.UI.Wizards.WebSiteWizardHelper.<>c__DisplayClass4.<get_UniqueNameEntries>b__2(String name)
at EPiServer.Install.Common.UniqueNaming.MakeNamesUnique(List`1 entries)
at EPiServer.Install.CMS.UI.Wizards.NewSiteUsingSqlServerWizard.MakeValuesUnique()
at EPiServer.Install.UI.WizardBase.GenerateUniqueValues()
--- End of inner exception stack trace ---
at System.Management.Automation.DotNetAdapter.AuxiliarMethodInvoke(Object target, MethodBase method, Object[] arguments, MethodInformation methodInformation, Object[] originalArguments)
at System.Management.Automation.DotNetAdapter.MethodInvokeDotNet(String methodName, Object target, MethodBase[] methods, MethodInformation[] methodInformation, String[] methodDefinitions, Object[] arguments)
at System.Management.Automation.DotNetAdapter.MethodInvoke(PSMethod method, Object[] arguments)
at System.Management.Automation.Adapter.BaseMethodInvoke(PSMethod method, Object[] arguments)
at System.Management.Automation.PSMethod.Invoke(Object[] arguments)
at System.Management.Automation.ParserOps.CallMethod(Token token, Object target, String methodName, Object[] paramArray, Boolean callStatic, PSMethodInfo targetMethod, Object valueToSet)
at System.Management.Automation.Parser.MethodCallNode.InvokeMethod(Token NodeToken, Object originalResult, Boolean staticMember, Object[] paramArray, List`1 typeConstraint, PSMethodInfo& targetMethod)
at System.Management.Automation.Parser.MethodCallNode.Execute(Array input, Pipe outputPipe)
at System.Management.Automation.ParseTreeNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList)
at System.Management.Automation.Parser.StatementListNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList)
Thanks in advance.