How to enable asp.net tracing

Posted on 2009-12-16
Medium Priority
Last Modified: 2012-05-08
I'd lke to enable tracing, as discussed here: http://msdn.microsoft.com/en-us/library/1y89ed7z(VS.71).aspx.  I've enabled those attributes on the trace node.  I load a few pages on the site but am not sure where to find the trace.

In IIS, my site looks like abc.com on port 5100.  How do I load it internally to view the tracing output?  I did try abc.com/trace.axd but that just brings me to my home page, which seems like a permission issue.  If you don't have permissions to view a page, it will usually bring you to the homepage.

I did search the website folder on the file system and didn't find a trace.axd file.

Is an iisreset required or anything?
Question by:brettr
  • 3
  • 3
LVL 41

Accepted Solution

guru_sami earned 2000 total points
ID: 26067644
are you denying anonymous access to you website ?
if yes...two options...

1: add this to your web.config ...outside of system.web
<location path="trace.axd">
                <allow users="*"/>

or just temporary allow anonymous access to your website.

Author Comment

ID: 26067745
The site is actually on an intranet.  anon access is on and so is Integrated Windows auth.

I did try your suggestions but it made no difference.

In the authorization node, I have <allow users="*"/>
LVL 41

Expert Comment

ID: 26067779
is it on local iis or you it is hosted on remote server ?
did you try setting localOnly=false to allow tracing remotely?
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.


Author Comment

ID: 26067951
It is a local IIS.  localOnly does equal false.
LVL 41

Expert Comment

ID: 26067997
how about when you run the app through Visual studio...?

Author Closing Comment

ID: 31667056
For some reason, this suggestions is working now.  Thanks.

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question