Blog Post error after upgrade

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.
2/13/2013 7:13:30 PM
Gravatar
Total Posts 11

Blog Post error after upgrade

Hi,

Not sure if this is the correct forum. It may be classified as an upgrade issue.

I've upgraded to the lastest version of mojoportal. There seemed to be no problems when upgrading. All has been running well till I tried to post a blog. The error  "Error.htm?aspxerrorpath=/Blog/EditPost.aspx" keeps coming up. The excerpt path is accepted with no problems, when you click on  the read more...  this error appears in the browser window.

I haven't experienced this before. Blogs written previous to upgrade have no problem.

Thanks for your help.

I'm running a multisite installation on ASP. Net 4, Mojoportal 2.3.9.5, Database SQL2008, it happens with the following operating systems, Firefox, Explorer, Chrome.

This is the test site that I noticed the issue. http://annmarierudd.creativestrand.com.au/blog.aspx

I tried my main site:  http://energyinfocus.creativestrand.com.au/blog.aspx Same issue.

System Information
mojoPortal Version 2.3.9.5 MSSQL
Operating System Microsoft Windows NT 6.1.7601 Service Pack 1
ASP.NET Info v4.0.30319 Running in Full Trust
Server Time Zone E. Australia Standard Time
Server Local Time (GMT 10) 14/02/2013 11:19:20
Greenwich Mean Time (GMT/UTC) 14/02/2013 01:19:20

2/14/2013 3:28:24 AM
Gravatar
Total Posts 537
feet planted firmly on the ground

Re: Blog Post error after upgrade

I'm also getting similar errors after the upgrade (same platform as o.p.). First I posted from Windows Live Writer and got this error:

Server Error 12 Occurred

Create new post failed.  Error: The type initializer for 'mojoPortal.SearchIndex.IndexBuilderManager' threw an exception.

With this in the sysem log:

2013-02-14 09:20:51,306 ERROR 192.168.54.5 - en-US - /metaweblogapi.ashx - mojoPortal.Web.BlogUI.metaweblogapi - mojoPortal.Core.API.MetaWeblog.MetaWeblogException: Create new post failed.  Error: The type initializer for 'mojoPortal.SearchIndex.IndexBuilderManager' threw an exception.
   at mojoPortal.Web.BlogUI.metaweblogapi.NewPost(String blogId, String userName, String password, MWAPost sentPost, Boolean publish)
   at mojoPortal.Web.BlogUI.metaweblogapi.ProcessRequest(HttpContext context)

I found that the post had been created on the site, but could not be viewed (by clicking the post title). We get a 404.

Editing the post within the site is possible, but on saving it bombs and we get this in the log:

2013-02-14 09:22:17,095 ERROR 192.168.54.5 - en-GB - /Blog/EditPost.aspx?pageid=138&ItemID=204&mid=108 - mojoPortal.Web.Global -  Referrer(http://www.esdmdata.co.uk/Blog/EditPost.aspx?pageid=138&ItemID=204&mid=108) useragent Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; BOIE9;ENUS)
System.Configuration.ConfigurationErrorsException: Could not load type 'mojoPortal.Business.WebHelpers.IndexBuilderProvider' from assembly 'mojoPortal.Business.WebHelpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. ---> System.TypeLoadException: Could not load type 'mojoPortal.Business.WebHelpers.IndexBuilderProvider' from assembly 'mojoPortal.Business.WebHelpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
 

2/14/2013 4:30:39 AM
Gravatar
Total Posts 18439

Re: Blog Post error after upgrade

I think you did not upload all the files. Specifically make sure you uploaded the /Setup/ProviderConfig/indexbuilders folder. Your error indicates old files there. Also be sure to use the new Web.config file and transfer any customizations such as machine key from your old one.

2/14/2013 4:57:20 AM
Gravatar
Total Posts 18439

Re: Blog Post error after upgrade

Also make sure you upgrade Event Calendar Pro after upgrading mojoPortal. There was a corresponding update to Event Calendar Pro for compatibility with this version and this error could happen if you did not upgrade it because of changes to the search index.

Hope that helps,

Joe

2/14/2013 7:50:12 AM
Gravatar
Total Posts 128

Re: Blog Post error after upgrade

It was upgrading Event Calendar Pro that fixed it - thanks Joe. I forgot this particular site had it installed.

2/14/2013 2:12:17 PM
Gravatar
Total Posts 11

Re: Blog Post error after upgrade

Hi,

Unfortunately that didn't provide a solution for the problem I was experiencing. I have redone the upgrade with both mojoportal and calendar pro. Unfortunately I've made things worse as I have now no wysiwg editor either.

Any help on where to go from here would be appreciated.

I wasn't too sure of how much of the system log was required.

The system log is:

2013-02-15 05:25:38,964 ERROR 110.142.145.79 - en-GB - /Blog/EditPost.aspx?pageid=70&ItemID=78&mid=132 - mojoPortal.Web.Global -  Referrer(http://www.creativestrand.com.au/Blog/EditPost.aspx?pageid=70&ItemID=78&mid=132) useragent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17
System.Configuration.ConfigurationErrorsException: Could not load type 'mojoPortal.Business.WebHelpers.IndexBuilderProvider' from assembly 'mojoPortal.Business.WebHelpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. ---> System.TypeLoadException: Could not load type 'mojoPortal.Business.WebHelpers.IndexBuilderProvider' from assembly 'mojoPortal.Business.WebHelpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)
   at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
   at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
   at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
   --- End of inner exception stack trace ---
   at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
   at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType)
   at System.Web.Configuration.ProvidersHelper.InstantiateProviders(ProviderSettingsCollection configProviders, ProviderCollection providers, Type providerType)
   at mojoPortal.SearchIndex.IndexBuilderManager.Initialize()
