Boskone
  •  Boskone
  • 100% (Exalted)
  • YAF MVP Topic Starter
2011-06-15T00:43:52Z
Hi. tha_watcha I want to say thanks for all the work you have done with YAF and DNN. Great job.

I am getting an error in the error logs when a newly registered user goes to the forum.

Message: DotNetNuke.Services.Exceptions.ModuleLoadException: The user 'zcarglen' is already in role 'Registered Users'. ---> System.Configuration.Provider.ProviderException: The user 'zcarglen' is already in role 'Registered Users'. at System.Web.Security.SqlRoleProvider.AddUsersToRolesCore

This only happens once per user so it is not that serious, but it does give the new user a perception that the website is not professional.

Thanks for looking into this.
Boskone - A DotNetNuke user.
RDSCC 
Sponsor
tha_watcha
2011-06-17T14:34:31Z
i am not sure why there is an exception thrown before the AddUserToRole it checks if IsUserInRole.

I know that it is really bad coding to add an empty catch handler to it but at least that prevents throwing the error.

When i am able to reproduce it i find a better solution for that.
UserPostedImage

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved