An error occurred during a call to extension function 'GetXmlDocumentByUrl'. See InnerException for a complete description of the error.
An error occurred during a call to extension function 'GetXmlDocumentByUrl'. See InnerException for a complete description of the error.
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 System.Xml.Xsl.CompiledQuery.Query.<xsl:template match="/">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, Double {urn:schemas-microsoft-com:xslt-debug}position, Double {urn:schemas-microsoft-com:xslt-debug}last, IList'1 {urn:schemas-microsoft-com:xslt-debug}namespaces) in E:\Hosting\LocalUser\client\client.dk\xslt\GoogleSiteSearch.xslt:line 21
at System.Xml.Xsl.CompiledQuery.Query.<xsl:apply-templates>(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator , Double , Double )
at System.Xml.Xsl.CompiledQuery.Query.Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
at System.Xml.Xsl.CompiledQuery.Query.Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer)
at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, TextWriter results)
at umbraco.macro.GetXsltTransformResult(XmlDocument macroXML, XslCompiledTransform xslt, Dictionary`2 parameters)
at umbraco.macro.loadMacroXSLT(macro macro, MacroModel model, Hashtable pageElements)
GetXmlDocumentByUrl fails on Windows 2012 R2
I've moved an older Umbraco 4.7.1 from Windows 2008 R2 to Windows 2012 R2 and now this fails:
The URL provided returns valid XML, so I don't really know what the problem could be.
Both sites are running the same version of .NET.
Any ideas ?
Hi Sebastian,
Any useful error messages available?
/Chriztian
Pretty regular .NET error
Can you run any XSLT?
If not, then you've got a fundamental problem with missing MSXML 6.0 on the server.
If you can run XSLT, is the problem with the umbraco.library generally or only the GetXmlDocumentByUrl call?
#oldSkoolDebugging
cheers,
doug.
Following up on Doug's comment...
If XSLT is fine and calling
umbraco.library:GetXmlDocumentByUrl()
is the problem, you could try the uComponents version?(main difference is that it handles gzipped XML)
http://ucomponents.org/xslt-extensions/xml/#getxmldocumentbyurl
If that doesn't work, then is there any other details from the .NET error? (the InnerException?)
is working on a reply...