I'm breaking my brains for some hours why my errors aren't saved to my database.
Finally came to the idea to check SQL profiler and saw that after the insert in the error log there was a transaction rollback. Slowly I saw the light .. 
The program is in the middle of an Transaction (EntitySpaces.Interfaces.esTransactionScope) an exception happens, the code goes to the ExceptionHandling code.
The error get's logged in the database (also with ES code) and then rolled back, because the original code never reaches the transactieScope.Complete().
Any advise how I could work around this? I'm using SQL dynamic with Sql server 2000.
I tried to start a new transaction in the error logging code, but that doesn't help.
Any ideas are welcome.
Thanks !
Regards,
Bas