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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Authentification errorAuthentification error
Previous
 
Next
New Post
6/7/2009 8:49 AM
 

Hello,

I 'm developping my specific register module, once I register a new user I make sure it is added in my specific table and in DNN's tables  aspnet_users ; aspnet_membership and users.
But when I try to login to the portal , I am not allowed,  I have an message error that  the account does not exist. I don't know what to modify else? there is any table for authentifaction??

thanks for help.

 
New Post
6/7/2009 12:36 PM
 

Hi Hajarussa,

Based upon your description, you're likely missing an entry in UserPortals to associate a particular user with a portal.

However, in virtually all conceivable circumstances, this sort of approach is the incorrect one.  For several reasons (including upgrade-compatibility, the ability to interact with multiple authentication providers, and data consistency) you should rarely -- if ever -- interface directly with the membership persistence layer directly.  Instead, you should be interacting with the DotNetNuke API (e.g., the UserController) itself for registration.

While it remains possible to roll-your-own registration in the data layer, this is going to be an approach that will be fraught with peril.  Few will be able to assist with any problems that will surely arise.  Be sure this is what you really want to do!

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
6/8/2009 5:35 AM
 

Hi Brandon Haynes  ,

Thanks for your reply. I add an entry  in UserPortals but, it doesn't work yet, (when I try to connect it tells me "Login Failed, remember that Passwords are case sensitive" so when I click on forgot password and I give my username it tells me "There was an error retrieving your password. No password was sent." I think error of smtp configuration not " username does not exist "

What can I do?

Thanks

 
New Post
6/10/2009 9:31 AM
 

Hi Hajarussa,

Quirks like these are exactly why I recommend only interfacing with DotNetNuke membership via the API.  You are certain to run into many issues that result in inconsistent behavior, and when you do run into these problems, there will be little that others will be able to do to help you.

Your best bet at this point, if you choose not to utilize the API, will be to attach a debugger to your process and step through the membership provider(s) to see why the framework is not recognizing your registered users.

I really strongly suggest you consider utilizing the API!

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
6/10/2009 9:55 AM
 

Hi Brandon,

I agree with using the API , but the problem is  I don't know how to do it?

Please can you help me more or give me some examples?

Thanks a lot.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Authentification errorAuthentification error


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