Error on Search page ... Urgent...Please

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.
3/11/2008 10:23:49 PM
Gravatar
Total Posts 5

Error on Search page ... Urgent...Please

Dear all,

I have a problem with search page :

2008-03-12 09:19:42,484 [2716] ERROR mojoPortal.Web.Global [(null)] - 10.56.77.230-en-US - /mojo/SearchResults.aspx
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.IO.FileNotFoundException: Could not find file 'F:\Webportal\Data\Sites\1\index\_1mj.fnm'.
File name: 'F:\Webportal\Data\Sites\1\index\_1mj.fnm'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Lucene.Net.Store.FSIndexInput..ctor(FileInfo path)
at Lucene.Net.Store.FSDirectory.OpenInput(String name)
at Lucene.Net.Index.FieldInfos..ctor(Directory d, String name)
at Lucene.Net.Index.SegmentReader.Initialize(SegmentInfo si)
at Lucene.Net.Index.SegmentReader.Get(Directory dir, SegmentInfo si, SegmentInfos sis, Boolean closeDir, Boolean ownDir)
at Lucene.Net.Index.IndexReader.AnonymousClassWith.DoBody()
at Lucene.Net.Store.Lock.With.Run()
at Lucene.Net.Index.IndexReader.Open(Directory directory, Boolean closeDirectory)
at Lucene.Net.Search.IndexSearcher..ctor(String path)
at mojoPortal.Business.WebHelpers.IndexHelper.Search(Int32 siteId, String queryText, Hashtable keywords, Int32 pageIndex, Int32 pageSize)
at mojoPortal.Business.WebHelpers.IndexHelper.Search(Int32 siteId, String queryText)
at mojoPortal.Web.UI.Pages.SearchResults.DoSearch()
at mojoPortal.Web.UI.Pages.SearchResults.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.searchresults_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 

 

Please...help me

 

3/12/2008 5:33:13 AM
Gravatar
Total Posts 18439

Re: Error on Search page ... Urgent...Please

Delete all the files from the Web/Data/Sites/1/index folder

Then do a search and it will rebuild your search index.

Hope it helps,

Joe

3/12/2008 6:24:43 AM
Gravatar
Total Posts 5

Re: Error on Search page ... Urgent...Please

Thanks Joe Audette so much, so much, so much. I fixed it....

uhm, I like so much your mojo portal, but The SEARCH Function doesn't work well. It's so hard to find exactly the Titles of pages or Forums...It doesn't find the content ( or title ) of a page in Portal..You can guide me how to create a page for searching easilly. 

 

Ah, I want to ajust font or font size, how can I do....Help me!

3/12/2008 9:14:41 PM
Gravatar
Total Posts 5

Error on Search page ... Urgent...Please

Today, I still have the problem with Search page

 

2008-03-13 09:11:45,640 [3596] ERROR mojoPortal.Web.mojoBasePage [(null)] - System.TypeInitializationException: The type initializer for 'mojoPortal.Business.WebHelpers.IndexBuilderManager' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Business.WebHelpers.IndexBuilderConfiguration.GetConfig()
at mojoPortal.Business.WebHelpers.IndexBuilderManager.Initialize()
at mojoPortal.Business.WebHelpers.IndexBuilderManager..cctor()
--- End of inner exception stack trace ---
at mojoPortal.Business.WebHelpers.IndexBuilderManager.get_Providers()
at mojoPortal.Web.UI.Pages.SearchResults.DoSearch()
at mojoPortal.Web.UI.Pages.SearchResults.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2008-03-13 09:11:45,718 [3596] ERROR mojoPortal.Web.Global [(null)] - 10.56.77.230-en-US - /mojo/SearchResults.aspx
System.TypeInitializationException: The type initializer for 'mojoPortal.Business.WebHelpers.IndexBuilderManager' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Business.WebHelpers.IndexBuilderConfiguration.GetConfig()
at mojoPortal.Business.WebHelpers.IndexBuilderManager.Initialize()
at mojoPortal.Business.WebHelpers.IndexBuilderManager..cctor()
--- End of inner exception stack trace ---
at mojoPortal.Business.WebHelpers.IndexBuilderManager.get_Providers()
at mojoPortal.Web.UI.Pages.SearchResults.DoSearch()
at mojoPortal.Web.UI.Pages.SearchResults.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2008-03-13 09:11:45,765 [3596] ERROR mojoPortal.Web.Global [(null)] - 10.56.77.230-en-US - /mojo/SearchResults.aspx
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.TypeInitializationException: The type initializer for 'mojoPortal.Business.WebHelpers.IndexBuilderManager' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Business.WebHelpers.IndexBuilderConfiguration.GetConfig()
at mojoPortal.Business.WebHelpers.IndexBuilderManager.Initialize()
at mojoPortal.Business.WebHelpers.IndexBuilderManager..cctor()
--- End of inner exception stack trace ---
at mojoPortal.Business.WebHelpers.IndexBuilderManager.get_Providers()
at mojoPortal.Web.UI.Pages.SearchResults.DoSearch()
at mojoPortal.Web.UI.Pages.SearchResults.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.searchresults_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

Please help me
 

3/14/2008 1:46:30 PM
Gravatar
Total Posts 18439

Re: Error on Search page ... Urgent...Please

I think there is something about your environment causing this. To help further I need to know more about the environment.

Are you using more than one IIS site and pointing to the same db on both sites?

What kind of hosting? What version of mojoPortal, what db platform, etc.

Anything else different or custom about the way you are using mojoPortal?

 

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