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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Parameter count does not match Parameter Value count.Parameter count does not match Parameter Value count.
Previous
 
Next
New Post
7/13/2009 11:57 PM
 

Hi, yesterday I installed a DNN 5.1.0 in my localhost and... no problem... Worked like a breeze... Today, when loggin in... error message: Parameter count does not match Parameter Value count. I crawled the forums but this kind of issue is usually associated with older DNN versions. The only modules I installed if I can remember were the UDT (forgot its new name), text/html, map and some others... If anybody knows how to solve this... I appreciate. Thanks.

 
New Post
7/14/2009 3:40 AM
 

please post the complete error message from associated entry in the event viewer


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/30/2009 11:04 PM
 

I just attempted the same update , but from 4.9.1, and it failed several times -- first failure occurred at 5.01.00:

00:00:03.375 -   Executing Script: 05.01.00.SqlDataProvider Error! (see 05.01.00.log for more information)

followed by a string of failures:
00:00:18.468 - Installing Optional Modules:
00:00:18.531 -   Installing Package File HTML_Community_05.01.02_Install:  Error!
00:00:19.968 - Installing Optional Providers:
00:00:19.968 -   Installing Package File AspNetMembershipProvider_05.01.01_Install:  Error!
00:00:20.281 -   Installing Package File CorePermissionProvider_05.01.01_Install:  Error!
00:00:20.468 -   Installing Package File DatabaseLoggingProvider_05.01.01_Install:  Error!
00:00:20.593 -   Installing Package File DNNMembershipProvider_05.01.01_Install:  Error!
00:00:20.656 -   Installing Package File DNNMenuNavigationProvider_05.01.00_Install:  Error!
00:00:20.750 -   Installing Package File DNNTreeNavigationProvider_05.01.00_Install:  Error!
00:00:20.859 -   Installing Package File FckHtmlEditorProvider_02.00.04_Install:  Error!
00:00:24.500 -   Installing Package File FileBasedCachingProvider_05.01.01_Install:  Error!
00:00:24.625 -   Installing Package File SchedulingProvider_05.01.00_Install:  Error!
00:00:24.718 -   Installing Package File SearchIndexProvider_05.01.00_Install:  Error!
00:00:24.859 -   Installing Package File SearchProvider_05.01.01_Install:  Error!
00:00:24.953 -   Installing Package File SolpartMenuNavigationProvider_05.01.00_Install:  Error!
00:00:25.078 - Installing Optional AuthSystems:
00:00:25.093 -   Installing Package File LiveID_01.00.01_Install:  Error!
00:00:25.171 -   Installing Package File OpenID_02.00.00_Install:  Error!
 

 

Then, when it is done, it returns to the default.aspx and returns the parameter count error:
 

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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

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.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues) +226
   DotNetNuke.Data.SqlDataProvider.UpdatePortalAlias(String PortalAlias, Int32 lastModifiedByUserID) +126
   DotNetNuke.Entities.Portals.PortalAliasController.GetPortalAliasInfo(String PortalAlias) +685
   DotNetNuke.HttpModules.UrlRewriteModule.RewriteUrl(HttpApplication app) +3339
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +1291
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

So, the upgrade package didn't work well at all on a localhost -- the previous installation was basically nothing -- just one page other than the default install page.  I use this to test the install and update process before unleashing it on a live site and then having to explain why things aren't working as expected.

Any guidance from you or others on how to proceed would be appreciated and the insights shared on this forum.

 
New Post
8/2/2009 3:12 PM
 

Hoping to add a few more details to help you guru's figure this out.
I just built a brand new machine with Windows Vista Ultimate 32bit (2.4g dual-core, 3gRam) and added AVG-Free, Visual Web Developer 2008 Express, SQL Express and then DNN 50.1.1 in that order. 

Then I created a vb project using the DNN Template and hit run. 
After going through the wizard, accepting all of the automatic and default answers, I get...

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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

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.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues) +226
   DotNetNuke.Data.SqlDataProvider.UpdatePortalAlias(String PortalAlias, Int32 lastModifiedByUserID) +179
   DotNetNuke.Entities.Portals.PortalAliasController.GetPortalAliasInfo(String PortalAlias) +827
   DotNetNuke.HttpModules.UrlRewriteModule.RewriteUrl(HttpApplication app) +3736
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +1740
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

Server Error in '/Test1' Application.

Parameter count does not match Parameter Value count.

 


Version Information: Microsoft .NET Framework Version:2.0.50727.4016; ASP.NET Version:2.0.50727.4016

 

I hope this is helpful in tracking this down.  I am off to study the code and I will post what I find as I find it.
Peace,
Colt

 

 

 



 

 
New Post
8/2/2009 11:01 PM
 

A few more details.

The DNN 5.1.1 that I installed was the starter edition.  (Enough source to write modules & skins, but not all of it).
There are no direct calls to the UpdatePortalAlias stored procedure in the source that I have.
In my sql database, the UpdatePortalAlias shows four parameters...

@PortalAliasID                       int
@PortalID                                int
@HTTPAlias                           nvarchar(20))
@LastModifiedByUserID      int

...I am out of ideas as to what to do next with the source that I have, and I don't have VS2k8, so more source won't help.
I guess I'm going to uninstall and fall back a few versions.
I'll let you all know how it goes.

Peace,
Colt

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Parameter count does not match Parameter Value count.Parameter count does not match Parameter Value count.


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