Last post Nov 27, 2017 07:17 AM by Billy Liu
Nov 25, 2017 03:53 PM|JackJackIOT|LINK
I recently took over development on a project that uses ASP.NET / WebForms and a C# backend (client/server application) and we found a weird issue.
The previous developers had the platform working and then it broke, they informed us it no-longer would work in IIS correctly. To get a basic test platform up I ran both the server and client application in the IDE to test and opened the port up so we could
get access from external machines in the office.
The platform has a custom set of error pages and at the most random of times we will get the "Whoops! Our servers are busy right now" error page when trying to access the login page.
Yesterday we had access to the platform with no issue now today if I try to get access to the same page we instantly get redirected from "https://dashboard.[REDACTED].com/login" > "https://dashboard.[REDACTED].com/ErrorPage/Error.html?aspxerrorpath=/login"
I've scratched my head and tried working out where I'm going wrong but now I'm coming to you guys!
Nov 25, 2017 05:40 PM|PatriceSc|LINK
More likely exception details are still written to the event log if you have access to it. It could be basically anything and it is much easier to start from some actual error message.
Nov 27, 2017 07:17 AM|Billy Liu|LINK
Do you want to know why the page redirected?
I think you could try to remove the custom error page setting in the Web.Config.
Then you could check the error message when the error occurs.
Or you could try to add error logging in your application: