London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
The error in detail
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.
I think the problem is that you have an EPiServer-site in IIS without an "Application", could you please verify that this is the cause of the problem ?
I found a quick walk-through on adding an application: http://www.affiliatewiz.com/support/appstartpoint.asp
Let me know if it helps.
Still Getting Error.I deleted All deployed websites.still getting same 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"
Yes deleted from iis.through iis manger (run> inetmgr> default websites> selcted websites>delete).
Strange, are you really getting the exact same error without any EPiServer-site in IIS on the machine ?
You may wanna file a support case if you can't solve this issue.
Dear Bjuris
I solved that problem through a long way.
I Reinstalled all including IIS,EPi Server CMS 5 R2(version *.266) .
I had a previous installation of EPiServer CMS 5 (version *.133) .But I had uninstalled that previous version.may be some referenecs existed.Any way Its working properly.
Thanks a lot for your help.
Best Regards
Suneesh
suneesh@indpro.se/suneesh.sidharthan@gmail.com
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.
Thanks in advance.