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 ForumsEventsEventsA happy event: DNN Events 6.2.0 is released!A happy event: DNN Events 6.2.0 is released!
Previous
 
Next
New Post
2/6/2015 2:58 AM
 

Can you recreate the error, but with the debug dll's in place? That would help to pinpint the lines of code where the error is triggered.


XCESS expertise center b.v.
Regards,
Ernst Peter
LinkedIn Profile Ernst Peter Tamminga


XCESS: DNN/Evoq specialist, zie www.xcess.nl

Events 7.0.1 - Released
Reports 6.1.0 - Released
 
New Post
2/6/2015 8:30 AM
 
Here you go:.

Message:Parameter count does not match Parameter Value count.
StackTrace:
InnerMessage:Parameter count does not match Parameter Value count.
InnerStackTrace:
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.EventsSignupsMyEnrollments(Int32 moduleId, Int32 userId, Int32 socialGroupId, String categoryIDs, DateTime beginDate, DateTime endDate) in C:\DDrive\Develop\DNNEvents\DNN6EventsDEV\DesktopModules\Events\Components\SqlDataProvider.vb:line 208
at DotNetNuke.Modules.Events.EventSignupsController.EventsSignupsMyEnrollments(Int32 moduleID, Int32 userID, Int32 socialGroupId, String categoryIDs, DateTime beginDate, DateTime endDate) in C:\DDrive\Develop\DNNEvents\DNN6EventsDEV\DesktopModules\Events\Components\EventController.vb:line 1533
at DotNetNuke.Modules.Events.EventMyEnrollments.BindData() in C:\DDrive\Develop\DNNEvents\DNN6EventsDEV\DesktopModules\Events\EventMyEnrollments.ascx.vb:line 90
 
New Post
2/6/2015 8:40 AM
 
The procedure is expecting just 3 paramter, but gets called in EventMyEnrollments /Events controller with additional paramterrs for CategoryID, BeginDate and EndDate. It looks like you haven't got installed latest version of the stored procedure.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/6/2015 8:48 AM
 
Not going to dispute it. Looking at the source code 06.02.00.SqlDataProvider it looks like I match what the script should have done.

/** EventsSignupsMyEnrollments **/
CREATE PROCEDURE {databaseOwner}[{objectQualifier}EventsSignupsMyEnrollments]
(
@ModuleID int,
@UserID int,
@SocialGroupId int
)
AS
BEGIN
SET NOCOUNT ON;
SET DATEFORMAT mdy;

SELECT s.EventID,
s.SignupID,
s.ModuleID,
s.Userid,
s.Approved,
u.displayName as UserName,
u.Email,
c.EventTimeBegin,
DATEADD(mi, c.Duration, c.EventTimeBegin) as EventTimeEnd,
c.EventName,
c.Importance,
c.Approved as EventApproved,
c.MaxEnrollment,
( SELECT SUM(NoEnrolees)
FROM {databaseOwner}[{objectQualifier}EventsSignups]
WHERE EventID = c.EventID AND c.Signups = 1
) as Enrolled,
PayPalStatus,
PayPalReason,
PayPalTransID,
PayPalPayerID,
PayPalPayerStatus,
PayPalRecieverEmail,
PayPalUserEmail,
PayPalPayerEmail,
PayPalFirstName,
PayPalLastName,
PayPalAddress,
PayPalCity,
PayPalState,
PayPalZip,
PayPalCountry,
PayPalCurrency,
PayPalPaymentDate,
PayPalAmount,
PayPalFee,
NoEnrolees,
r.EventTimeZoneId,
AnonEmail,
AnonName,
AnonTelephone,
AnonCulture,
AnonTimeZoneId,
S.FirstName,
S.LastName,
S.Company,
S.JobTitle,
S.ReferenceNumber,
S.Street,
S.PostalCode,
S.City,
S.Region,
S.Country
FROM {databaseOwner}[{objectQualifier}EventsRecurMaster] AS r RIGHT OUTER JOIN
{databaseOwner}[{objectQualifier}Events] AS c ON r.RecurMasterID = c.RecurMasterID RIGHT OUTER JOIN
{databaseOwner}[{objectQualifier}EventsSignups] AS s LEFT OUTER JOIN
{databaseOwner}[{objectQualifier}Users] AS u ON s.UserID = u.UserID ON c.EventID = s.EventID LEFT OUTER JOIN
{databaseOwner}[{objectQualifier}EventsMaster] AS e ON s.ModuleID = e.SubEventID
Where s.Userid = @UserID AND (s.ModuleID = @ModuleID Or e.ModuleID = @ModuleID)
AND (r.SocialGroupId = @SocialGroupId or (r.SocialGroupId is null and @SocialGroupId = 0))
ORDER BY c.EventTimeBegin desc
END
GO
 
New Post
2/6/2015 10:06 AM
 
in this case, you might have found a bug in the module. Please log the issue on codeplex, in oder the team can fix it.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsA happy event: DNN Events 6.2.0 is released!A happy event: DNN Events 6.2.0 is released!


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