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 ForumsEventsEventsError after upgrade to RC3: Argument Error after upgrade to RC3: Argument 'Length' must be greater or equal to zero.
Previous
 
Next
New Post
2/8/2009 10:51 PM
 

This hit me too, noticed the comment on EVT-9319, noticed I also had AutoUpgrade set to false...

 
New Post
2/9/2009 2:39 AM
 

Hi Oliver,

Delfos problem was caused by his site not having finished previous DNN upgrades, which then caused module upgrades not to occur. I'm not saying this will be the same for every instance of this error, but certainly one to look out for.

The upgrade to Events 4.1.x is a MAJOR update to the module, and makes fundamental changes to the tables. The error is caused by those changes not being completed. I have made the update non-destructive to the data, but it can leave the module unusable. I have also added coding over the last week to allow for a re-start if the upgrade times out, which it could do if there are my events on the Host.

So, if people see this error, please get in touch, and we should be able to identify the cause, and if there are still bugs, get it fixed. Make sure however, that you have a BACKUP before you upgrade. I do not intend to guide people through a manual upgrade of the data if the upgrade goes wrong, it is far too complex.

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
2/9/2009 8:18 AM
 

I can (most likely) reproduce the upgrade error if you'd like. I do have backups of the database, however it only contained 2 events from a very small website. So I got out a piece of paper, wrote them down, deleted the module via module definitions, double checked the DB tables were killed, and reinstalled the module clean from scratch.

I didn't really want to spend any time trying to figure out the cause, and from the comment in gemini I figured you guys had already tracked it down and it was a rare issue.

Let me know if you want me to re-run the upgrade and pass along some information. I'd be happy to help.

 
New Post
2/9/2009 10:04 AM
 

Hi Oliver,

The upgrade error wasn't an error within the Events module in Delfo's case. I would suspect that if you have autoupgrade=false you can have the same problem with your site. To identify:-

  • Have a look at the Versions table. If the lasted version (shown as three columns) is not the same as the version shown in Host Settings, then your DNN upgrades have not completed.
  • Have a look in the EventQueue table. If you have items showing with IsColumn=false, then module upgrades aren't running. Yes it runs the file installs, and SQLDataProvider, but it is not running the iUpgradeable processing, which is needed for the 4.1.0 Events upgrade.
  • I also noted that when you restart the application (web.config update, app Re-start Application in Host Settings) then no Application Start is logged in the event log - another symptom.

What is going on here is:-

  • When AutoUpgrade is false, and the DB version is different to the app version, the Application Start event is not triggered, and the Under Construction page is displayed.
  • Since no Application Start event is triggered, the EventQueue processing isn't run
  • Since EventQueue processing isn't run, iUpgradeable isn't run
  • Since iUpgradeable isn't run, the module fails to upgrade completely

I think when AutoUpgrade is set to false, you have to finish the DNN upgrade by accessing a specific url (I forget which). Of course you may be in a different situation, but it sounds similar.

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
9/10/2010 10:51 AM
 
I am seeing the same error (Argument 'Length' ...)  after this upgrade history:

DNN from 5.2.2 (73) to 5.5.0 (653) - (Events not showing on calendar)
Events from 3.3.8  to  5.0.3 - (Errors on the update "Invalid column name 'ModuleTitle'.")
Events from 5.0.3 to 5.1.4 - ("Argument 'Length'"... appearing) 
Events "Repair" 5.1.4 - ("Argument 'Length'"... still present) 

I ran the queries you suggested:

select recurmasterid, rrule, eventname from eventsrecurmaster
recurmasterid rrule eventname
2 Dummy  
3 Dummy  
4   sub committe meeting

select eventid, eventname, repeattype, every, period from events where recurmasterid = 1
(no records)

Should I delete one of the "Dummy" records?
Are there other steps I can to to repair the installation and retrieve the historic records?
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsError after upgrade to RC3: Argument Error after upgrade to RC3: 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