ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Error: "Index (zero based) must be greater than or equal to zero and less than the size of the argument list:" - When viewing Newly added Web page entries to Workflow Service Catalog


Article ID: 161351


Updated On:


Workflow Solution ServiceDesk


When attempting to add a Web Form to the Service Catalog, under any category, the error below was displayed when attempting to view the Service Catalog web part after configuration of the new web form. 

"Index (zero based) must be greater than or equal to zero and less than the size of the argument list"


 The URL used to configure the web form contained curly braces {} in the URL - As an example: http://server/Altiris/NS/ItemPropertiesNS7.aspx?view=properties&ItemGuid=bd649908-f8e2-4fe7-809b-2d6c58f74c3c&ConsoleGuid={3faa8b67-250b-42ad-8186-fe2f49a9e707}


 This has been logged as a bug and will be addressed in a future release.  However, there is a very simple workaround.  Simply remove the curly braces in the URL and save the changes to the web form.  The web part will render and work correctly.

As an example:


If you need to use curly braces in the URL we recommend that you use the Links web part instead. 

To add a Links WebPart to Page

1. Select Site Actions - Modify Page 
2. Select Site Actions - Add Web Part 
3. Select Links under UI. 

4. Choose th location on the page to add the web part.



Applies To

 Workflow 7.5