Upgrade EventCalendar 3.4.0.2 on Mojoportal 2.3.7.5

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.
12/2/2011 10:58:40 AM
Gravatar
Total Posts 13

Upgrade EventCalendar 3.4.0.2 on Mojoportal 2.3.7.5

Hello,

I'm upgrading Mojoportal 2.3.7.5 from 2.3.4.3. I use MySQL. Basic installation went well. Now I'm upgrading EventCalendar from version 0.0.2.5 to 3.4.0.2. and getting this error:

System.ArgumentNullException: Value cannot be null.
Parameter name: destinationTimeZone

Could someone help?

Thanks,
Steve

12/2/2011 11:02:03 AM
Gravatar
Total Posts 18439

Re: Upgrade EventCalendar 3.4.0.2 on Mojoportal 2.3.7.5

Hi,

Go into the feature instance settings and select a time zone and that should solve the problem.

Hope that helps,

Joe

12/2/2011 11:08:52 AM
Gravatar
Total Posts 13

Re: Upgrade EventCalendar 3.4.0.2 on Mojoportal 2.3.7.5

I had old calendar on the home page. But the homepage doesn't load because of the error.

Did you mean change settings in web.config?

Thanks

12/2/2011 11:15:58 AM
Gravatar
Total Posts 18439

Re: Upgrade EventCalendar 3.4.0.2 on Mojoportal 2.3.7.5

Are you logged in as admin? If so go to yoursiteroot/Admin/PageTree.aspx

select your home page and click the pencil then select the Event Calendar Module and click the gear to get to instance settings.

If you are not logged in another solution is to edit the file at

/Setup/applications/STS_EventCalendarPro/FeatureDefinitions/40000_EventCalendarModulle.config

look for this:

<featureSetting
resourceFile="STSEventCal"
grouNameKey="DateTimeSettings"
resourceKey="TimeZoneIdSetting"
defaultValue=""
controlType="ISettingControl"
controlSrc="~/Controls/TimeZoneIdSetting.ascx"
helpKey="sts-eventcal-TimeZoneSetting-help"
sortOrder="1000"
regexValidationExpression=""
/>

and set the default value to:

Eastern Standard Time

Then visit the Setup page again.

Thats should get past the error then you can change it to a different time zone if needed. I'm adding that default for the next release , someone else just reported this problem yesterday.

Hope that helps,

Joe

12/2/2011 11:36:04 AM
Gravatar
Total Posts 13

Re: Upgrade EventCalendar 3.4.0.2 on Mojoportal 2.3.7.5

- Made the change, run setup, visited homepage but get the same error message.

- Tried to open /Admin/PageTree.aspx directly, got this error:

2011-12-02 12:29:37,270 ERROR - /Admin/PageTree.aspx - mojoPortal.Web.Global
System.ArgumentNullException: Value cannot be null.
Parameter name: format

 

Thanks,
Steve

12/2/2011 11:43:23 AM
Gravatar
Total Posts 18439

Re: Upgrade EventCalendar 3.4.0.2 on Mojoportal 2.3.7.5

Is there any more error detail in the log like a stack trace showing where in code the error is happening?

I'm getting the sense that some of the files were not updated. I would try re-deploying the files for mojoPortal and for event calendar pro. 

Are you leaving out any files like resource files?

Are you using the new Web.config file or trying to keep your old one?

12/2/2011 12:15:12 PM
Gravatar
Total Posts 13

Re: Upgrade EventCalendar 3.4.0.2 on Mojoportal 2.3.7.5

Hi,

I believe I copied all my updated resource files to the new site. I keep my old web.config and user.config. I tried the new site prior installing the EventCalendarPro, and it seemed ok.

Here is the detailed error in log:

2011-12-02 13:05:39,629 ERROR - /Default.aspx - mojoPortal.Web.Global -  Referrer(http://test/setup/) useragent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; Tablet PC 2.0)
System.ArgumentNullException: Value cannot be null.
Parameter name: destinationTimeZone
at System.TimeZoneInfo.ConvertTime(DateTime dateTime, TimeZoneInfo sourceTimeZone, TimeZoneInfo destinationTimeZone, TimeZoneInfoOptions flags)
at System.TimeZoneInfo.ConvertTimeFromUtc(DateTime dateTime, TimeZoneInfo destinationTimeZone)
at sts.Events.Web.UI.Controls.ListView.FormatDateLabel(DateTime beginDate, DateTime endDate)
at ASP.events_controls_listview_ascx.__DataBind__control7(Object sender, EventArgs e)
at System.Web.UI.Control.OnDataBinding(EventArgs e)
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource)
at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e)
at sts.Events.Web.UI.Controls.ListView.PopulateControls()
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Thanks

12/2/2011 12:31:23 PM
Gravatar
Total Posts 18439

Re: Upgrade EventCalendar 3.4.0.2 on Mojoportal 2.3.7.5

Please use the Web.config file that shipped with mojoPortal and restore customizations such as the machine key from your old one. You are definitely missing some important things in Web.config if you upgraded from 2.3.4.3.

This error details is the one from Event Calendar Pro, the error says its on Default.aspx and the setup page is the referrer.

I need to see the details of the error from /Admin/PageTree.aspx but I suspect that one will go away once you use the new Web.config

12/2/2011 2:21:53 PM
Gravatar
Total Posts 13

Re: Upgrade EventCalendar 3.4.0.2 on Mojoportal 2.3.7.5

Here is the error log with the default web.config. Thanks.

2011-12-02 15:18:25,160 ERROR - /Admin/PageTree.aspx - mojoPortal.Web.Global -  Referrer(none) useragent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; Tablet PC 2.0)
System.ArgumentNullException: Value cannot be null.
Parameter name: format
at System.String.Format(IFormatProvider provider, String format, Object[] args)
at mojoPortal.Web.UI.WelcomeMessage.DoRender(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)
at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Page.Render(HtmlTextWriter writer)
at mojoPortal.Web.mojoBasePage.Render(HtmlTextWriter writer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

12/2/2011 2:27:36 PM
Gravatar
Total Posts 18439

Re: Upgrade EventCalendar 3.4.0.2 on Mojoportal 2.3.7.5

It means either you did not update the /App_GlobalResources/Resource.resx file with the one included in the latest version of mojoPortal, or you are forcing a different language than English and the resource file for the language has a bad key.

If you are forcing a different language let me know what language and I'll look at the resource file to see what is wrong.

Hope that helps,

Joe

12/2/2011 3:04:36 PM
Gravatar
Total Posts 13

Re: Upgrade EventCalendar 3.4.0.2 on Mojoportal 2.3.7.5

English is the only language.

Yes, after putting back the Resource.resx I can load /Admin/PageTree.aspx. Now the only piece left is home page which has the calendar. Same error message:

System.ArgumentNullException: Value cannot be null.
Parameter name: destinationTimeZone

Thanks

12/2/2011 3:07:23 PM
Gravatar
Total Posts 18439

Re: Upgrade EventCalendar 3.4.0.2 on Mojoportal 2.3.7.5

Did you go into the settings and select a time zone and save it?

select your home page in pagetree.aspx and click the pencil then select the Event Calendar Module and click the gear to get to instance settings.

12/2/2011 3:15:30 PM
Gravatar
Total Posts 13

Re: Upgrade EventCalendar 3.4.0.2 on Mojoportal 2.3.7.5

Hi Joe,

I opened the Event Calendar Pro settings the Eastern Time  is realdy there. Saved and home page works.

Thank you so much for your patient and the great help !!

Steve

 

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