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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Site Settings is currently unavailableSite Settings is currently unavailable
Previous
 
Next
New Post
7/24/2008 7:53 AM
 

hello,

I am getting the following error when logged in as a site host and trying to view site setting;-

DotNetNuke.Services.Exceptions.ModuleLoadException: The role 'Administrators' was not found. ---> System.Configuration.Provider.ProviderException: The role 'Administrators' was not found. at System.Web.Security.SqlRoleProvider.GetUsersInRole(String roleName) at System.Web.Security.Roles.GetUsersInRole(String roleName) at DotNetNuke.Security.Roles.RoleController.GetUsersInRole(Int32 PortalID, String RoleName) at DotNetNuke.Modules.Admin.PortalManagement.SiteSettings.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

 

I also get the following error when I try to log in as an administrator;-

A critical error has occurred.
Object reference not set to an instance of an object.

 

And finally the following error occurs when I try to manage users in roles;-

Error: User Roles is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The role 'Administrators' was not found. ---> System.Configuration.Provider.ProviderException: The role 'Administrators' was not found. at System.Web.Security.SqlRoleProvider.GetUsersInRole(String roleName) at System.Web.Security.Roles.GetUsersInRole(String roleName) at DotNetNuke.Security.Roles.RoleController.GetUsersInRole(Int32 PortalID, String RoleName) at DotNetNuke.Modules.Admin.Security.SecurityRoles.BindGrid() at DotNetNuke.Modules.Admin.Security.SecurityRoles.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

 

 

I have had a look at the database, the tables;-

dotnetnuke4_UserRoles

dotnetnuke4_Users

dotnetnuke4_Roles

 

Are in order as far as I can see as follows;-

 

dotnetnuke4_Users

134 adminlogin admin guy False NULL xxx@xxxx.com
1 host SuperUser Account True NULL xxx@xxxx.org.uk
NULL NULL NULL NULL NULL NULL NULL

 

dotnetnuke4_UserRoles

267 134 1 NULL NULL
268 134 2 NULL NULL
269 134 0 NULL NULL
NULL NULL NULL NULL NULL

USER: host/SuperUser has not got any roles defined in the UserRoles table

dotnetnuke4_Roles

0 0 Administrators Portal Administration 0.0000 M -1 N -1 0.0000 False False
1 0 Registered Users Registered Users 0.0000 M -1 N -1 0.0000 False True
2 0 Subscribers A public role for portal subscriptions 0.0000 M -1 N -1 0.0000 True True
4 1 Administrators Portal Administrators 0.0000 M 0 N 0 0.0000 False False
5 1 Registered Users Registered Users 0.0000 M 0 N 0 0.0000 False True
6 1 Subscribers A public role for portal subscriptions 0.0000 M -1 N -1 0.0000 True True
7 0 newsletter dist test test dist for newsletter 0.0000 N 1 N 1 0.0000 False False
9 0 photos loads photos to gallery 0.0000 N 1 N 1 0.0000 False False
NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

 

The look of things in the database as shown indicates as far as I can tell that everything shouldbe working perfectly. What am I missing?

 

Thank you...

 
New Post
7/24/2008 8:18 AM
 

there are no role assignments for portal 1, if possible, I suggest to delete the portal and recreate.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Site Settings is currently unavailableSite Settings is currently unavailable


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