Exception when saving Host Name Mapping on Child Site

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.
1/6/2012 4:16:59 PM
Gravatar
Total Posts 68

Exception when saving Host Name Mapping on Child Site

Hi Joe,

When adding a second site there is an exception thrown when saving a Host Name Mapping. The repro is to create the site, then goto Host Name Mapping and enter the hostname. click Add Host Name and then click Save. The exception thrown is:

2012-01-06 14:08:02,119 ERROR - en-US - /Admin/SiteSettings.aspx?SiteID=4 - mojoPortal.Web.mojoBasePage -en-US - /Admin/SiteSettings.aspx?SiteID=4 System.InvalidOperationException: Operation is not valid due to the current state of the object.    at System.Web.HttpValueCollection.ThrowIfMaxHttpCollectionKeysExceeded()    at System.Web.HttpValueCollection.Add(HttpCookieCollection c)    at System.Web.HttpRequest.FillInParamsCollection()    at System.Web.HttpRequest.GetParams()    at System.Web.HttpRequest.get_Params()    at mojoPortal.Web.Framework.WebUtils.TryLoadRequestParam(String paramName, Boolean onlyUseQueryString, Int32& paramValue)    at mojoPortal.Business.WebHelpers.CacheHelper.LoadCurrentPage()    at mojoPortal.Business.WebHelpers.CacheHelper.GetCurrentPage()    at mojoPortal.Web.SiteUtils.GetSkinName(Boolean allowPageOverride, Page page)    at mojoPortal.Web.mojoBasePage.SetupMasterPage()    at mojoPortal.Web.mojoBasePage.OnPreInit(EventArgs e)    at mojoPortal.Web.AdminUI.SiteSettingsPage.OnPreInit(EventArgs e)    at System.Web.UI.Page.PerformPreInit()    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

MP 2.3.6.7/.NET4/MSSQL/Full Trust with the ASP.NET patch emailed to me.

1/6/2012 4:23:42 PM
Gravatar
Total Posts 18439

Re: Exception when saving Host Name Mapping on Child Site

Hi Bill,

See this thread for the soution and cause of the problem.

Best,

Joe

1/6/2012 5:48:30 PM
Gravatar
Total Posts 68

Re: Exception when saving Host Name Mapping on Child Site

ah sorry missed that one. thanks.

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