YAFLogo

Boskone
  • Boskone
  • 100% (Exalted)
  • YAF MVP Topic Starter
13 years ago
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
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
13 years ago
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.