DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Login.aspx not working

 3 Replies
 2 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 14
New Around Here

My site uses popups for login, registration etc. and they all work fine. Only when the session times out or when I directly navigate to /login.aspx, I get the message "Login Failed. Please remember that passwords are case sensitive." (with the same username / password of course). The admin log only states a login failure. Both, the login.aspx and the popup, use the same login link:

Login

This is on my local dev box only. I believe it is happening, because I upgraded a module to use Boostrap 5.

Veteran Member
Posts: 838
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
This does not sound like a BS upgrade thingy.
There is a really easy check: set the login page on Xcillion and remove the module that relies on BS5. That way you know for sure.
What I think is happening, is what happened to me a thousand times: your browser stored a login/password from another setup and fills the login control for you. If that's the case, you need to delete those logins from the browser history
New Around Here
Posts: 14
New Around Here

Thank you Tycho. I triple checked the cached password - that's not it. Then I wanted to try a different theme - since I would have to install Xcillion first, I used Aphelia. Now I get "ERR_TOO_MANY_REDIRECTS", I will post a separate question for that. Maybe you have another idea. I guess I could install the source code and debug into DotNetNuke.Modules.Admin.Authentication.DNN.Login to see what is going on, but maybe there is an easier way.

New Around Here
Posts: 14
New Around Here

I am such a moron... I had forgotten the very basics of WebFORMS and introduced a element with Bootstrap 5 - which I copied from the Bootstrap examples. Debugging Login.ascx.cs showed that txtUsername.Text and txtPassword.Text were empty, which was the only symptom.

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. 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.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved