Error when creating new site

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
6/6/2013 9:57:08 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Error when creating new site

Hey Joe

We've a multi-site install that we've migrated to a new server. All working just fine except now we get the following error when we try to create a new site. It happens just after we click Create Site on the setup screen where you give it a name, set the skin etc.

Any ideas please?

Server Error in '/' Application.

Could not load type 'mojoPortal.Business.WebHelpers.IndexHelper' from assembly 'mojoPortal.Web, Version=1.0.4821.25363, Culture=neutral, PublicKeyToken=null'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.TypeLoadException: Could not load type 'mojoPortal.Business.WebHelpers.IndexHelper' from assembly 'mojoPortal.Web, Version=1.0.4821.25363, Culture=neutral, PublicKeyToken=null'.

Source Error: 
 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace: 
 

[TypeLoadException: Could not load type 'mojoPortal.Business.WebHelpers.IndexHelper' from assembly 'mojoPortal.Web, Version=1.0.4821.25363, Culture=neutral, PublicKeyToken=null'.] i7.SharedSites.Web.Publish.PublishPage(PageSettings masterPage, Int32 childSiteID) +0 i7.SharedSites.Web.CreateDefaultContent.SiteCreatedHandler(Object sender, SiteCreatedEventArgs e) +338 mojoPortal.Web.AdminUI.SiteSettingsPage.siteSettings_SiteCreated(Object sender, SiteCreatedEventArgs e) +117 mojoPortal.Business.SiteSettings.OnSiteCreated(SiteCreatedEventArgs e) +20 mojoPortal.Business.SiteSettings.Create() +567 mojoPortal.Business.SiteSettings.Save() +25 mojoPortal.Web.AdminUI.SiteSettingsPage.btnSave_Click(Object sender, EventArgs e) +7397 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9552602 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +103 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +9642338 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1724


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18044

6/6/2013 10:12:39 AM
Gravatar
Total Posts 18439

Re: Error when creating new site

To me it seems like the posted error could only happen if you installed some new version files and not others. Did you do an upgrade at the same time as the move?

Please post all the version information from Administration > System Information

Do you have any 3rd party or custom features installed?

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