04-02-2019, 04:41 PM
XE7 - IW 14.2.10 bundled.
Because using the UserSessionUnit (is a DM) and that exceptions are handled during the creation method I use a UserSession.Initialize method to process all data connections. If there are any exceptions they are raised back into the caller. In this case the ServerController. In IW 12 it used to display the IWError.html from the templates folder.
This does not work anymore from the Servercontroller. It does work if the exception is in a form though.
The exception does properly reach the SeverController.OnException.
The ExceptionLogger is creating the file as expected however, the user only sees a blank page. Not very helpfull.
So, how do we render our custom IWError.html with the merged information when the exception is in the ServerController?
Thank you,
-Craig
Because using the UserSessionUnit (is a DM) and that exceptions are handled during the creation method I use a UserSession.Initialize method to process all data connections. If there are any exceptions they are raised back into the caller. In this case the ServerController. In IW 12 it used to display the IWError.html from the templates folder.
This does not work anymore from the Servercontroller. It does work if the exception is in a form though.
The exception does properly reach the SeverController.OnException.
The ExceptionLogger is creating the file as expected however, the user only sees a blank page. Not very helpfull.
So, how do we render our custom IWError.html with the merged information when the exception is in the ServerController?
Thank you,
-Craig