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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...adding another superuseradding another superuser
Previous
 
Next
New Post
2/23/2007 8:54 PM
 

This is the answer i got from my host regarding 3.5.1

 

"No, We have never hosted that version, It is at least 4, We offer 4.3.5  at this time."

So i have no idea what version i'm using

 
New Post
2/25/2007 5:30 PM
 
I have tried the Update script you listed but nothing seems to  work.  Even a few of the pages stop working once i have more than 1 account listed as SuperUser?  I have to get this accoutn working, or crate a new working HOSt account before March 1 or someone's going to get fired.
 
New Post
2/26/2007 10:02 AM
 

I am not sure what to tell you regarding this issue.  My guess is that you might be running on 4.3.5, which my script to add a new user should work, and there shouldn't be an issue at all regarding having 2 host accounts.

If you know the password for a working regular account you could try resetting the password for the host account via SQL, I have a blog about this as well. 

You can find the username of the other host accounts using

SELECT *
FROM users
WHERE IsSuperUser = 1

 


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
2/26/2007 6:38 PM
 

I logged into a new account, just to make sure that it works.  When i run the script

 "UPDATE Users
SET IsSuperUser = 1
WHERE username = 'myUser'"

I am no longer able to login. If I change it back to False, I can log in again.

When it try to run the Add Host via SQL, i run this (I assume my problem is here)

DECLARE @ApplicationName nvarchar(256)
SET              @ApplicationName = '0' DECLARE @UserName nvarchar(256)
SET              @UserName = 'theHost' /*The new user*/ DECLARE @Password nvarchar(128)
SET              @Password = '***************************' DECLARE @PasswordSalt nvarchar(128)
SET              @PasswordSalt = '***************' DECLARE @Email nvarchar(256)
SET              @Email = 'TestingAccount@test.com' /*You can set this to whatever you want*/ DECLARE @PasswordQuestion nvarchar(256)
SET              @PasswordQuestion = '' DECLARE @PasswordAnswer nvarchar(128)
SET              @PasswordAnswer = '' DECLARE @IsApproved bit
SET              @IsApproved = 1 DECLARE @CurrentTimeUtc datetime
SET              @CurrentTimeUtc = GETDATE() DECLARE @CreateDate datetime
SET              @CreateDate = @CurrentTimeUtc DECLARE @UniqueEmail int
SET              @UniqueEmail = 0 DECLARE @PasswordFormat int
SET              @PasswordFormat = 2 DECLARE @UserId uniqueidentifier /*Make the stored procedure call*/ EXEC dbo.aspnet_Membership_CreateUser @ApplicationName,
                       @Username, @Password, @PasswordSalt, @email, @passwordquestion, @PasswordAnswer, @IsApproved, @CurrentTimeUtc, @CreateDate,
                      @UniqueEmail, @PasswordFormat, @UserId
                          /*Display the new user id*/ SELECT 'New User Account Id ', @userId
                                                      /*Insert the record into the DotNetNuke users table*/ INSERT
                                                       INTO            users(Username, FirstName, LastName, IsSuperUser, Email, DisplayName, UpdatePassword)
                           VALUES     (@Username, 'New', 'Account', 1,@Email, 'New Account', 0)

 

I get the error "invalid column name: DisplayName"

 
New Post
2/28/2007 8:07 PM
 
Is there anything in the web.config ....or in the SQL table that I can get to that would Turn off the requirement that HOST functions bevisible only when logged in as Host, then I could add a new superuser via the system, then turn that Requirement back on??????
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...adding another superuseradding another superuser


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