Race Programmes

Sort: Most PopularNewest FirstPrice
Sort:
  1. System.Xml.Xsl.XslTransformException: An error occurred during a call to extension function 'GetImage'. See InnerException for a complete description of the error. ---> System.ArgumentException: Parameter is not valid.
   at System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData)
   at Duke.Lib.Sitecore53.XslExtensions.AisImage.GetImageDimensions(String path)
   at Duke.Lib.Sitecore53.XslExtensions.AisImage.GetCachedImage(String file)
   at Duke.Lib.Sitecore53.XslExtensions.AisImage.GetImage(String relativeSourceImagePath, Int32 widthPixels, Int32 heightPixels, String aspectRatioGuide, String format, Int32 colors)
   at Duke.Lib.Sitecore53.XslExtensions.AisImage.GetImage(String relativeSourceImagePath, Int32 widthPixels, Int32 heightPixels, String aspectRatioGuide)
   --- End of inner exception stack trace ---
   at System.Xml.Xsl.Runtime.XmlExtensionFunction.Invoke(Object extObj, Object[] args)
   at System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args)
   at <xsl:template match="Product" mode="Item">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, String imageWidth, String imageHeight, IList`1 imagesourcepath, String cdnpathprefix, String showbuybutton, String includepriceinbuybutton)
   at <xsl:template name="compiler:generated">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, IList`1 department)
   at <xsl:template name="productList">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
   at <xsl:template match="*">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
   at Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
   at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer)
   at Mvp.Xml.Common.Xsl.MvpXslTransform.TransformToWriter(XmlInput defaultDocument, XsltArgumentList xsltArgs, XmlWriter xmlWriter)
   at Mvp.Xml.Common.Xsl.MvpXslTransform.Transform(XmlInput input, XsltArgumentList arguments, XmlOutput output)
   at Sitecore.Web.UI.WebControls.XslFile.DoRender(HtmlTextWriter output, Item item) Xsl file could not be processed: /xsl/Department_ProductList.xslt