Hello, I haven't seen any answer that fits umbraco v 4.7.1 and XSLTsearch version 3.0.4. Does somebody know how to fix it?
Thanks!
Cannot find a script or an extension object associated with namespace 'urn:PS.XSLTsearch'. Cannot find a script or an extension object associated with namespace 'urn:PS.XSLTsearch'. at System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args) at System.Xml.Xsl.CompiledQuery.Query.startTime(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime) in C:\Projects\288Group\CPM\wwwroot\xslt\XSLTsearch.xslt:line 40 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) in C:\Projects\288Group\CPM\Shared\Umbraco\presentation\macro.cs:line 794 at umbraco.macro.GetXsltTransformResult(XmlDocument macroXML, XslCompiledTransform xslt) in C:\Projects\288Group\CPM\Shared\Umbraco\presentation\macro.cs:line 766 at umbraco.macro.loadMacroXSLT(macro macro, MacroModel model, Hashtable pageElements) in C:\Projects\288Group\CPM\Shared\Umbraco\presentation\macro.cs:line 675
Very strange. I've not seen this problem in any recent versions of Umbraco, only with early 4.x versions that had a bug. Any chance this is an upgraded site, or is it a new installation?
You might triple-check that the site's application pool identity/owner has permissions to the ~/app_code folder so that it can read the xsltsearch.cs file. You might also want to check that the application pool's temporary asp.net folder has create, write, and read permissions (when .net compiles the .cs file it writes a temporary file to the .net temp folder). This can sometimes be a problem with shared hosting for instance.
You might find more details in the server's event log that can point you in the right direction.
The problem isn't XSLTsearch's so much as .net's. It's just that XSLTsearch is one of the only packages that makes use of the ~/app_code folder and that exposes underlying issues.
Error parsing XSLT file: \xslt\XSLTsearch.xslt
Hello, I haven't seen any answer that fits umbraco v 4.7.1 and XSLTsearch version 3.0.4. Does somebody know how to fix it?
Thanks!
Cannot find a script or an extension object associated with namespace 'urn:PS.XSLTsearch'.
Cannot find a script or an extension object associated with namespace 'urn:PS.XSLTsearch'.
at System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args)
at System.Xml.Xsl.CompiledQuery.Query.startTime(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime) in C:\Projects\288Group\CPM\wwwroot\xslt\XSLTsearch.xslt:line 40
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) in C:\Projects\288Group\CPM\Shared\Umbraco\presentation\macro.cs:line 794
at umbraco.macro.GetXsltTransformResult(XmlDocument macroXML, XslCompiledTransform xslt) in C:\Projects\288Group\CPM\Shared\Umbraco\presentation\macro.cs:line 766
at umbraco.macro.loadMacroXSLT(macro macro, MacroModel model, Hashtable pageElements) in C:\Projects\288Group\CPM\Shared\Umbraco\presentation\macro.cs:line 675
Hi ukdev - welcome to the forum!
It looks like Umbraco hasn't registered the C# extension that came with the install of XSLTsearch.
Could you check the /App_Code folder and see if there's an "XSLTsearch.cs" file in there?
/Chriztian
Thanks for answering.
Yes, XSLTsearch.cs is in there.
I'm using ASP.NET 4.0 if it helps.
Very strange. I've not seen this problem in any recent versions of Umbraco, only with early 4.x versions that had a bug. Any chance this is an upgraded site, or is it a new installation?
You might triple-check that the site's application pool identity/owner has permissions to the ~/app_code folder so that it can read the xsltsearch.cs file. You might also want to check that the application pool's temporary asp.net folder has create, write, and read permissions (when .net compiles the .cs file it writes a temporary file to the .net temp folder). This can sometimes be a problem with shared hosting for instance.
You might find more details in the server's event log that can point you in the right direction.
The problem isn't XSLTsearch's so much as .net's. It's just that XSLTsearch is one of the only packages that makes use of the ~/app_code folder and that exposes underlying issues.
Let us know what you find out.
cheers,
doug.
is working on a reply...