YAFLogo

Posted by: Boskone - Wednesday, 15 June 2011 02:43:52
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.

Posted by: tha_watcha - Friday, 17 June 2011 16:34:31
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.