Open Closed

Login Error 500 #6272


User avatar
0
s.alshammari.c created

Hi, I deploy my app to the server and I have this issue when trying to login


17 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Can you share the all app error logs?

  • User Avatar
    0
    s.alshammari.c created

    its deployed on the server . working perfectly locally

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Can you share the full app error logs?

  • User Avatar
    0
    s.alshammari.c created

    Hi,

    Can you share the full app error logs?

    where to find logs? its deployed on the server

  • User Avatar
    0
    s.alshammari.c created

    Hi,

    Can you share the full app error logs?

    where to find logs? its deployed on the server

    Here is what I found on the database [ { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": {}, "validationErrors": null } ] same as the image I sent earlier

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You can find logs in the deployed folder.

    For example:

  • User Avatar
    0
    s.alshammari.c created

    there is no Logs Folder

  • User Avatar
    0
    s.alshammari.c created

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    What's the content of Program class

    You should see a logger configuration like this

  • User Avatar
    0
    s.alshammari.c created

    Hi,

    What's the content of Program class

    You should see a logger configuration like this

    yes its there on the code and on my local computer there is a log folder. but on the server there isn't here are the folders on the server

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Could you share the full steps to reproduce? thanks.

  • User Avatar
    0
    s.alshammari.c created

    1- I changed configurations from having "localhost" to "my server ip". 2- I run the DbMigrator to create the database. 3- I publish the project and copy the generated files to the server. 4- I made new site in IIS. 5-Run the site.

    problem only with the authentication page other website component are working

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Sorry, I don't even know the UI type and ABP version of your project.

    This information is not enough to reproduce the problem.

    Could you just share a project that can reproduce the problem to make progress? my email is shiwei.liang@volosoft.com Thx

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Member

    Hi,

    For generating logs, please check https://github.com/dotnet/sdk/issues/7943

    Once check whether, IIS USER has read and write permissions to the publish folder (Try giving Full Control)

    Thanks

  • User Avatar
    0
    s.alshammari.c created

    Hi,

    Sorry, I don't even know the UI type and ABP version of your project.

    This information is not enough to reproduce the problem.

    Could you just share a project that can reproduce the problem to make progress? my email is shiwei.liang@volosoft.com Thx

    it was a server permission issue the program was not have the "write" permission to generate logs , I sent the logs to your email .

  • User Avatar
    0
    s.alshammari.c created

    i found th error in logs

    System.InvalidOperationException: No authentication handler is registered for the scheme 'Windows'. The registered schemes are: OpenIddict.Validation.AspNetCore, Identity.Application, Identity.External, Identity.TwoFactorRememberMe, Identity.TwoFactorUserId, Abp.ConfirmUser, Abp.ChangePassword, OpenIddict.Server.AspNetCore, Google, Microsoft, Twitter. Did you forget to call AddAuthentication().AddSomeAuthHandler? at Microsoft.AspNetCore.Authentication.AuthenticationService.AuthenticateAsync(HttpContext context, String scheme)

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Related: https://support.abp.io/QA/Questions/6204/windows-Authentication

    You are trying to integrate Windows login, did you configure it correctly?

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 25, 2025, 11:10