System.OverflowException: Value was either too large or too small for an Int32.
at System.Convert.ToInt32(Double value)
at System.Double.System.IConvertible.ToInt32(IFormatProvider provider)
at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at System.Xml.Xsl.Runtime.XmlQueryRuntime.ChangeTypeXsltArgument(XmlQueryType xmlType, Object value, Type destinationType)
at System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args)
at (XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
at Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
at Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results)
at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer)
at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, XmlWriter results, XmlResolver documentResolver)
at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, TextWriter results)
at umbraco.presentation.webservices.codeEditorSave.SaveXslt(String fileName, String oldName, String fileContents, Boolean ignoreDebugging)
Any ideas why? I am running umbraco version 4.11.8
This error almost always happens because the NiceUrl() extension is called with an empty value - so it seems the umbBlog node doesn't exist? Or: if the umbBlog node isn't an ancestor of the current page (i.e. if you're trying this on the Home page and your blog is on a childnode of the Home page...).
Thanks
I have this document type, and it's on the same level of the page I am trying to insert this macro to,I think I will just insert it in the Blog post template.
Thanks
umbBlogCategories error
I am getting an error when I try to run this macro on my site:
I get this error:
Any ideas why? I am running umbraco version 4.11.8
Hi Moran,
This error almost always happens because the
NiceUrl()
extension is called with an empty value - so it seems the umbBlog node doesn't exist? Or: if the umbBlog node isn't an ancestor of the current page (i.e. if you're trying this on the Home page and your blog is on a childnode of the Home page...)./Chriztian
Thanks I have this document type, and it's on the same level of the page I am trying to insert this macro to,I think I will just insert it in the Blog post template. Thanks
is working on a reply...