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 ...Unable to Create Portal, Parameter Count Does Not MatchUnable to Create Portal, Parameter Count Does Not Match
Previous
 
Next
New Post
1/10/2014 8:58 PM
 

Trying to add a new portal.

Get the following error:

Error parsing Portal TemplateParameter count does not match Parameter Value count. at Microsoft.ApplicationBlocks.Data.SqlHelper.AssignParameterValues(SqlParameter[] commandParameters, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Security.Membership.Data.SqlDataProvider.AddRole(Int32 portalId, Int32 roleGroupId, String roleName, String description, Single serviceFee, String billingPeriod, String billingFrequency, Single trialFee, Int32 trialPeriod, String trialFrequency, Boolean isPublic, Boolean autoAssignment, String rsvpCode, String iconFile, Int32 createdByUserID, Int32 status, Int32 securityMode) at DotNetNuke.Security.Membership.DNNRoleProvider.CreateRole(RoleInfo role) at DotNetNuke.Security.Roles.Internal.RoleControllerImpl.AddRole(RoleInfo role, Boolean addToExistUsers) at DotNetNuke.Security.Roles.Internal.RoleControllerImpl.AddRole(RoleInfo role) at DotNetNuke.Entities.Portals.PortalController.CreateRole(RoleInfo role) at DotNetNuke.Entities.Portals.PortalController.ParseRoleGroups(XPathNavigator nav, Int32 portalID, Int32 administratorId) at DotNetNuke.Entities.Portals.PortalController.ParseTemplate(Int32 PortalId, String TemplatePath, String TemplateFile, Int32 AdministratorId, PortalTemplateModuleAction mergeTabs, Boolean IsNewPortal, LocaleCollection& localeCollection) at DotNetNuke.Entities.Portals.PortalController.CreatePortal(String portalName, UserInfo adminUser, String description, String keyWords, PortalTemplateInfo template, String homeDirectory, String portalAlias, String serverPath, String childPath, Boolean isChildPortal)

The portal is created but with no site alias, and you can't manage it.

I was using 7.1. Upgraded to 7.2 and still get the same error.

An ideas?

 

 

 

 

 

 

 

 

 
New Post
1/11/2014 9:31 AM
 
there seem to be a mismatch between the code (DotNetNuke.dll) and the signature of stored procedure AddRole. Please check upgrade scripts and ensure, the stored procedure has been properly upgraded. check /bin/DotNetNuke.dll and make sure, it is the proper version.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/12/2014 11:42 PM
 
Sebastian,
Thanks for the feedback.
I've just checked though. I have a new install of 7.02 on my notebook, so compared it to my production install, and the AddRole Stored Proc and the Dotnetnuke.dll are same in both installations.

I also checked and on my dev install I can add new portals without issue.
 
New Post
1/13/2014 4:11 AM
 
this is odd, I don't have another explanation for the error, sorry.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/1/2014 4:07 AM
 
I finally found the answer. In web.config change:








To:







 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Unable to Create Portal, Parameter Count Does Not MatchUnable to Create Portal, Parameter Count Does Not Match


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out