Learn More





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 ...Lost Host Account AccessLost Host Account Access
New Post
5/7/2013 8:13 AM

So, I've plagued these forums the last couple of days, but here I go again. I've recently taken over a website using DNN 4.08. No one seems to know or have documentation of what the host account password is. (I didn't even know there was a host account until yesterday)

First question: the host account listed in my user accounts has the name "hostmycompany" (obviously with that last part different). Does it matter that it's not just plain "host"? (I was to make sure that that's actually the host account). 

Second question: When I try to click into the host account with my account (which has admin privileges) so I can edit it, I get a "this user account doesn't exist" error. I'd understand if I don't have the privileges to edit the account, but it doesn't exist?

Third question: How can I recover the password of the host account? I found this: But a couple of things have me confused, like, which folder is the root of the install and how do I open the file once I've uploaded it there. 

New Post
5/7/2013 8:43 AM

Generally "host" should be the account name of host account. You can programatically
get the password by using below code.

// Creating object of MembershipUser class which will take username as parameter.
MembershipUser objUser = Membership.GetUser(strUserName);
// Storing password in a string variable
string strPassword = objUser.GetPassword();

Avinash Kumar
Mindfire Solutions

New Post
5/7/2013 9:07 AM



First of all I want to know that if you have access to database, if yes  then  follow this setps

1         go to your dotnetnuke database

2         search for  users table in database

3         in user table  check that  against your user name  value of “ IsSuperUser “ . if it is  then you are a super user  and  it is 0 then update it to 1 then you will have host previlllage


Alternate you can create a  user  and update is as super user using above  process 



New Post
5/7/2013 9:08 AM

So since I don't have an account called "host"... Did someone delete it? (If so, is there a way to recover it?) Or do I just have a weird host name? 

That code you just gave, where do I put it? 

New Post
5/7/2013 9:12 AM
manish singh,

Are you talking about the databases found on the web host account? I have two databases listed, one is a MySQL and one is SQL. I assume it'd be the MySQL one. I could get access to that, although I don't have it currently. Thanks. 

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Lost Host Account AccessLost Host Account Access

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.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?