Copied to clipboard

Flag this post as spam?

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


  • Seyfullah Tıkıç 23 posts 43 karma points
    Mar 15, 2011 @ 10:11
    Seyfullah Tıkıç
    0

    Xslt search Service unavailable error

    Hi,

    Umbraco Version : 4.6.1
    asp.net version : 4.0
    Windows and iis version : windows 2008, IIS 7.5
    Stacktrace, there isn't
    A detailed description of what you did before the issue happened is as follows :

    I have a macro call as follows : 

      <umbraco:Macro Alias="XSLTsearch" runat="server"
        source="1588" 
        searchFields="@nodeName,metaKeywords,metaDescription,bodyText,file,publishedYear,author" 
        previewFields="@nodeName,metaKeywords,metaDescription,bodyText,file,publishedYear,author" 
        searchBoxLocation="top"   
        previewType="context" 
        resultsPerPage="10" 
        previewChars="255" 
        showPageRange="1" 
        showOrdinals="1" 
        showScores="0" 
        showStats="1"></umbraco:Macro>

    It stops the application pool. When I change source to 1289 it works.
    Node 1289 is for a document type, and node 1588 is for an other document type.

    What can be the problem?

    Thanks.

  • praveity 100 posts 125 karma points
    May 04, 2011 @ 07:01
    praveity
    0

    Hi Tikic,

    The source parameter holds the nodeId of nodes that are from the content section. It searches every child node including itself for the search condition.

    I don't think that we could provide nodeId of document type as the source.

    Please try the xslt search giving the nodeId from content section as they are actually where we meant to make a search ;)

    also include the whole macro within the form tag :

    <form action="/Search.aspx" method="GET">
    <!-- xslt search macro here -->
    </form>

     

Please Sign in or register to post replies

Write your reply to:

Draft