World leading motorsport home entertainment
4.8
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 name="compiler:generated"> (2)(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
   at <xsl:template match="*" mode="main">(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/Product.xslt