sdeming, the .toString contains that data already ...
the answer is actually to do:
Code:
catch(Exception e){
System.Diagnostics.StackTrace st = new ... StackTrace();
Response.Write(st.ToString());
} you will, however, need to have "debugging" enabled
in your project. (or something like that).