2013-02-15 05:38:26,136 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2013-02-15 05:38:47,902 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2013-02-15 05:46:53,339 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2013-02-15 05:50:13,152 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2013-02-15 05:51:04,152 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2013-02-15 05:51:57,199 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2013-02-15 05:54:53,777 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2013-02-15 05:55:04,902 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.

 

2/14/2013 2:15:59 PM
Gravatar
Total Posts 18439

Re: Blog Post error after upgrade

I recommend clear your log. If you are still getting the same error it means you didn't really upload all the new files for Event Calendar Pro. I would try uploading them again, there may have been ftp errors.

2/14/2013 2:29:39 PM
Gravatar
Total Posts 11

Re: Blog Post error after upgrade

Hi Joe,

I have updated the Web Calendar pro, cleared the log and sent you the new log.

Thankyou.

2013-02-15 06:25:07,386 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2013-02-15 06:25:30,449 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2013-02-15 06:26:37,058 ERROR 110.142.145.79 - en-US - /omg3.aspx - mojoPortal.Web.PageNotFoundHttpModule - Referrer(http://annmarierudd.creativestrand.com.au/blog.aspx)  PageNotFoundHttpModule handled error.
System.Web.HttpException (0x80004005): The file '/omg3.aspx' does not exist.
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2013-02-15 06:27:31,511 ERROR 110.142.145.79 - en-US - /Blog/EditPost.aspx?pageid=294&mid=484 - mojoPortal.Web.Global -  Referrer(http://annmarierudd.creativestrand.com.au/Blog/EditPost.aspx?pageid=294&mid=484) useragent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17
System.Configuration.ConfigurationErrorsException: Could not load type 'mojoPortal.Business.WebHelpers.IndexBuilderProvider' from assembly 'mojoPortal.Business.WebHelpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. ---> System.TypeLoadException: Could not load type 'mojoPortal.Business.WebHelpers.IndexBuilderProvider' from assembly 'mojoPortal.Business.WebHelpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)
   at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
   at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
   at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
   --- End of inner exception stack trace ---
   at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
   at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType)
   at System.Web.Configuration.ProvidersHelper.InstantiateProviders(ProviderSettingsCollection configProviders, ProviderCollection providers, Type providerType)
   at mojoPortal.SearchIndex.IndexBuilderManager.Initialize()

 

2/14/2013 2:37:00 PM
Gravatar
Total Posts 18439

Re: Blog Post error after upgrade

Are you sure you have downloaded the latest version of Event Calendar Pro. When you visit Administration > System Information what version does it say for Event Calendar Pro?

2/14/2013 2:43:59 PM
Gravatar
Total Posts 11

Re: Blog Post error after upgrade

Hi Joe,

STS_EventCalendar     3.4.1.1
 

2.3.9.5 MSSQL
Operating System Microsoft Windows NT 6.1.7601 Service Pack 1
ASP.NET Info v4.0.30319 Running in Full Trust

contactform     0.0.0.6
eventcalendar     0.0.0.6
feed-manager     0.0.1.0
forums     2.2.0.2
imagegallery     0.0.0.8
kdmediaplayer     1.0.0.1
linksmodule     0.0.0.9
MegaGallery     0.0.0.7
pollfeature-byChristianFredh     0.0.0.5
sharedfiles     0.0.1.0

surveyfeature     1.8.0.0
webstore     0.0.7.3

 

Thankyou.

2/14/2013 2:56:07 PM
Gravatar
Total Posts 18439

Re: Blog Post error after upgrade

Hi,

You are running a custom feature there named MegaGallery which I suspect implements search but has not been updated to be compatible with recent changes in our search index.

I would look for a file corresponding to mega gallery in the folder /Setup/ProviderConfig/indexbuilders

​remove the file, then touch your web.config file and it should prevent the error. Then contact the developer and ask them to update it to be compatible. I had posted in our developer forum so that developers would know about this change and be able to update their custom features.

Hope that helps,

Joe

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