My Environment:
- Blank DNN 4.0.2 (and 4.0.3)
- MS SQL Server 2000
First: Sorry about my english, I speak swiss german much better!
In Site Settings --> Advanced Settings --> Other settings was the Combobox 'Adminstrator' empty. This looks unusually I think.
Look at the table: aspnet_UsersInRoles
I've found an empty table with two attributs UserId and RoleId.
I tried to add an entry.
Step-for-Step:
- Lookup the RoleID for 'Administrators' from table aspnet_Roles.
- Next, lookup the UserID for admin (or another user) from table aspnet_Users.
- Now insert a new entry with this ID's in table aspnet_UsersInRoles.
- After this, you can select this User in Site Settings --> Advanced Settings --> Other settings --> Adminstrator.
Now you can change the Site Settings without any errors. Also you can edit the Portal with User admin. Before, only Host works.
I don't know the origin of this error. I hope the DNN-Develepor Team's knows an answer for us and how to eliminate this behavior.