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...Upgrading DNN P...Upgrading DNN P...Error on site creation after upgrade from 6.2.9 > 7.2.2Error on site creation after upgrade from 6.2.9 > 7.2.2
Previous
 
Next
New Post
4/17/2014 9:47 AM
 

After upgrading from dnn 6.2.9 to 7.2.2 i had some issues with logon.. that i managed to resolve.

There is only one issue now i cannot seem to resolve. Every time when i want to create a portal, i get the following error message:

Error parsing Website 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.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, Int32 adminUserId, String description, String keyWords, PortalTemplateInfo template, String homeDirectory, String portalAlias, String serverPath, String childPath, Boolean isChildPortal)







When i cancel the following error message is shown in the site management screen: "A critical error has occurred. Object reference not set to an instance of an object."

Does anybody have a clue on how to resolve this?

 
New Post
4/21/2014 8:17 AM
 
I'd recommend checking the upgrade logs, particularly the database ones to see if something failed (we've seen similar issues where a 3rd party module altered a core table/added a trigger, and caused a failure) - see http://www.dnnsoftware.com/wiki/page/... for the locations of these files

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
8/1/2014 2:57 AM
 
Did you resolve this?

I"ve had this problem for ages, and haven't found a fix yet.
 
New Post
8/1/2014 4:08 AM
 
I finally found the answer. In web.config change:








To:







 
New Post
8/1/2014 5:28 PM
 

Web.config stuff disappeared in the reply:

    <roles defaultProvider="DNNRoleProvider">

      <providers>

        <clear />

        <add name="DNNRoleProvider" type="DotNetNuke.Security.Membership.DNNRoleProvider, DotNetNuke.Provider.DNNProvider" providerPath="~\Providers\MembershipProviders\DNNMembershipProvider\" />

      </providers>

    </roles>

 

    <roles defaultProvider="DNNRoleProvider">

      <providers>

        <clear/>

        <add name="DNNRoleProvider" type="DotNetNuke.Security.Roles.DNNRoleProvider, DotNetNuke" providerPath="~\Providers\MembershipProviders\DNNMembershipProvider\"/>

      </providers>

    </roles>

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Error on site creation after upgrade from 6.2.9 > 7.2.2Error on site creation after upgrade from 6.2.9 > 7.2.2


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