Problem upgrading to current version

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

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.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
5/18/2009 5:28:40 PM
Gravatar
Total Posts 118

Problem upgrading to current version

Hi Joe

I have just updated form mojoPortal-2-2-9-6 to mojoPortal-2-3-0-4 using MSSQL2008

When I try and edit and then save HTML content I get the following error

2009-05-18 23:27:34,672 ERROR mojoPortal.Web.mojoBasePage - 80.177.23.76-en-GB - /HtmlEdit.aspx?mid=137&pageid=11
System.TypeInitializationException: The type initializer for 'mojoPortal.Business.WebHelpers.IndexBuilderManager' 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.IndexBuilderManager.Initialize()
at mojoPortal.Business.WebHelpers.IndexBuilderManager..cctor()
--- End of inner exception stack trace ---
at mojoPortal.Business.WebHelpers.IndexBuilderManager.get_Providers()
at mojoPortal.Web.ContentUI.EditHtml.html_ContentChanged(Object sender, ContentChangedEventArgs e)
at mojoPortal.Business.HtmlContent.OnContentChanged(ContentChangedEventArgs e)
at mojoPortal.Business.HtmlContent.Update()
at mojoPortal.Business.HtmlContent.Save()
at mojoPortal.Web.ContentUI.EditHtml.btnUpdate_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs 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-05-18 23:27:34,675 ERROR mojoPortal.Web.Global - 80.177.23.76-en-GB - /HtmlEdit.aspx?mid=137&pageid=11
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 ideas

 

Neil

5/19/2009 4:47:38 AM
Gravatar
Total Posts 18439

Re: Problem upgrading to current version

Hi Neil,

Does it only happen with editing the Html feature or with other searchable features too (like blog, event calendar pro, links, forums)?

The index builders (which build the search index) are configured by config files located at /Setup/ProviderConfig/indexbuilders

I would try uploading those files again in case one of them got corrrupted, then recycle the app to clear the cache and see if that fixes it. If not the next step is to figure out which of the indexbuilders it doesn't like by process of elimination steps.

1 back up all the index builder config files

2 remove them one at a time, after each one recycle the app and try the html editor (I would try removing the one for sts-eventcalendarindexbuilder.config first)

if it works after removing one of the indexbuilders, let me know which one it was that was breaking it.

Hope it helps,

Joe

5/19/2009 7:03:47 AM
Gravatar
Total Posts 118

Re: Problem upgrading to current version

Thanks joe

I had the same error with the blog and event calendar pro.

I reuploaded the files - no change

renamed sts-eventcalendarindexbuilder.config to sts-eventcalendarindexbuilder.config.old and restarted IIS and it worked fine - I hope that helps you find the problem.

 

Regards

 

Neil

5/19/2009 7:52:31 AM
Gravatar
Total Posts 18439

Re: Problem upgrading to current version

Hi Neil,

I must have made some change in mojoPortal core that required a change in Event Calendar Pro. I usually make notes for myself about such things but I apparently missed this one. I've created a new release of Event Calendar Pro, if you download it again it will be version 0.0.1.3-c, installing the new version should solve the problem.

Thanks,

Joe

5/20/2009 4:31:27 AM
Gravatar
Total Posts 118

Re: Problem upgrading to current version

New version appears to work fine

Thanks Joe

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