MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Event Calendar - Advanced - bug with navigation and display update  (Mono Support )

Viewed 95281 time(s), 29 post(s) 4/9/2012 8:48:54 AMby Jeremy
khorvat

khorvat

5/3/2012 9:39:20 PM
Hi,

I have sent you the link to latest MonoX version, let us know if you need anything.

Regards
Rated 5.00, 1 vote(s). 
15993 Reputation 2214 Total posts
Jeremy

Jeremy

4/9/2012 8:48:54 AM
I have found a bug with the navigation and display update for the advanced mode of the event calendar. You can reproduce the bug here:

http://monox.mono-software.com/MonoX/Pages/SocialNetworking/EventCalendar.aspx

Navigate to Jan 2012. Then use the left arrow on the large calendar to display Dec 2011. No events appear in the large calendar for Dec 2011, but there are actually events that should be displayed.

Now click on any day in the smaller callendar and the events now appear for Dec 2011.

How do I get the events to display consistently when using the navigation on the large calendar?
This content has not been rated yet. 
322 Reputation 36 Total posts
pajo

pajo

4/10/2012 8:59:04 AM
Hi Jeremy,

Thanks for pointing out this issue. This should be fixed in future versions of MonoX, today will be published new unofficial build with this issue fixed.
This content has not been rated yet. 
629 Reputation 83 Total posts
khorvat

khorvat

4/13/2012 3:35:29 PM
Hi,

sorry for a delay, please find the URL to a new unofficial MonoX version in your InMail.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
Jeremy

Jeremy

4/14/2012 2:14:24 AM
I have updated to the unofficial version but now I am getting an error. It seems like there is a new table called CalendarEventEntry that is missing. I have checked the database and there is no table called CalendarEventEntry. Following is the error log from MonoX\ApplicationData\Logs.

2012-04-14 12:11:34,701 [30] ERROR MonoX [admin] - Error
System.Web.HttpException (0x80004005): Error executing child request for /cabin/MonoX/Pages/MonoX/Error.aspx. ---> System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> SD.LLBLGen.Pro.ORMSupportClasses.ORMQueryExecutionException: An exception was caught during the execution of a retrieval query: Invalid object name 'dbo.CalendarEventEntry'.. Check InnerException, QueryExecuted and Parameters of this exception to examine the cause of this exception. ---> System.Data.SqlClient.SqlException: Invalid object name 'dbo.CalendarEventEntry'.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at SD.LLBLGen.Pro.ORMSupportClasses.RetrievalQuery.Execute(CommandBehavior behavior)
--- End of inner exception stack trace ---
at SD.LLBLGen.Pro.ORMSupportClasses.RetrievalQuery.Execute(CommandBehavior behavior)
at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.ExecuteMultiRowRetrievalQuery(IRetrievalQuery queryToExecute, IEntityFactory2 entityFactory, IEntityCollection2 collectionToFill, IFieldPersistenceInfo[] fieldsPersistenceInfo, Boolean allowDuplicates, IEntityFields2 fieldsUsedForQuery)
at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.FetchEntityCollectionInternal(IEntityCollection2 collectionToFill, IRelationPredicateBucket& filterBucket, Int32 maxNumberOfItemsToReturn, ISortExpression sortClauses, ExcludeIncludeFieldsList excludedIncludedFields, Int32 pageNumber, Int32 pageSize)
at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.FetchEntityCollection(IEntityCollection2 collectionToFill, IRelationPredicateBucket filterBucket, Int32 maxNumberOfItemsToReturn, ISortExpression sortClauses, IPrefetchPath2 prefetchPath, ExcludeIncludeFieldsList excludedIncludedFields, Int32 pageNumber, Int32 pageSize)
at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.FetchEntityCollection(IEntityCollection2 collectionToFill, IRelationPredicateBucket filterBucket, Int32 maxNumberOfItemsToReturn, ISortExpression sortClauses, IPrefetchPath2 prefetchPath, Int32 pageNumber, Int32 pageSize)
at MonoSoftware.LLBLGen.Repository.FetchEntityCollection(IEntityCollection2 collectionToFill, IRelationPredicateBucket filterBucket, Int32 maxNumberOfItemsToReturn, ISortExpression sortClauses, IPrefetchPath2 prefetchPath, Int32 pageNumber, Int32 pageSize)
at MonoSoftware.MonoX.Repositories.CalendarEventRepository.GetCalendarEvents(Guid calendarId, Nullable`1 startTime, Nullable`1 endTime, Int32 pageNumber, Int32 pageSize, Int32& recordCount)
at MonoSoftware.MonoX.Repositories.CalendarEventRepository.GetCalendarEvents(Guid calendarId, Nullable`1 startTime, Nullable`1 endTime)
at MonoSoftware.MonoX.ModuleGallery.EventModule.DataBind()
at MonoSoftware.MonoX.ModuleGallery.EventModule.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.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)
at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)
at System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm)
at MonoSoftware.MonoX.BasePage.OnError(EventArgs e)
This content has not been rated yet. 
322 Reputation 36 Total posts
khorvat

