Installed release 2.3.5.1 and have an error with multi-site setup

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.
8/19/2010 11:39:49 AM
Gravatar
Total Posts 15

Installed release 2.3.5.1 and have an error with multi-site setup

Hi Joe, I'm not sure if this is a bug but I thought I should mention it.  I set up two sites using one installation/one database of mojoPortal.  They both have domain names to distinguish them in the host name mapping.  When I set up the features for the child site, I get the following error when adding "Contact Form", "Poll", and "Shared Files" (I didn't try every feature to see what happens).

at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2010-08-19 09:26:39,091 ERROR mojoPortal.Web.Global - 156.3.205.153-en-US - /Admin/SiteSettings.aspx?SiteID=2
System.ArgumentException: Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
at System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument)
at System.Web.UI.Control.ValidateEvent(String uniqueID, String eventArgument)
at System.Web.UI.WebControls.TextBox.LoadPostData(String postDataKey, NameValueCollection postCollection)
at System.Web.UI.WebControls.TextBox.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection)
at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 

However, if I log in the parent site using the IP address rather than the domain name, I get the same error but then it goes away if I try again a second time to move these features into the features offered for the child site.  Did I do something wrong with the installation or is this a bug?  It has never happened to me before on previous releases but I can't say I recall if I was using IP addresses versus host names to access my sites.  I'm probably switching to another server for the child site so it's not a big problem for me but I was just wondering why this happens.

Thanks,

Thao

8/19/2010 2:05:00 PM
Gravatar
Total Posts 18439

Re: Installed release 2.3.5.1 and have an error with multi-site setup

Hi Thao,

When you upgrade, make sure you use the new Web.config file. If you kept an old one it can cause this problem because it doesn't have the right settings in Web.config

Hope it helps,

Joe

8/19/2010 3:27:20 PM
Gravatar
Total Posts 15

Re: Installed release 2.3.5.1 and have an error with multi-site setup

Hi Joe, actually, I think that I did because most of my site specific values are stored in user.config so I just overwrote the newest web.config with the installation's and I diffed my old one and new one and see this new value in it (among some others):

<add key="jQueryUIAvailableThemes" value="base,black-tie,blitzer,cupertino,dark-hive,dot-luv,eggplant,excite-bike,flick,hot-sneaks,humanity,le-frog,mint-choc,overcast,pepper-grinder,redmond,smoothness,south-street,start,sunny,swanky-purse,trontastic,ui-darkness,ui-lightness,vader"/>

which I assume was recently added for the jquery themes.

I'll watch out for this the next time I install and make sure I'm using the latest web.config, I had to move the child site anyways so it's not a problem anymore for me. smiley

Thanks for the super-fast reply as usual.

 

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