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 adding eventError adding event
Previous
 
Next
New Post
8/1/2011 6:20 PM
 
I upgraded from a (very old) version of Events to version 5.1.5. DNN is version 5.2.3. There was a timeout during the install, but another try installed correctly (at least, there were no errors displayed)

When adding a new event the following error occurs:

DotNetNuke.Services.Exceptions.ModuleLoadException: Parameter count does not match Parameter Value count. ---> System.ArgumentException: Parameter count does not match Parameter Value count. at Microsoft.ApplicationBlocks.Data.SqlHelper.AssignParameterValues(SqlParameter[] commandParameters, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Modules.Events.SqlDataProvider.EventsRecurMasterSave(Int32 RecurMasterID, Int32 ModuleID, Int32 PortalID, String RRULE, DateTime DTSTART, String Duration, DateTime Until, String EventName, String EventDesc, Int32 Importance, String Notify, Boolean Approved, Boolean Signups, Int32 MaxEnrollment, Int32 EnrollRoleID, Double EnrollFee, String EnrollType, String PayPalAccount, Boolean DetailPage, Boolean DetailNewWin, String DetailURL, String ImageURL, String ImageType, Int32 ImageWidth, Int32 ImageHeight, Boolean ImageDisplay, Int32 Location, Int32 Category, String Reminder, Int32 TimezoneOffset, Boolean SendReminder, Int32 ReminderTime, String ReminderTimeMeasurement, String ReminderFrom, String CustomField1, String CustomField2, Boolean EnrollListView, Boolean DisplayEndDate, Boolean AllDayEvent, String CultureName, Int32 OwnerID, Int32 CreatedByID, Int32 UpdatedByID) at DotNetNuke.Modules.Events.EventRecurMasterController.EventsRecurMasterSave(EventRecurMasterInfo objEventRecurMaster) at DotNetNuke.Modules.Events.EditEvents.UpdateProcessing(Int32 ProcessItem) at DotNetNuke.Modules.Events.EditEvents.updateButton_Click(Object sender, EventArgs e)

Anyone any ideas of what might be wrong? (and how I can correct this).
 
New Post
8/2/2011 7:30 AM
 
Hi Rob,

What this means is that somewhere in your upgrade process it failed (you said it timed out). So the code you have deployed is out of line with the state of the database.

To effectively recover from this without restoring from a backup you need to be specific about where it failed. During the upgrade it runs a sequence of SQL updates, so you need to know which one it failed in and you can then probably run the appropriate updates to complete the upgrade.

Without knowing this, your best bet is probably to go back to a previous backup and run the upgrades again.

You may also wish to consider doing the updates in stages, depending on where you have started from. Possible stages are:-
  • 4.0.2
  • 5.0.3
  • 5.1.5
  • 5.2.0

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 adding eventError adding event


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