khorvat

4/14/2012 5:44:16 AM
Hi,

you will also need to upgrade your database. To do so you need to go to following folder "/MonoX/Install/Sql/UpgradeScripts" and execute the scripts from MonoX version you have to the latest one.

Note: Please backup your database before you execute the scripts.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
Jeremy

Jeremy

4/14/2012 6:55:40 AM
After upgrading the database as instructed the calendar navigation now works for web parts that were previously created, Thank you. I am now using MonoX v4.7.40.3474 [4/13/2012], DB v4.7.3321

However, some new problems have appeared.

I can no longer add new event calendars in the web part properties.

When adding a new event calendar web part I am unable to set the calendar to display. When clicking on the "Calendar to display:" input box I get an OK dialog window that says "There was an error in the callback." A loading... message appears below the input box in the web part properties page, but it never finishes. The Add Calendar button also no longer works.

I can no longer update existing event calendars in the web part properties.

The drop down list for "Calendar to display" only shows the existing calendar, even though there are two calendars on my site and I can see them in different web parts.

The delete calendar button works however. I was able to delete a calendar but I can no longer get it back again due to the above errors. I did backup my database before the update, so I can recover if needed.


This content has not been rated yet. 
322 Reputation 36 Total posts
khorvat

khorvat

4/14/2012 7:21:41 AM
Hi,

before you recover the database I'll rather try to resolve the issues you have, so can you please send us the error logs. you can find them on the following location - "/MonoX/ApplicationData/Logs/*.log"

Thanks
This content has not been rated yet. 
15993 Reputation 2214 Total posts
Jeremy

Jeremy

4/14/2012 7:41:48 AM
OK, I have uploaded the logs in this post:

[2012-04-14]_MonoX_Info.log.txt
[2012-04-14]_MonoX.log.txt
2012-04-14 08-40_install.log.txt

I renamed them to end in .txt so I could select them to upload.
This content has not been rated yet. 
322 Reputation 36 Total posts
khorvat

khorvat

4/14/2012 7:50:08 AM
Hi,

can you please reset the WebPart personalization on this page (if possible - Note: you will loose all the WebPart settings on that page) so we can take a look at freshly added EventModule to that page. It seems to me that loading module from the personalization state is causing the problem.

Let me know how it goes.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
Jeremy

Jeremy

4/14/2012 8:06:23 AM
I am not sure what you mean. I am happy to reset, I just do not know how.

I have been adding event calendars dynamically using the part catalog - main part catalog - general - event module (drag to a web part zone in default.aspx.

How do I reset the WebPart personalization on default.aspx? Is there an icon I should be looking for or is there some other way to do it in the portal administration area?
This content has not been rated yet. 
322 Reputation 36 Total posts
1 2 3