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 ForumsEventsEventsModule ErrorsModule Errors
Previous
 
Next
New Post
8/7/2010 3:23 PM
 
I consistently get an error thrown by the Events module, similar to the following:
ModuleId: 368
ModuleDefId: 104
FriendlyName: Elks Lodge Events
ModuleControlSource: DesktopModules/Events/Events.ascx
AssemblyVersion: 5.4.2
PortalID: 0
PortalName: Arlington-Fairfax Elks Lodge #2188
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Home
RawURL: /dotnetnuke/Home/tabid/36/ModuleID/368/ItemID/1091/mctl/EventDetails/Default.aspx
AbsoluteURL: /dotnetnuke/Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (compatible; Yahoo! Slurp/3.0; http://help.yahoo.com/help/us/ysearch/slurp)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: bdeeb798-02eb-44bc-ac97-e86996e6b16e
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Events.EventController.EventsGet
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.EventController.EventsGet(Int32 EventID, Int32 ModuleID) at DotNetNuke.Modules.Events.EventDetails.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: W2K3-WEB53

I gather that this error is being thrown as Event ID 1091 cannot be found on the database.  When I review the entries in the Events table, I cannot find any reference to EventID 1091.

So my question is, how can this error be thrown and what can I do to avoid the error.  Is there a bug?  I have deleted many events, is it possible that the databse is not being cleaned up.

i am at a loss ....

Regards
Hans
 
New Post
8/7/2010 4:40 PM
 
The code should protect against this, but I'll have to check. If you notice, the useragent is yahoo/slurp. So it will be the yahoo search engine checking a previously spidered link.

What version of the module are you using?

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/7/2010 4:48 PM
 
I am using 5.1.4 ... yes I did notice that Yahoo/Slurp was the user agent .... they may have an old reference...but still I think that the code should guard against emitting errors for a NULL condition.

Regards
Hans
 
New Post
8/7/2010 4:50 PM
 
Yes it should do. I have posted the bug here - http://dnnevents.codeplex.com/workite... - bug fix will be in 5.1.5.

I talk to Ernst Peter about getting an early 5.1.5 beta available on CodePlex.

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
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsModule ErrorsModule Errors


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