Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Hugo Santos 1 post 1 karma points
    Mar 10, 2015 @ 20:18
    Hugo Santos
    0

    Umbraco 7.2.1 Authentication/PostLogin 500

    I have AD authentication configured with an extended ActiveDirectoryMembershipProvider.

    My code runs good and in method public override bool ValidateUser(string username, string password) i'm returning true so the user is validated to login, but when using the backoffice login screen i'm not notified that an error occured and using google chrome developer tools i can see an error 500 in the umbraco/backoffice/UmbracoApi/Authentication/PostLogin 500 (Internal Server Error) .

    with the json result: {"Message":"An error has occurred."}.

    The turning point is that this error does not occur when i have a certain user in the application pool(iis).

    Can you please help? I'm not understanding why the user in the application pool makes a diffenrence when my custom AD provider is returning that the user is valid. So i'm not understanding why i'm getting this error.

     

    Any ideas where i can look?

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Mar 11, 2015 @ 12:09
    Jeroen Breuer
    0

    Hello,

    Last time I had this the connection string was wrong. So make sure you can connect to your database.

    You could also check the logs in /App_Data/Logs.

    Jeroen

  • Punit Sharma 27 posts 96 karma points
    Aug 28, 2023 @ 10:35
    Punit Sharma
    0

    I am facing this issue from backoffice login.

    enter image description here

Please Sign in or register to post replies

Write your reply to:

Draft