You are currently viewing documentation for Linnworks Desktop, if you are looking for Linnworks.net documentation, click here.


Overview

Template Template Name rendering error Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

System.Exception: Template Template Name rendering error Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at linnworks.finaware.core.Reporting.PoloPrinter.PrintToPrinter(DataSet[] dataset, Guid[] ids, Guid ForceTemplate, List`1 Templates, String TemplateType, PrinterSettings ForcePrinterSettings, Boolean Preview, List`1 imageList)
at linnworks.component.accounts.PurchaseOrderQ.ctrEditPO.btnAdditionalInfo_Click(Object sender, EventArgs e)
at Telerik.WinControls.RadItem.OnClick(EventArgs e)
at Telerik.WinControls.UI.RadButtonItem.OnClick(EventArgs e) 

Error caused when printing Labels, Invoices, Purchase orders, Picking and Packing Lists.

Cause

Templates missing or have not been setup before attempting to print print. 

Solution

Go to: Settings -> Template Designer

Either create a new or open the defaut template then click Save Changes

This will then save the template can cause the errors to disappear.