The errors are coming through fine in my file appender, but not in the sql appender.
Offending line:
int x = 0;
int y = 1 / x;
EDIT: apparently it doesn't log anything that's unhandled...
Maybe you should post a little more information (e.g. the log4net configuration)... based on what you write I assume the following:
I think that this means, there is something wrong with the configuration of the ado appender. Probably you try to pass the exception object and this somehow does not work correctly (type mismatch of sorts). Turning on internal debugging should indicated exactly what goes wrong.