Simple project, simple INSERT query. Works in Debug mode, doesn't work in Release mode and doesn't report any errors (I tried ExecNonQuery inside a try-block, both with and without a transaction).
Why in the Chit Chat forum? Because I guess the description above isn't enough for you to help me, so it's just to vent my nerves a little.
Perfect, it worked (although I don't understand why it's only needed in Release mode; I wonder if a Sleep would have been enough, I haven't tried, since the query execution is a single synchronous statement).