Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Trouble deploying on server #6586


User avatar
0
pstgi created

The DB is set up correctly (ran Migrator) and Swagger is displaying correctly. However when I try Authorize, it returns a 500 Internal Server Error with this content:

{"result":null,"targetUrl":null,"success":false,"error":{"code":0,"message":"InternalServerError","details":null,"validationErrors":null},"unAuthorizedRequest":false,"__abp":true}

Likewise, when running the application, files are loading up to the call to GetAll http://mydomain.com/AbpUserConfiguration/GetAll?d=1551706554324 same JSON response as above.

What is strange is that logs.txt doesn't have any new entry (only older) related to this error, and server's event log doesn't have any error either.

Where can I look further to debug this?


4 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @pstgi

    There might be a problem about your connection string. You can check App_Data/Logs.txt file under your website to see the error details.

  • User Avatar
    0
    pstgi created

    The connection string is the same in the Migrator appsettings and in the application's appsettings.

    And as I wrote, logs.txt has no error or any other new entry.

  • User Avatar
    0
    aaron created
    Support Team

    Then the server user probably does not have permission to write to Logs.txt.

  • User Avatar
    0
    pstgi created

    Thanks, that actually was the cause for the log (don't know how that happened) and the DB connection string was only working when manually starting the Migrator.