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 ...Same username, different portals?Same username, different portals?
Previous
 
Next
New Post
9/29/2006 8:11 AM
 
Rod - I answered in your other thread.
 
New Post
9/29/2006 10:57 AM
 
lneville wrote
I don't think anything is corrupted. It is possible to register a user using a username that is already registered in another portal. This is what you do (this works in DNN 3.3.4 and I think it worked under previous versions also):

The user must register in portal #2 with the same username AND password as they have in portal #1. Other details (such as email address) do not seem to have to match.

If the username and password match an existing account in portal #1, membership of portal #2 is added to the existing account. A new account is actually not created, and you can verify this by seeing that the user's ID number is the same in the Edit User page on both portals.

Thereafter, changes to the User Credentials (First Name, Last Name, Display Name, Email Address and Password) on portal #1 also apply to portal #2 (because it is the same user account in both portals).


Thank you for the reply.  It has helped me understand the problem a bit more, but I am still unable to fix it.  My corruption is limited to the two accounts that were in use in the portal that was deleted:  "admin" and "craig".  I am still able to register with usernames, other than those two, in the new portal.

I did a bit more experimenting.  It appears that the username/password/last edited, etc information was deleted from the database for both my admin account and my "craig" account.  All other information is still in the database.  E.g. my "craig" account in particular has thousands of posts, owns photos in my galleries, has all profile properties, etc.  I just can't login with that account anymore apparently because it has no entry in whatever table is responsible for keeping the encrypted versions of the password.

I'm wondering if I can just register a new account, and then go into the database and get the guid that represents the userid  of  my corrupt "craig" account and set the new account to use that userid.  I *believe that the username/password entry is what is missing and this would restore them.  I think the only way I'm going to get to the bottom of this is to right down the userids, applicationids, etc and comb through the database until I figure out which entry is missing for these two users.  That's why I was hoping to find someone who knew a fair amount about the DNN schemas in 3.3.4.  I'm pretty sure  that something like this  is the only way I'm going to  rescue my "admin" and "craig" accounts.

--Craig

 
New Post
9/30/2006 3:24 AM
 

I think the table where you may be missing a record is aspnet_Membership.

The record needs an application_id = application_id from aspnet_Applications where ApplicationName = 'DotNetNuke' and a user_id = user_id from aspnet_Users where username = your username

The trouble is you also have to enter values for password & passwordsalt. If you have password encryption turned on in your web.config this could be tough - maybe copy the values from another user?

Note: in past versions of DNN a user needed to have records in all the aspnet_ tables, but in the latest DNN version it looks like the only aspnet_ tables that are used are aspnet_Applications, aspnet_Users and aspnet_Membership.

Hope this helps.

 
New Post
10/17/2006 6:18 PM
 
I finally got around to fixing this last weekend and I'm happy to report that everything is good.  I was able to copy/paste the encrypted password from another user that I setup with the same password (since the encryption has to be reproducible in a one-way password encryption scheme).

Thank you very much for your help.  I appreciate it.

Craig
http://www.northwestoverlandsociety.org

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Same username, different portals?Same username, different portals?


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