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 ForumsEventsEventsEvents Module 03.03.08 BetaEvents Module 03.03.08 Beta
Previous
 
Next
New Post
8/8/2007 1:54 AM
 

I too downloaded the latest beta and installed it on the latest core and am getting errors from DotNetNuke.Modules.Events.SelectCategory.get_SelectedCategory.

More specifically, I am using list view and I've set up two categories. I added a couple of events without assigning them to a specific category (ie. 0) and when I try to view the front page in my Firefox browser I get the following error. It displays fine in IE at the moment so I'm not sure if it's a browser issue or some sort of cookie/session problem.

Date Log Type Username Portal Summary
  8/8/2007 12:50:14 AM   Module Load Exception   host     ModuleId: 499; ModuleDefId: 98; FriendlyName ...
ModuleId: 499
ModuleDefId: 98
FriendlyName: Events
ModuleControlSource: DesktopModules/Events/Events.ascx
AssemblyVersion: 04.05.05
PortalID: 5
PortalName: Nashville Biker Events
UserID: 1
UserName: host
ActiveTabID: 108
ActiveTabName: Home
RawURL: /Home.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://nashville.tn.bikerevents.net/Default.aspx?tabid=108&error=Object+reference+not+set+to+an+instance+of+an+object.&content=0
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 686b1189-c694-433e-bdbf-bf641b70d639
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Events.SelectCategory.get_SelectedCategory
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.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 ---
Source:
Server Name: ICIMS01
  8/8/2007 12:50:10 AM   Page Load Exception   host     AssemblyVersion: 04.05.05; PortalID: 5; PortalNa ...
AssemblyVersion: 04.05.05
PortalID: 5
PortalName: Nashville Biker Events
UserID: 1
UserName: host
ActiveTabID: 108
ActiveTabName: Home
RawURL: /Home.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://nashville.tn.bikerevents.net/Home.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: c07a33bf-90db-4922-b09d-5e3f0a074a37
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Events.SelectCategory.get_SelectedCategory
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: 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.SelectCategory.ddlCategories_SelectedIndexChanged(Object sender, EventArgs e) at System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(EventArgs e) at System.Web.UI.WebControls.DropDownList.RaisePostDataChangedEvent() at System.Web.UI.WebControls.DropDownList.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent() at System.Web.UI.Page.RaiseChangedEvents() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: ICIMS01
  8/8/2007 12:49:56 AM   Module Load Exception   host     ModuleId: 499; ModuleDefId: 98; FriendlyName ...
ModuleId: 499
ModuleDefId: 98
FriendlyName: Events
ModuleControlSource: DesktopModules/Events/Events.ascx
AssemblyVersion: 04.05.05
PortalID: 5
PortalName: Nashville Biker Events
UserID: 1
UserName: host
ActiveTabID: 108
ActiveTabName: Home
RawURL: /Home.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://nashville.tn.bikerevents.net/Admin/LogViewer.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: e253eb66-37d9-422e-b348-70299b7102f7
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Events.SelectCategory.get_SelectedCategory
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.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 ---
Source:
Server Name: ICIMS01
 
New Post
8/8/2007 8:14 AM
 

I think the problem is with the cookie code.  I used the following code to overcome the "Object reference not set" problem.

 
Public Property SelectedCategory() As String
Get
If _SelectedCategory Is Nothing Then
Dim objCookie As HttpCookie = Request.Cookies("DNNEvents")
If objCookie Is Nothing Then
_SelectedCategory = ""
Else
Me.SelectedCategory = objCookie.Values("Cat" & ModuleId.ToString)
End If
End If
Return _SelectedCategory
End Get
Set(ByVal Value As String)
Try
_SelectedCategory = Value
Dim objCookie As HttpCookie = Request.Cookies("DNNEvents")
If objCookie Is Nothing Then objCookie = New HttpCookie("DNNEvents")
objCookie.Values("Cat" & ModuleId.ToString) = _SelectedCategory
Response.Cookies.Add(objCookie)
Catch ex As Exception
End Try
End Set
End Property
 
New Post
8/9/2007 6:32 PM
 

I modified the source for the newest beta (from advanced.net) and it WORKED on BikerEvents.net

THANKS!

 
New Post
8/10/2007 12:16 AM
 

Alan,

I found a localisation issue, so the events on Suterday, and Sunday will not showing up in the caleder, if you using german as language.  In europe the week is beginning on Monday and ends with the Sunday.  I am not a developer, so I can not fix this.

Regards

Matthias

i.e.: My Post on Page 2 still existing with the relase version too.  Also I have mone new startups of the EventModule in the Eventscheduler, do not know why. 

 
New Post
8/10/2007 10:14 AM
 

Hi Alan,

I found this error message for the localisation issue in the eventscheduler:

ModuleId: 753
ModuleDefId: 216
FriendlyName: Termindetails
ModuleControlSource: DesktopModules/Events/EventDetails.ascx
AssemblyVersion: 04.05.05
PortalID: 0
PortalName: Moonlight Radio
UserID: -1
UserName:
ActiveTabID: 101
ActiveTabName: Events
RawURL: /Radio/Events/tabid/101/Mid/753/ItemID/8/ctl/Details/Default.aspx?selecteddate=30.07.2007
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: b6929bd4-b32c-4cf1-bdf6-010720aea9eb
InnerException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Events.EventDetails.Page_Load
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. ---> System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. bei DotNetNuke.Modules.Events.EventDetails.Page_Load(Object sender, EventArgs e) --- Ende der internen Ausnahmestapelüberwachung ---
Source:

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsEvents Module 03.03.08 BetaEvents Module 03.03.08 Beta


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