I cant find useful description on tracing asp.net, so i am asking here – How do I send an exception from Controller (or View) to trace.axd but nothing else?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To show trace information only in trace.axd you should enable tracing in the web.config, set pageOutput = false, and not enable tracing on specific pages. To send exception info to the trace you will need to use Trace.Write when you catch the exceptions.