Products

Solutions

Resources

Partners

Community

About

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 ForumsEventsEventsError After Upgrade: Argument Error After Upgrade: Argument 'Length' must be greater or equal to zero
Previous
 
Next
New Post
6/11/2009 10:43 AM
 

I restored to pre-upgrade, set the AutoUpgrade setting to true in web.config and reran the upgrade. Same errors.

Why is it doubling the size of my database!!!

This time I am going to try this:

Restore pre-upgrade, remove extra version line with 5.0.0, then rerun upgrade. Will report results.

 
New Post
6/11/2009 11:07 AM
 

Nope, that didn't work either.  I removed the extra line from the version file before the install. I set AutoUpgrade to true.  There were no errors during the installation and none for the installation in the log.  After the installation when I hit return there is an extremely long wait before I can get to another page; I assume it recompiling.  But when I go to the calendar page I get both the cross-site scripting message in the information bar, as well as the error "Argument 'Length' must be greater or equal to zero."  Copying the event log message below:

AssemblyVersion: 5.0.1
PortalID: 38
PortalName: Northwest Community Unitarian Universalist Church
UserID: 1
UserName: host
ActiveTabID: 1319
ActiveTabName: NWCUUC Calendar
RawURL: /nwcuucorg/NewsEvents/NWCUUCCalendar/tabid/1319/Default.aspx
AbsoluteURL: /nwcuucorg/Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; Comcast Install 1.0; GTB6; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.21022; .NET CLR 3.5.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; MS-RTC LM 8; .NET CLR 3.0.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 59111799-7f55-4b8b-8aac-93c255088df8
InnerException: Argument 'Length' must be greater or equal to zero.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Microsoft.VisualBasic.Strings.Left
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Argument 'Length' must be greater or equal to zero. ---> System.ArgumentException: Argument 'Length' must be greater or equal to zero. at Microsoft.VisualBasic.Strings.Left(String str, Int32 Length) at DotNetNuke.Modules.Events.EventRecurMasterController.DecomposeRRULE(String strRRULE, DateTime DTStart) at DotNetNuke.Modules.Events.TokenReplaceControllerClass.TokenReplaceEvent(EventInfo eventInfo, String sourceText, Dictionary`2 dict, EventSignupsInfo eventSignupsInfo, Boolean addsubmodulename) at DotNetNuke.Modules.Events.EventMonth.EventCalendar_DayRender(Object sender, DayRenderEventArgs e) at System.Web.UI.WebControls.Calendar.OnDayRender(TableCell cell, CalendarDay day) at DotNetNuke.Events.WebControls.DNNCalendar.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.UpdatePanel.RenderChildren(HtmlTextWriter writer) at System.Web.UI.UpdatePanel.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) at DotNetNuke.UI.Modules.ModuleHost.RenderContents(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at ASP.portals__default_containers_minimalist_blue_glass_container08_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in C:\inetpub\wwwroot\nwcuucorg\Portals\_default\Containers\Minimalist-Blue-Glass\Container08.ascx:line 12 at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at ASP.portals__default_skins_minimalist_blue_glass_horizontal_standard_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in C:\inetpub\wwwroot\nwcuucorg\Portals\_default\Skins\Minimalist-Blue-Glass\Horizontal-Standard.ascx:line 164 at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.HtmlControls.Htmlform.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.Htmlform.Render(HtmlTextWriter output) at System.Web.UI.HtmlControls.Htmlform.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at ASP.default_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in C:\inetpub\wwwroot\nwcuucorg\Default.aspx:line 4 at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Page.Render(HtmlTextWriter writer) at DotNetNuke.Framework.PageBase.Render(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: KEWLGEEK

I can't think of anything else to try.  I can keep doing restores and reattempt another install if you can tell me what to do differently this time.

Thanks.
Karin

 
New Post
6/11/2009 11:14 AM
 

I was able to install the Events upgrade on different web site which has a much smaller number of events, but it also almost doubled that database size too.  I'm wondering ig it has to do with the number of events?  Also there are lots of recurring events that extend out to the year 2099 in the website that fails.  Is it maybe creating a separate event for every recurrence and that's why it's making my database's size jump in size so much?

 
New Post
6/11/2009 12:05 PM
 

Hi,

Yes it creates a new record for each recurrence of an event. It has been a major failing in the past that the module cannot support flexibility around recurring events, so this is a major step forward in flexibility.

I would recommend that you cut back your recurrence end date to something closer to the real lifespan of your web site. 10 years maybe?

It could be that your upgrade is failing because it is running too long, try looking in the Event Log and see if there are any errors. In particular look for the upgrade notification for version 4.1.0 (since that is the one doing all the major work).

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
6/11/2009 12:05 PM
 

Hi,

Yes it creates a new record for each recurrence of an event. It has been a major failing in the past that the module cannot support flexibility around recurring events, so this is a major step forward in flexibility.

I would recommend that you cut back your recurrence end date to something closer to the real lifespan of your web site. 10 years maybe?

It could be that your upgrade is failing because it is running too long, try looking in the Event Log and see if there are any errors. In particular look for the upgrade notification for version 4.1.0 (since that is the one doing all the major work).

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 ForumsEventsEventsError After Upgrade: Argument Error After Upgrade: Argument 'Length' must be greater or equal to zero


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