L
Lloyd Dupont
I try to manage error in my application, I have set customErrors=On in the
web config and redirect them to a custom web (.aspx) page of mine.
unfortunately in case of error, for some reason, when I reach error.aspx
Server.GetLastError() return null.
I decided to use the error event in Global and write
Session["last error"] = Server.GetLastError().
unfortubately, while it works in 1.1, in 2.0 betat I get an exception kind
of view state can't be used in this context.
any workaround, tip, similar experience ?
web config and redirect them to a custom web (.aspx) page of mine.
unfortunately in case of error, for some reason, when I reach error.aspx
Server.GetLastError() return null.
I decided to use the error event in Global and write
Session["last error"] = Server.GetLastError().
unfortubately, while it works in 1.1, in 2.0 betat I get an exception kind
of view state can't be used in this context.
any workaround, tip, similar experience ?