Can't add events to EventCalendarPro

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.
11/24/2009 9:04:18 AM
Gravatar
Total Posts 116
http://www.zoomicon.com http://birbilis.spaces.live.com http://www.delicious.com/birbilis http://twitter.com/Zoomicon

Can't add events to EventCalendarPro

Suddenly I started getting the following and can't add events anymore to EventCalendar Pro. How come?

-----------

.../portal/Error.htm?aspxerrorpath=/portal/Events/EditEvent.aspx

We're sorry but a server error has occurred while trying to process your request.

The error has been logged and will be reviewed by our staff as soon as possible. It is possible that the error was just a momentary hiccup and you may wish to use the back button and try again or go back to the home page.

---------- log ----------

2009-11-24 16:59:25,968 ERROR mojoPortal.Web.Global - 77.49.1.171-el-GR - /portal/Events/EditEvent.aspx?mid=23&pageid=7 System.TypeLoadException: Method 'set_TaskName' in type 'sts.Events.Web.Components.CreateRecurrenceTask' from assembly 'sts.Events.Web.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. at sts.Events.Web.UI.Controls.EventEditor.SetupRecurrence(EventCalendar calendarEvent, Boolean deleteOnly) at sts.Events.Web.UI.Controls.EventEditor.SaveEvent(Boolean updateRecurrences) at sts.Events.Web.UI.Controls.EventEditor.btnUpdate_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

11/24/2009 9:17:09 AM
Gravatar
Total Posts 18439

Re: Can't add events to EventCalendarPro

Please make sure you are using the latest version of mojoPortal and the latest version of Event Calendar Pro.

Best,

Joe

11/24/2009 1:30:49 PM
Gravatar
Total Posts 116
http://www.zoomicon.com http://birbilis.spaces.live.com http://www.delicious.com/birbilis http://twitter.com/Zoomicon

Re: Can't add events to EventCalendarPro

It was all working fine, then I tried doing some change to web.config to make NeatUpload work with big files (see my e-mail on it) and after some restarts of the server and site (to be sure web.config was reloaded) then the calendar stopped allowing one to add more events (just before that a colleague had added an event succesfully)

What should I do? Should I reinstall EventCalendar Pro or is there a chance the events in the db are corrupted?

11/24/2009 1:49:44 PM
Gravatar
Total Posts 18439

Re: Can't add events to EventCalendarPro

What version of mojoPortal and what version of Event Calendar Pro. I believe this error is a version mismatch. If you are running the latest version of mojoPortal and the latest version of Event Calendar Pro I can try sending you a newer build of Event Calendar Pro as this issue does not happen on my machine nor on demo.mojoportal.com. It is possible that I made a mistake somewhere and need to make a new release of Event Calendar Pro to fix it if this is happening with the latest release. You can see the version under Administration > System Info

You might also try deleting all rows from the mp_TaskQueue table and then try to create the event with recurrences again in case there was a task that was serialized into the db from a previous version.

I don't see a connection with this error and NeatUpload.

Best,

Joe

11/24/2009 2:01:20 PM
Gravatar
Total Posts 116
http://www.zoomicon.com http://birbilis.spaces.live.com http://www.delicious.com/birbilis http://twitter.com/Zoomicon

Re: Can't add events to EventCalendarPro

since I didn't update neither mojoPortal nor EventCalendarPro (had the latest ones anyway), I'll go for clearing "mp_TaskQueue" table and let you know (I guess the queue is corrupted - probably by restarting the server or site when some user was adding an event [do you use transactions in the event addition/update SQL?])

11/24/2009 2:14:45 PM
Gravatar
Total Posts 18439

Re: Can't add events to EventCalendarPro

Not for recurrences, they are created on a background thread after the initial event is made and there are calculations and steps which cannot be easily transacted. Writing the event to the search index is outside of sql for example. The task is serialized with all the info needed to do the calculations and make the events and determine what the urls will be and queue the item for indexing in the search engine and is designed to log any errors. 

11/24/2009 2:18:44 PM
Gravatar
Total Posts 116
http://www.zoomicon.com http://birbilis.spaces.live.com http://www.delicious.com/birbilis http://twitter.com/Zoomicon

Re: Can't add events to EventCalendarPro

unluckily mp_TaskQueue is empty already

my next step will be to reinstall EventCalendarPro

is there any other table I could check for corruption before I do that?

11/24/2009 2:29:27 PM
Gravatar
Total Posts 18439

Re: Can't add events to EventCalendarPro

I'm not sure why this suddenly started happening but I do know that I briefly had changed the TaskFramework to remove the TaskName setter because there were cases happening where because we were localizing the task name it was causing deserialization errors if there were special characters in the name, so this error seems related to that and I may not be seeing it because I'm running a newer unreleased build of Event Calendar Pro (no new features just a newer build with small code changes).

Please upgrade if you have not already to mojoPortal 2.3.3.0 which was released today because I know of one thing I fixed recently in Event Calendar that does require the latest mojoPortal because a new method was added in mojoPortal to fix it and the latest Event Calendar code uses this method. Meanwhile I will package a new release of Event Calendar Pro (give me about an hour) I'll let you know when it is ready. 

Best,

Joe

11/24/2009 3:00:08 PM
Gravatar
Total Posts 116
http://www.zoomicon.com http://birbilis.spaces.live.com http://www.delicious.com/birbilis http://twitter.com/Zoomicon

Re: Can't add events to EventCalendarPro

thanks, I'll try the new mojoPortal first and then we can check with the private build of EventCalendarPro

11/24/2009 3:12:54 PM
Gravatar
Total Posts 18439

Re: Can't add events to EventCalendarPro

I'm going to email you a build of Event Calendar Pro just in case but please do see if the error goes away or not by just upgrading mojoPortal first before upgrading to the build of Event Calendar Pro. If the error happens after upgrading mojoPortal and then the build of Event Calendar Pro solves it then I need to go ahead and release the new build of Event Calendar Pro for everyone or I think others will soon be reporting the same problem.

So, please let me know the results of upgrading mojoPortal and whether it solves this.

Thanks,

Joe

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