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 ForumsEventsEventsOut of Memory Error and Timeout on same page as Announcements ModuleOut of Memory Error and Timeout on same page as Announcements Module
Previous
 
Next
New Post
1/13/2009 1:21 AM
 

After adding the Announcements and the Events modules onto the same page with one Text/Html module, the server could no longer access the website which is a child portal.  It would try to load the page for several minutes before giving an out of memory error.  I uninstalled the Announcements module from the module definitions including file deletion, and that solved the problem, we are able to access the child portal again.  But, the odd thing is that in the Event Log there are no errors relating to the Announcements module.  The exceptions are reported on the Events Module.  Not sure if it's all related or if we had several different problems going on at the same time that culminated in the out of memory errors or just what is going on.  We are using DNN 4.09.00.  The announcemts module was 4.00.01 and the events module is 4.00.02.  Neither of those modules had any data entered yet.  Access to the website was lost before any announcements or events could be entered.  The Text/Html module had some basic text entered.  Nothing fancy on the page, just those three modules in standard installation sql 2000 server.   Something else to note, we have the same setup on another website which is a separate install of DNN on a different server that has only one portal, that being the main one, and the events and announcements modules behave fine on the same page.  It's just in this website where the modules are installed together on the same page in a child portal.  There are only 4 portals, three being child portals and they all have very little data if any in them right now.  Below are two of the exceptions as they were logged:

ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 04.09.00
PortalID: 1
PortalName: Demo
UserID: -1
UserName:
ActiveTabID: 59
ActiveTabName: Home
RawURL: /Default.aspx?alias=66.135.46.11/demo
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://66.135.46.11/PortalListing/tabid/85/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB5; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: e253a9b0-8581-41dc-823d-15eb88cbf3aa
InnerException: Exception of type 'System.OutOfMemoryException' was thrown.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.String.Replace
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Exception of type 'System.OutOfMemoryException' was thrown. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.String.Replace(Char oldChar, Char newChar) at System.Web.UI.Control.get_ClientID() at DotNetNuke.UI.Utilities.DNNClientAPI.EnableMinMax(Control objButton, Control objContent, Int32 intModuleId, Boolean blnDefaultMin, String strMinIconLoc, String strMaxIconLoc, MinMaxPersistanceType ePersistanceType, Int32 intAnimationFrames, String strPersonalizationNamingCtr, String strPersonalizationKey) at DotNetNuke.UI.UserControls.LabelControl.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:

and:

ModuleId: 471
ModuleDefId: 108
FriendlyName: Events
ModuleControlSource: DesktopModules/Events/Events.ascx
AssemblyVersion: 04.09.00
PortalID: 1
PortalName: Demo
UserID: -1
UserName:
ActiveTabID: 59
ActiveTabName: Home
RawURL: /Default.aspx?alias=66.135.46.11/demo
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://66.135.46.11/PortalListing/tabid/85/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB5; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: b7199157-3ba9-4e26-be7f-2506bf018cd1
InnerException: The added or subtracted value results in an un-representable DateTime. Parameter name: value
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.DateTime.AddTicks
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: The added or subtracted value results in an un-representable DateTime. Parameter name: value ---> System.ArgumentOutOfRangeException: The added or subtracted value results in an un-representable DateTime. Parameter name: value at System.DateTime.AddTicks(Int64 value) at System.DateTime.Add(Double value, Int32 scale) at System.DateTime.AddDays(Double value) at DotNetNuke.Modules.Events.EventMonth.BindDataGrid() at DotNetNuke.Modules.Events.EventMonth.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:


JOHN GIESY
DotNetNuke Hosting Expert

DotNetNuke 7 Hosting $70 /year
DNN4Less.com Team DotNetNuke  

New Post
1/13/2009 3:28 AM
 

Hi Rick,

I've set up a matching configuration and don't get this problem. I had a look at your page, and it looks like you have a problemon the page somewhere, since it shows an error at line 369 char 1. I'm not sure if this is contributing to your problem.

The events module error you are getting (the bottom one of the two), could be due to having a bad date in a cookie. I don't know how it got there, because it is also meant to store the culture so it knows what date to convert from. It may be worth deleting your cookie, and then trying again.

Your site seems to have stopped responding, so I guess you are working on it.

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
1/13/2009 4:14 AM
 

Actually, after deleting the Announcements module everything was working, so I tested again with the Announcements module v4.00.00 and tried installing the announcements and events modules on separate pages.  It was working until I placed the announcements on the home page again.  If there is an error in the code on the page, it would have to be something with the core code for  the modules as nothing is customized on the page.  The modules are placed but no content has been added.  At first, the pages load fine, but after clicking back and forth a few times between the page with the announcements module and any other page, the timeouts and memory problem starts in again. 

If there is a bad date in a cookie, how would that effect the page functioning for another user on a different computer?  Or is the announcements or events modules placing bad cookies on every visitor's computer?

It seems like it is the announcements module causing the conflict, so maybe this should be moved to the announcements module forum...


JOHN GIESY
DotNetNuke Hosting Expert

DotNetNuke 7 Hosting $70 /year
DNN4Less.com Team DotNetNuke  

New Post
1/13/2009 4:56 AM
 

Ok.  More testing.  It seems it is the events module.  The error relating to the line number is stating that "Sys" is not defined or something like that.  I uninstalled the events module and left the announcements module installed.  Even on separate pages the events module seems to be the real culprit for these various errors we are getting and the cause of the memory issue.

I checked cookies in IE and Firefox, all the cookies were fine and had no malformed data or dates.  Actually, the only cookies were two portalalias/portal cookies and the aspxanonymous cookie and nothing else.

I'd reinstall an earlier version of the events module to see if that had any problems, but the only legacy module I have for events is 3.03.07, and of course the current 4.00.02 that was installed.

For now, I'm just letting the boss know the status so far and that the events module is going to stay uninstalled for now. 

 


JOHN GIESY
DotNetNuke Hosting Expert

DotNetNuke 7 Hosting $70 /year
DNN4Less.com Team DotNetNuke  

New Post
1/13/2009 5:13 AM
 

Hi Rick,

If you can package up your site, so we can install at this end and debug against it, we can try to fix. But other than that I have been unable to replicate the issue. One other thought, have you tried testing a standard skin on that page, to see if that is causing the problem. If it is, you may be able to just send the skin, and see if I can debug what is causing the problem.

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 ForumsEventsEventsOut of Memory Error and Timeout on same page as Announcements ModuleOut of Memory Error and Timeout on same page as Announcements Module


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