+1-888-365-2779
Try Now
More in this section

Forums / Deployment / Problems with Site Indexing after deploying to Production

Problems with Site Indexing after deploying to Production

12 posts, 0 answered
  1. Chris Breymeyer
    Chris Breymeyer avatar
    21 posts
    Registered:
    16 Nov 2007
    01 Mar 2008
    Link to this post
    We have been using and testing the search functionality of sitefinity through two environments before moving our site to production this weekend.  However, now we can't seem to get sitefinity to index the site.

    We have tried copying the old index's forward, deleting all indexs and starting from scratch.  It seems we've tried everything imaginable.

    What happens is, I create an index.  When I click Start Indexing, it works for a while (the progress bar progresses) but about halfway it just hangs and eventually times out.

    I don't know where to even begin debugging this issue.  Is there anyone who can lend a hand?

    Thanks,
  2. Nikifor
    Nikifor avatar
    232 posts
    Registered:
    18 May 2013
    04 Mar 2008
    Link to this post
    Hi John Reynolds,

    We are really sorry that you are having this problem running the web site indexing.

    Considering the information provided so far, we think that the indexing goes smoothly. The problem is that it is interrupted by operation timeout, which can be avoided, fortunately. There are two possibilities for extending the timeout period.

    The first one is setting the httpRuntime executionTimeout="99999" to almost unreachable size. It is important to set the <compilation debug="false"> if you chose this option.

    The other option is setting <compilation debug="true">, therefore it would not be necessary to add anything more just because it is excluding automatically any kind of timeout defined in the configuration file.

    Another thing which may be helpful for reaching the root cause of the issue is the Sitefinity.log file, stored in ~/YourProject/App_Data. It would be really helpful if you can send it to us for deeper investigation.

    Hope that the provided information is helpful.

    Regards,
    Nikifor Hristov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Chris Breymeyer
    Chris Breymeyer avatar
    21 posts
    Registered:
    16 Nov 2007
    04 Mar 2008
    Link to this post
    I will try setting <compilation debug="true"> and let you know what happens.

    Thanks,
  4. Chris Breymeyer
    Chris Breymeyer avatar
    21 posts
    Registered:
    16 Nov 2007
    04 Mar 2008
    Link to this post
    No dice.  The application didn't time out ( I didn't receive and error), but there is still no index.

    Is there anywhere I can look to try and debug this!?!?
  5. Rebecca
    Rebecca avatar
    536 posts
    Registered:
    24 Sep 2012
    05 Mar 2008
    Link to this post
    Hello John Reynolds,

    Please find the answer to this inquiry in the support thread you opened.

    Greetings,
    Rebecca
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Dave
    Dave avatar
    8 posts
    Registered:
    23 Apr 2008
    16 May 2008
    Link to this post
    Can the solution to this be made available to all users, not just the one who opened the original ticket?  Thanks.
  7. Rebecca
    Rebecca avatar
    536 posts
    Registered:
    24 Sep 2012
    16 May 2008
    Link to this post
    Hello Alan,

    The fix for this issue will be available in the upcoming SP2.  You'll need to upgrade to v3.2 SP2 as there is no temporary workaround for it.

    We are sincerely sorry for the inconvenience caused.

    Regards,
    Rebecca
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  8. jonnyO
    jonnyO avatar
    11 posts
    Registered:
    08 Jan 2004
    24 Dec 2008
    Link to this post

    Hi
    I just moved the local dev effort to a dev server.  By vertue of the resulting indexed data listed it appears the indexing services are working fine - no data in .log but any and all search efforts show "Found 0 pages".  Any ideas?

    Regards

    John

  9. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    26 Dec 2008
    Link to this post
    Hi jonnyO,

    You could try crating a new index and see if it works on the production server. Did you have this problem on your dev machine or it came up when deployed on a production? Which version of Sitefinity you use?
    Make sure that your have the following lines in your web.config file.

        <search defaultProvider="Search"
          <providers> 
            <clear /> 
            <add name="Search" type="Telerik.Search.Data.DefaultProvider, Telerik.Search.Data" connectionStringName="DefaultConnection" /> 
          </providers> 
          <indexClients> 
            <add name="PageIndex" type="Telerik.Cms.Search.PageIndexProvider, Telerik.Cms" settingsControl="Telerik.Cms.Web.UI.PageIndexSettings, Telerik.Cms" viewSettingsControl="Telerik.Cms.Web.UI.SearchViewControl, Telerik.Cms" description="Provides indexing services for CMS Pages." /> 
          </indexClients> 
          <indexers> 
            <add extensionOrMimeType=".aspx" type="Telerik.Search.Engine.HtmlIndexer" /> 
            <add extensionOrMimeType="text/html" type="Telerik.Search.Engine.HtmlIndexer" /> 
          </indexers> 
          <searchInputValidation> 
            <add matchPattern="\A[\*\?\~][^\s]*" replacementString="" enabled="true" matchAlert="You can not start your query using wildcards, modify your query and try again.." /> 
            <add matchPattern="[\!\^\(\)\{\}\[\]]" replacementString="" enabled="true" matchAlert="Strange characters should be enclosed between double quotation, modify your query and try again.." /> 
          </searchInputValidation> 
        </search> 


    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  10. Imran
    Imran avatar
    75 posts
    Registered:
    17 Jan 2007
    23 Apr 2009
    Link to this post

    Hello

    I am using SF 3.6 and we've just deployed our site to production servers - which are load balanced. Creating a search index locally works fine - but creating it on production, the process gets timed out. I've tried setting <compilation debug="true"> and it still times out.

    I am expericing all the things described by John Reynolds in his original post.

    Any ideas or help would be greatly apprecaited.

  11. Chris Breymeyer
    Chris Breymeyer avatar
    21 posts
    Registered:
    16 Nov 2007
    23 Apr 2009
    Link to this post
    I don't really have a solution for you, but wanted to point out that we have not been able to get indexing working on any production system until we just recently upgraded to 3.6.  Search now works for the first time in a year...
  12. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    23 Apr 2009
    Link to this post
    Hi Imran,

    If there are no problems indexing on a local, probably you need to increase execution time of your production servers. It is possible that if the synchronization between servers is conducting on a short period of time the search to be affected as well. You can try increasing the value of Application pool's Shutdown time limit(under Process Mode section)

    Regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Register for webinar
12 posts, 0 answered