Rank: Administration Groups: Administration
, Beta tester, Member
Joined: 5/22/2006 Posts: 167 Points: 291 Location: Netherlands
|
If the Role Manager error occurs you can add this to your web.config:
(make sure you backup this file before editing)
<roleManager cacheRolesInCookie="true" cookieName=".ASPXROLES" cookieTimeout="30" cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true" createPersistentCookie="false" cookieProtection="All"> <providers> <add name="DNNSQLRoleProvider" type="DotNetNuke.Security.Role.DNNSQLRoleProvider, DNNSQLRoleProvider" connectionStringName="SiteSqlServer" applicationName="/" description="Stores and retrieves roles data from the local Microsoft SQL Server database" /> </providers> </roleManager>
Add this after section: ......... </membership> <roleManager .....
|
Rank: Newbie Groups: Member
Joined: 1/31/2008 Posts: 1 Points: 3 Location: Italy
|
Hi, I tried to add the script in my web.config but It doesnt'work When I try to check i.e. "Subscribers" role, and send an e-mail I receive always "Error: DNNMassMail is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: The Role Manager feature has not been enabled. ---> System.Configuration.Provider.ProviderException: The Role Manager feature has not been enabled. at System.Web.Security.Roles.GetUsersInRole(String roleName) at FRENTONLINE.Modules.DNNMassMail.DNNMassMail.cmdSend_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---"
If I put an e-mail address in the "email list" field, the module works fine! Where is the mistake? Thank You Fabrizio
|
Rank: Newbie Groups: Member
Joined: 12/19/2008 Posts: 1 Points: 3 Location: United Kingdom
|
I agree. I can't get this to work. I get exactly the same error. Regards David
|