Try removing the try catch statement and then check your log file.
Looks like there is some error, please make sure that you can see runtime errors. So, change settings in web.config file to see errors and remove try catch block as mentioned by Oskar.
If you're on the DXC rather than changing the log files you should get Episerver to turn on Error logging and then use the PASS portal to see the web server errors streamed from the production server. This would be better than changing the web.config and even if you change the web.config sometimes the Azure config will stop you seeing application errors on the DXC in my expereince.
You can also have a look into New relic application. It shows application and environment errors which sometimes are not captured in application logs in detailed.
Yes although it's worth nothing this is moving to application insights now for any new clients but the same principle applies
I have a page controller having two actions. One is index and one is download like below
The issue is the Download action is working on localhost like
but the same thing is not working on production
When I hit thsat page I get
Page could not be loaded
The link you specified does not work. This may either be the result of temporary maintenance or an incorrect link.