Error loading custom item page.

Index and length must refer to a location within the string. Parameter name: length



at System.String.Substring(Int32 startIndex, Int32 length) at Vianett.Publishing.Template.Tag.getparamvalue(String str, Boolean islast) in C:\projects\frigg\Website\Template\Convert\tag.cs:line 102 at Vianett.Publishing.Template.Tag.Parse() in C:\projects\frigg\Website\Template\Convert\tag.cs:line 74 at Vianett.Publishing.Template.Tag..ctor(String TagWithTagParamters) in C:\projects\frigg\Website\Template\Convert\tag.cs:line 35 at Vianett.Publishing.Template.TemplateXMLParser.ConvertXmlCategoryContent(String xml, String placeHolderID) in C:\projects\frigg\Website\Template\Convert\TemplateXMLParser.cs:line 325 at Vianett.Publishing.Template.TemplateWebControlGenerator.GenerateWebControlsContentPlaceHolderFromCategoryContent(String xml, String placeHolderID, CategoryRow category, DefinedDataSet definedData, Pagebase page, UrlConfigurationRow urlData) in C:\projects\frigg\Website\Template\Convert\TemplateWebControlGenerator.cs:line 97 at Vianett.Publishing.Template.TemplateWebControlGenerator.GenerateWebControlsPlaceHolderFromCategoryContent(String xml, String placeHolderID, CategoryRow category, DefinedDataSet definedData, Pagebase page, UrlConfigurationRow urlData) in C:\projects\frigg\Website\Template\Convert\TemplateWebControlGenerator.cs:line 84 at Vianett.Publishing.Template.ItemTemplateXMLParser.ParseItemControl(Int32 systemID, Int32 ecommerceSystemID, String dynamicXml, DataRow row, Int32 sourceWebsiteCategoryID, Int32 iteration, HttpContext context, Product product, String dateFormat, String oddEven, Int64 postID, Int32 productID, Int32 articleID, String placeHolderID, Boolean replaceEmptyValue, Boolean skipRazor) in C:\projects\frigg\Website\Template\Convert\ItemTemplateXMLParser.cs:line 360 at Vianett.Publishing.Web.PostTemplateModule.Page_Load(Object sender, EventArgs e) in C:\projects\frigg\Website\Web\usercontrol\mainmodule\ItemModule\PostTemplateModule.ascx.vb:line 100