Ventrian Product Forums

We've moved our Product Forums!
To better assist our customers, we've moved to an integrated knowledge base and ticketing system. You can access the new forums at http://support.ventrian.com.
Subject: Parameter count does not match Parameter Value count.
Prev Next
You are not authorized to post a reply.

Author Messages
georgeUser is Offline
Registered Users
Ventrian Addict
Ventrian Addict
Posts:62

2/12/2010 10:56 AM  

I recently upgraded to DNN 5.2.2.  After the upgrade I attempted to upgrade the News Article module ot the latest version.  After the install I am getting the following error.  Any help would be greatly appreciated.

Server Error in '/' Application.

Parameter count does not match Parameter Value count.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Parameter count does not match Parameter Value count.

Source Error:


The source code that generated this unhandled exception can only be
shown when compiled in debug mode. To enable this, please follow one of
the below steps, then request the URL:<br /><br />1. Add a "Debug=true" directive at the top of the file that generated the error. Example:<br /><br /> &nbsp;&nbsp;<%@ Page Language="C#" Debug="true" %><br /><br />or:<br /><br />2) Add the following section to the configuration file of your application:<br /><br /><configuration><br /> &nbsp;&nbsp;&nbsp;<system.web><br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<compilation debug="true"/><br /> &nbsp;&nbsp;&nbsp;</system.web><br /></configuration><br /><br />
Note that this second technique will cause all files within a given
application to be compiled in debug mode. The first technique will
cause only that particular file to be compiled in debug mode.<br /><br />Important:
Running applications in debug mode does incur a memory/performance
overhead. You should make sure that an application has debugging
disabled before deploying into production scenario.

Stack Trace:

[ArgumentException: Parameter count does not match Parameter Value count.]
Microsoft.ApplicationBlocks.Data.SqlHelper.AssignParameterValues(SqlParameter[] commandParameters, Object[] parameterValues) +146
Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) +228
Ventrian.NewsArticles.SqlDataProvider.GetArticleListBySearchCriteria(Int32 moduleID, Int32[] categoryID, Boolean matchAll, Int32 maxCount, Int32 maxAge, Boolean isApproved, Boolean isDraft, DateTime startDate, String keywords, Boolean showPending, Boolean showExpired, Int32 authorID, Boolean showFeaturedOnly, Boolean showNotFeaturedOnly, String sortBy, String sortDirection, Int32 month, Int32 year) +2324
Ventrian.NewsArticles.ArticleController.GetArticleList(Int32 moduleID, Int32[] categoryID, Boolean matchAll, Int32 maxCount, Int32 maxAge, Boolean isApproved, Boolean isDraft, DateTime startDate, String keywords, Boolean showPending, Boolean showExpired, Int32 authorID, Boolean showFeaturedOnly, Boolean showNotFeaturedOnly, String sortBy, String sortDirection, Int32 month, Int32 year) +121
Ventrian.NewsArticles.LatestArticles.BindArticles() +4007
Ventrian.NewsArticles.LatestArticles.Page_Load(Object sender, EventArgs e) +99

[ModuleLoadException: Error: Latest Articles is currently unavailable.]
DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, Control ctrl, Exception exc, Boolean DisplayErrorMessage) +381
DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(Control ctrl, Exception exc, Boolean DisplayErrorMessage) +185
DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(Control ctrl, Exception exc) +34
DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase objPortalModuleBase, Exception exc) +5
Ventrian.NewsArticles.LatestArticles.Page_Load(Object sender, EventArgs e) +197
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

[PageLoadException: Error: Latest Articles is currently unavailable.]
DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +277
DotNetNuke.Framework.PageBase.OnError(EventArgs e) +394
System.Web.UI.Page.HandleError(Exception e) +84
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6776
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242
System.Web.UI.Page.ProcessRequest() +80
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.default_aspx.ProcessRequest(HttpContext context) +4
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:21233


2/12/2010 1:16 PM  
When you upgraded News Articles - did you get errors? It looks like the SQL is out of synch.

Please contact support@ventrian.com with a host login to your site.

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > Modules > News Articles > Parameter count does not match Parameter Value count.



ActiveForums 3.7
We've moved our Product Forums!
To better assist our customers, we've moved to an integrated knowledge base and ticketing system. You can access the new forums at http://support.ventrian.com.