Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IWError.html not rendered from raised exception in servercontroller
#1
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. Sad

So, how do we render our custom IWError.html with the merged information when the exception is in the ServerController?

Thank you,
-Craig
Reply


Messages In This Thread
IWError.html not rendered from raised exception in servercontroller - by Craig Burke - 04-02-2019, 04:41 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)