Turn off stack trace? How and where? You can simply close the window in
debug mode and you won't see it anymore.
If you are talking about on your web application, adjust the "customErrors"
tag in your web.config file and set it how you want it to behave.
bill