Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • ukdev 3 posts 23 karma points
    Oct 25, 2012 @ 16:08
    ukdev
    0

    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

     

     

     

  • Chriztian Steinmeier 2800 posts 8791 karma points MVP 8x admin c-trib
    Oct 25, 2012 @ 16:14
    Chriztian Steinmeier
    0

    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

  • ukdev 3 posts 23 karma points
    Oct 25, 2012 @ 16:26
    ukdev
    0

    Thanks for answering.

    Yes, XSLTsearch.cs is in there.

  • ukdev 3 posts 23 karma points
    Oct 25, 2012 @ 17:12
    ukdev
    0

    I'm using ASP.NET 4.0 if it helps.

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Oct 25, 2012 @ 17:24
    Douglas Robar
    0

    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. 

     

Please Sign in or register to post replies

Write your reply to:

Draft