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)
-
0
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.
-
0
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.
-
0
Then the server user probably does not have permission to write to Logs.txt.
-
0
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.