Need Help:While using Deployment server to install site creates error:"GenerateUniqueValues" with "0" argument(s): "Index was out of range

Vote:
 

 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.

 

#30257
Jun 09, 2009 14:06
Vote:
 

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.

 

#30259
Jun 09, 2009 14:12
Vote:
 

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.

#30260
Jun 09, 2009 14:45
Vote:
 
I am using IIS6.Do I need to create deploy a site in IIS before using Install site in deployment server? I am a new comer to EPIServer.pls help.
#30264
Jun 09, 2009 16:06
Vote:
 
No, you do not. This problem appears because there is a corrupted site in IIS 6 that needs to be repaired by adding an application to it.
#30265
Jun 09, 2009 16:08
Vote:
 

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" 

#30268
Jun 09, 2009 16:45
Vote:
 
Did you delete them from IIS Manager ?
#30269
Jun 09, 2009 17:55
Vote:
 

Yes deleted from iis.through iis manger (run> inetmgr> default websites> selcted websites>delete).

 

#30270
Jun 10, 2009 6:00
Vote:
 

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.

 

#30277
Jun 10, 2009 13:01
Vote:
 

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

#30278
Jun 10, 2009 14:09
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.