Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsEventList: An Error has occured. Error: MyDNNPortal Calendar is currently unavailableEventList: An Error has occured. Error: MyDNNPortal Calendar is currently unavailable
Previous
 
Next
New Post
7/9/2008 1:34 PM
 

I'm using version 03.03.08 of the Events module and running into errors with the EventList. The Event List is my default view of the Event Module and it resides on the home page. Before logging into the site I see an error stating "An Error has occured. Error: xxx Calendar is currently unavailable." where "MyDNNPortal" is part of my title (i think). When I log into the host account I see the following exception:

Error: MyDNNPortal Calendar is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Events.SelectCategory.get_SelectedCategory() at DotNetNuke.Modules.Events.EventList.BindDataGrid() at DotNetNuke.Modules.Events.EventList.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

After I'm logged in I can switch to another view of the calendar and everything displays fine. If I switch back to the List view, I see my 100 some odd events with no issue. I believe this has something to do with Categories. If I change the settings to not allow category selection I do not have this problem.

Upon further inspection of the event list control's source code, I believe the problem has to do with the fact that nothing is preselected in the Categories dropdown list. Has anyone tried tried initializing the dropdown list to the first item in the list, or checking that something is indeed selected before trying to use it? I'm not a VB developer, but I know in C# if you do not select an item on page load, errors will certainly follow when you try to get the selected item.

Is there already a fix for this problem? If so, can someone tell me where to find it?

Thanks

 

 
New Post
7/9/2008 4:34 PM
 

That's a known problem with version 3.03.08, and you can work around it (as you have found out already) by disabling the category selection. This issue has been fixed in the coming version 4.00.01, which is currently being stress tested by the core team as part of the DNN release process. You can follow the release progress on the DNN release tracker.

Even if version 4.00.01 has not been officially released (I cannot say when this will be, sorry), you can download it already for testing from http://www.dnnevents.net.

 
New Post
8/12/2008 6:34 PM
 

I recently upgraded to the new version as indicated

8/8/2008 9:54:10 PM   Module Updated       Module Upgraded: DotNetNuke.Modules.Events.EventController, DotNetNu ...
Module Upgraded: DotNetNuke.Modules.Events.EventController, DotNetNuke.Modules.Events
Version: 04.00.02
Results: Events Module Updated: 04.00.02

 

 thought i would pass this along......... was i suppose to "reset application"?

 

8/10/2008 2:22:35 PM   Module Load Exception       ModuleId: 375; ModuleDefId: 102; FriendlyName ...
ModuleId: 375
ModuleDefId: 102
FriendlyName: Events
ModuleControlSource: DesktopModules/Events/Events.ascx
AssemblyVersion: 04.08.04
PortalID: 0
PortalName: FantasyQuest Productions Inc.
UserID: -1
UserName:
ActiveTabID: 55
ActiveTabName: Events
RawURL: /OutOfGameSection/Events/tabid/55/ModuleID/375/ItemID/2/mctl/EventDetails/Default.aspx?selecteddate=4/11/2008
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: dd727979-c17e-4b9d-8c7a-f94a01b162cb
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Events.EventDetails.Page_Load
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Events.EventDetails.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
 
New Post
8/13/2008 7:29 AM
 

This error looks to be because Google has spidered an event which you have then later deleted. Or at least I couldn't see and ItemID (EventID) of 2 on the 11th April or 4th November.

This should be a situation where the module fails gracefully, rather than erroring. I have posted on Gemini here - EVT-8233

Cheers
Roger


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
8/13/2008 7:45 PM
 

Interesting, so if i am reading this correctly. I have an event with aheader and no detail filled in? I will have to check that....

 

Thanks!!

Dean

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsEventList: An Error has occured. Error: MyDNNPortal Calendar is currently unavailableEventList: An Error has occured. Error: MyDNNPortal Calendar is currently unavailable


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out