>How do I get the line number of where an exception occured. I can't seem to find it. I thought it would be in the stack trace but doesnt seem to be there.
It is in the stack-trace, but only if source code or PDB is available. If no source is available a line number is no longer relevant <g>... Note that sometimes your error info will be in the inner Exception.
+++ Rick ---