Problem with search

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.
9/17/2009 8:48:34 AM
Gravatar
Total Posts 118

Problem with search

Hi

I have just upgraded a site to the latest version and it now throws an exception when you try to search the site, I deleted the indexes, and tried searching again but still the same, and no sign of the indexs being rebuilt. The error I get is :-

2009-09-17 14:42:30,774 ERROR mojoPortal.Web.Global - 80.177.23.76-en-GB - /seniorsection/SearchResults.aspx?q=gg

System.Configuration.ConfigurationErrorsException: Exception has been thrown by the target of an invocation.

at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType)

at System.Web.Configuration.ProvidersHelper.InstantiateProviders(ProviderSettingsCollection configProviders, ProviderCollection providers, Type providerType)

at mojoPortal.Business.WebHelpers.IndexBuilderManager.Initialize()

at mojoPortal.Business.WebHelpers.IndexBuilderManager..cctor()

Any idea where to look

9/17/2009 8:58:52 AM
Gravatar
Total Posts 18439

Re: Problem with search

Hi Neil,

You'll want to look at this document http://www.mojoportal.com/site-search-overview.aspx

because there are some new features like search results highlighting that are disabled by default for backward compatibility with existing indexes, but if rebuilding you might as well enable them.

Make sure you uploaded the new versions of files in the /Setup/ProviderConfig/indexbuilders folder.

Upload those again.

Then delete any existing rows in mp_IndexingQueue and mp_TaskQueue.

Then recycle the app. 

Hope it helps,

Joe

9/17/2009 9:42:02 AM
Gravatar
Total Posts 118

Re: Problem with search

Thanks joe - that got the indexs rebuilt, trouble is it now throws the following error when I login

2009-09-17 15:39:15,023 ERROR mojoPortal.Web.mojoBasePage - 80.177.23.76-en-GB - /seniorsection/Secure/Login.aspx

System.TypeInitializationException: The type initializer for 'mojoPortal.Business.WebHelpers.UserSignInHandlers.UserSignInHandlerProviderManager' threw an exception. ---> System.Configuration.ConfigurationErrorsException: Exception has been thrown by the target of an invocation.

at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType)

at System.Web.Configuration.ProvidersHelper.InstantiateProviders(ProviderSettingsCollection configProviders, ProviderCollection providers, Type providerType)

at mojoPortal.Business.WebHelpers.UserSignInHandlers.UserSignInHandlerProviderManager.Initialize()

at mojoPortal.Business.WebHelpers.UserSignInHandlers.UserSignInHandlerProviderManager..cctor()

--- End of inner exception stack trace ---

at mojoPortal.Business.WebHelpers.UserSignInHandlers.UserSignInHandlerProviderManager.get_Providers()

at mojoPortal.Web.UI.SiteLogin.OnUserSignIn(UserSignInEventArgs e)

at mojoPortal.Web.UI.SiteLogin.SiteLogin_LoggedIn(Object sender, EventArgs e)

at System.Web.UI.WebControls.Login.OnLoggedIn(EventArgs e)

at System.Web.UI.WebControls.Login.AttemptLogin()

at System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e)

at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)

at System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e)

at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)

at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)

at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)

at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

2009-09-17 15:39:15,026 ERROR mojoPortal.Web.Global - 80.177.23.76-en-GB - /seniorsection/Secure/Login.aspx

System.Configuration.ConfigurationErrorsException: Exception has been thrown by the target of an invocation.

at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType)

at System.Web.Configuration.ProvidersHelper.InstantiateProviders(ProviderSettingsCollection configProviders, ProviderCollection providers, Type providerType)

at mojoPortal.Business.WebHelpers.UserSignInHandlers.UserSignInHandlerProviderManager.Initialize()

at mojoPortal.Business.WebHelpers.UserSignInHandlers.UserSignInHandlerProviderManager..cctor()

2009-09-17 15:39:16,706 ERROR mojoPortal.Web.Global - 80.177.23.76-en-GB - /seniorsection/ScriptResource.axd?d=l53QigJd3KGiEVmin/PageLayout.aspx?pageid=34

System.FormatException: Invalid character in a Base-64 string.

at System.Convert.FromBase64CharArray(Char[] inArray, Int32 offset, Int32 length)

at System.Web.HttpServerUtility.UrlTokenDecode(String input)

at System.Web.UI.Page.DecryptStringWithIV(String s, IVType ivType)

at System.Web.UI.Page.DecryptString(String s)

at System.Web.Handlers.ScriptResourceHandler.DecryptParameter(NameValueCollection queryString)

at System.Web.Handlers.ScriptResourceHandler.ProcessRequestInternal(HttpResponse response, NameValueCollection queryString, VirtualFileReader fileReader)

at System.Web.Handlers.ScriptResourceHandler.ProcessRequest(HttpContext context)

at System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)

at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

9/17/2009 9:44:52 AM
Gravatar
Total Posts 18439

Re: Problem with search

Hi Neil,

Please re upload all files and folders beneath /Setup/ProviderConfig then recycle the app. It seems you have missing files or incorrect files.

Hope it helps,

Joe

9/17/2009 10:13:57 AM
Gravatar
Total Posts 118

Re: Problem with search

Thanks Joe

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