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...User registration breaks with DNN 7 upgradeUser registration breaks with DNN 7 upgrade
Previous
 
Next
New Post
3/19/2013 7:03 PM
 

After upgrading our site (luckily we started with our test site) users are no longer able to register. After filling out the registration form they get an error:
An error has occurred.Error: is currently unavailable.

The error message in the event log is as follows:
ModuleId: -1
ModuleDefId: -1
FriendlyName: 
ModuleControlSource: DesktopModules/Admin/Security/Register.ascx
AssemblyVersion: 7.0.4
PortalID: 67
PortalName: My Site
UserID: -1
UserName: 
ActiveTabID: 2251
ActiveTabName: Login
RawURL: 
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; BOIE9;ENUS)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: a0dcb8d0-8319-46ca-a062-6cfb10afb090
InnerException: Unknown UserCreateStatus value encountered Parameter name: userRegistrationStatus
FileName: 
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Entities.Users.UserController.GetUserCreateStatus
StackTrace: 
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Unknown UserCreateStatus value encountered Parameter name: userRegistrationStatus ---> System.ArgumentException: Unknown UserCreateStatus value encountered Parameter name: userRegistrationStatus at DotNetNuke.Entities.Users.UserController.GetUserCreateStatus(UserCreateStatus userRegistrationStatus) at DotNetNuke.Modules.Admin.Users.Register.CreateUser() --- End of inner exception stack trace ---
Source: 


The user who tried to register is then actually added, but then I can't add security roles or authorize them, I get this error:

Error: is currently unavailable.DotNetNuke.Services.Exceptions.ModuleLoadException: Parameter count does not match Parameter Value count. ---> System.ArgumentException: Parameter count does not match Parameter Value count. at Microsoft.ApplicationBlocks.Data.SqlHelper.AssignParameterValues(SqlParameter[] commandParameters, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Security.Membership.Data.SqlDataProvider.UpdateProfileProperty(Int32 profileId, Int32 userId, Int32 propertyDefinitionID, String propertyValue, Int32 visibility, DateTime lastUpdatedDate) at DotNetNuke.Security.Profile.DNNProfileProvider.UpdateUserProfile(UserInfo user) at DotNetNuke.Entities.Profile.ProfileController.UpdateUserProfile(UserInfo user) at DotNetNuke.Security.Membership.AspNetMembershipProvider.UpdateUser(UserInfo user) at DotNetNuke.Entities.Users.UserController.UpdateUser(Int32 portalId, UserInfo user, Boolean loggedAction, Boolean clearCache) at DotNetNuke.Security.Roles.RoleController.AddUserRole(UserInfo user, RoleInfo role, PortalSettings portalSettings, RoleStatus status, DateTime effectiveDate, DateTime expiryDate, Boolean notifyUser, Boolean isOwner) at DotNetNuke.Modules.Admin.Security.SecurityRoles.cmdAdd_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---


PLEASE HELP!!

 

 
New Post
4/11/2013 1:10 AM
 

I know this thread is really old, but as search engines do show this answer when searching for the problem mentioned I will post an answer anyway.
I tracked the problem down to a web.config setting:

When you experience the error you probably have this in your web.config
<profiles defaultProvider="DNNProfileProvider">
<providers>
<clear />
<add name="DNNProfileProvider" type="DotNetNuke.Security.Profile.DNNProfileProvider, DotNetNuke.Provider.DNNProvider" providerPath="~\Providers\MembershipProviders\DNNProfileProvider\" />
</providers>
</profiles>

Change it to
<profiles defaultProvider="DNNProfileProvider">
<providers>
<clear />
<add name="DNNProfileProvider" type="DotNetNuke.Security.Profile.DNNProfileProvider, DotNetNuke" providerPath="~\Providers\MembershipProviders\DNNProfileProvider\" />
</providers>
</profiles>

And you can create users again.
Regards
Reto

 

 
New Post
5/13/2013 9:15 AM
 
Reto Cossalter wrote:

Change it to "DotNetNuke.Security.Profile.DNNProfileProvider, DotNetNuke"



This solved my issue.
Many thanks, Reto! :)
 
New Post
9/2/2013 8:51 AM
 

I had to modify AspNetMembershipProvider too, from

<add name="AspNetMembershipProvider" type="DotNetNuke.Security.Membership.AspNetMembershipProvider, DotNetNuke.Provider.AspNetProvider" providerPath="~\Providers\MembershipProviders\AspNetMembershipProvider\" />

 

to

 

<add name="AspNetMembershipProvider" type="DotNetNuke.Security.Membership.AspNetMembershipProvider, DotNetNuke" providerPath="~\Providers\MembershipProviders\AspNetMembershipProvider\" />

 
New Post
10/29/2013 3:13 PM
 
This is why I 100% think "bumping" old forum posts or locking old forum posts only hurts people.


Doing the above two steps solved my issue.



Thanks gentlemen.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...User registration breaks with DNN 7 upgradeUser registration breaks with DNN 7 upgrade


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