Search engine is not working

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
4/28/2011 2:35:05 PM
Gravatar
Total Posts 16

Re: Search engine is not working

Salve Marco. Rispondo in italiano.

Vedo che il tuo sito è su Aruba. Ho effettuato numerose prove ma ho risolto il problema da pochi giorni, dopo un'installazione pulita su un dababase vuoto, rivolgendomi al loro servizio di assistenza. Dopo il loro intervento consigliano di rigenerare l'indicizzazione del sito, come riportato su:

http://www.mojoportal.com/rebuilding-the-search-index.aspx

In alternativa (ma non l'ho provata), consigliano di rinominare la cartella  ../Data/Sites/[1]/index/,  crearne una nuova e attribuire i permessi di lettura e scrittura tramite il Permission Manager.

 

4/28/2011 5:20:33 PM
Gravatar
Total Posts 23

Re: Search engine is not working

Grazie "Eumed" per la tua risposta vedrò di contattare il servizio di Aruba anche perchè i metodi li ho provati tutti e visto che il sito non è ancora molto popolato posso provare a reinstallarlo (anche se questo non mi intusiasma molto :-(( )

Ho cancellato la cartella index e viene prontamente rigenerata con i permessi giusti ma rimane vuota, ho provato più volte a "rebuilding the search index" ma la cartella non si popola, ho seguito alla lettera tutti i passi  segnalati da joe ma nulla ... ti farò sapere ciao

5/7/2011 7:46:20 PM
Gravatar
Total Posts 23

Re: Search engine is not working

I follow all this step and no change appear, i had also the same error like Eumed at this moment i comment again the serialize in web.config and put google to main search engine but im not happy of this!!

Eumed: Grazie sto aspettando risposta da Aruba

Mi system:

Versione 2.3.6.5 MSSQL
Sistema Operativo Microsoft Windows NT 5.2.3790 Service Pack 2
Informazioni ASP.NET v2.0.50727 Esecuzione in 'Partial Trust'
Fuso Orario Server: W. Europe Daylight Time
Ora locale del Server (GMT 2) 08/05/2011 4.18.34

Log :

2011-05-08 02:15:29,312 ERROR mojoPortal.Web.Global - 93.48.169.228-it-IT - /SearchResults.aspx?q=muti&f=00000000-0000-0000-0000-000000000000
System.UnauthorizedAccessException: Accesso alla directory TEMP negato. L'identità "WEBS212\ti.enaidreverretocir" con cui viene eseguito XmlSerializer non dispone di autorizzazioni sufficienti per accedere alla directory TEMP. CodeDom utilizzerà l'account utente utilizzato dal processo per eseguire la compilazione, pertanto se l'utente non ha accesso alla directory TEMP, non sarà possibile eseguire la compilazione.  Utilizzare Path.GetTempPath() API per scoprire la posizione della directory TEMP.
   in System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
   in System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
   in System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
   in System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
   in System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
   in System.Xml.Serialization.XmlSerializer..ctor(Type type)
   in mojoPortal.Business.SerializationHelper.SerializeToString(Object obj)
   in mojoPortal.Business.WebHelpers.IndexWriterTask.QueueTask()
   in mojoPortal.Web.SiteUtils.QueueIndexing()
   in mojoPortal.Web.UI.Pages.SearchResults.InitIndexIfNeeded()
   in mojoPortal.Web.UI.Pages.SearchResults.DoSearch()
   in mojoPortal.Web.UI.Pages.SearchResults.SetupInternalSearch()
   in mojoPortal.Web.UI.Pages.SearchResults.Page_Load(Object sender, EventArgs e)
   in System.Web.UI.Control.OnLoad(EventArgs e)
   in mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
   in System.Web.UI.Control.LoadRecursive()
   in System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2011-05-08 02:17:34,954 INFO mojoPortal.Web.WebTaskManager - Queued WebTaskManager on a new thread
2011-05-08 02:32:25,340 INFO DotNetOpenAuth - DotNetOpenAuth, Version=3.1.0.9122, Culture=neutral, PublicKeyToken=2780ccd10d57b246 (official)

5/8/2011 7:31:49 AM
Gravatar
Total Posts 18439

Re: Search engine is not working

This error has been reported before and a solution is found on this thread. You will also find information about it in comments in the bottom of the Web.config file.

Hope that helps,

Joe

5/9/2011 3:57:58 AM
Gravatar
Total Posts 23

Re: Search engine is not working

I m sorry but this solution dont have made any change and have this log:

2011-05-09 10:15:53,340 ERROR mojoPortal.Web.mojoBasePage - 85.20.75.250-it-IT - /SearchResults.aspx
System.UnauthorizedAccessException: Accesso alla directory TEMP negato. L'identità "WEBS212\ti.enaidreverretocir" con cui viene eseguito XmlSerializer non dispone di autorizzazioni sufficienti per accedere alla directory TEMP. CodeDom utilizzerà l'account utente utilizzato dal processo per eseguire la compilazione, pertanto se l'utente non ha accesso alla directory TEMP, non sarà possibile eseguire la compilazione.  Utilizzare Path.GetTempPath() API per scoprire la posizione della directory TEMP.
   in System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
   in System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
   in System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
   in System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
   in System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
   in System.Xml.Serialization.XmlSerializer..ctor(Type type)
   in mojoPortal.Business.SerializationHelper.SerializeToString(Object obj)
   in mojoPortal.Business.WebHelpers.IndexWriterTask.QueueTask()
   in mojoPortal.Web.SiteUtils.QueueIndexing()
   in mojoPortal.Web.UI.Pages.SearchResults.btnRebuildSearchIndex_Click(Object sender, EventArgs e)
   in System.Web.UI.WebControls.Button.OnClick(EventArgs e)
   in System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
   in System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   in System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   in System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   in System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2011-05-09 10:15:53,356 ERROR mojoPortal.Web.Global - 85.20.75.250-it-IT - /SearchResults.aspx
System.UnauthorizedAccessException: Accesso alla directory TEMP negato. L'identità "WEBS212\ti.enaidreverretocir" con cui viene eseguito XmlSerializer non dispone di autorizzazioni sufficienti per accedere alla directory TEMP. CodeDom utilizzerà l'account utente utilizzato dal processo per eseguire la compilazione, pertanto se l'utente non ha accesso alla directory TEMP, non sarà possibile eseguire la compilazione.  Utilizzare Path.GetTempPath() API per scoprire la posizione della directory TEMP.
   in System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
   in System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
   in System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
   in System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
   in System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
   in System.Xml.Serialization.XmlSerializer..ctor(Type type)
   in mojoPortal.Business.SerializationHelper.SerializeToString(Object obj)
   in mojoPortal.Business.WebHelpers.IndexWriterTask.QueueTask()
   in mojoPortal.Web.SiteUtils.QueueIndexing()
   in mojoPortal.Web.UI.Pages.SearchResults.btnRebuildSearchIndex_Click(Object sender, EventArgs e)
   in System.Web.UI.WebControls.Button.OnClick(EventArgs e)
   in System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
   in System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   in System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   in System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   in System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

Maybe i have to reinstall all and see what happen

thanks Marco sad

5/9/2011 1:22:30 PM
Gravatar
Total Posts 18439

Re: Search engine is not working

Please post what did you put in Web.config for tempFilesLocation:

<system.xml.serialization>
    <xmlSerializer tempFilesLocation="D:\__projects\mojoportal\__code\joedev\Web\Data"/>
  </system.xml.serialization>

and did you uncomment it?

The above example works on my machine but you need to know the correct windows file system path to your /Data folder beneath your web root.

Hope that helps,

Joe

 

5/9/2011 10:37:24 PM
Gravatar
Total Posts 23

Re: Search engine is not working

This is my web.config:

  <system.xml.serialization>
    <xmlSerializer tempFilesLocation="D:\Inetpub\webs\coroliricoterreverdianeit\Data"/>
  </system.xml.serialization>

this should be the correct path but it doesent work ... :-(

Thank's Joe

5/10/2011 11:53:26 AM
Gravatar
Total Posts 18439

Re: Search engine is not working

If that setting is having an effect, I would expect the error to either go away or at least to change the error details.

You may need to seek help from your hosting provider to solve this, possibly they have some configuration that prevents this setting from Web.config.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.