manhattenJPG
Print

Monarflex in Manhattan

System.Xml.Xsl.XslTransformException: An error occurred during a call to extension function 'ConvertToShortDateStr'. See InnerException for a complete description of the error. ---> System.NotSupportedException: Culture 'en' is a neutral culture. It cannot be used in formatting and parsing and therefore cannot be set as the thread's current culture.
   at System.Globalization.CultureInfo.CheckNeutral(CultureInfo culture)
   at System.Globalization.CultureInfo.get_DateTimeFormat()
   at Icopal.Web.CommonUtils.GetShortDatePattern() in D:\Projects\Icopal\Icopal Platform Earth\Main\Source\Web\CommonUtils.cs:line 14
   at Icopal.Web.CommonUtils.ConvertToShortDateStr(String dateStr) in D:\Projects\Icopal\Icopal Platform Earth\Main\Source\Web\CommonUtils.cs:line 24
   --- 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="*" mode="main">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current)
   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, Boolean closeWriter)
   at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)
   at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, XmlWriter results)
   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/NewsRendering.xslt
Monarflex Background