Change name of Trace.axd, how?

Discussion in 'ASP.NET / ASP.NET Core' started by cms, Jun 12, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. cms

    cms

    I'm writing trace information out to be viewed by trace.axd. I would like to rename this and use a different name specific to my application. I know the name of this is set in machine.config. I was hoping it would be possible to change this in web.config. I got it to work, kind of. Good news is I can change the name in my web.config file. Bad news is the trace.axd still works. Furthermore, when I click on a link to view trace results in my custom axd file, the links are actually the trace.axd links instead of using the name I supplied in web.config file.

    Any ideas how I can do this? Thanks!


    cms
     
  2. cms

    cms

    I'm hoping it is possible. I came extremely close. I figured out a way I can block the trace.axd call. Once I figured it out, I thought it was working fine because I could no longer access the trace.axd page, only the page I named in web.config. Problem is, the links in the webpage I created in web.config, the view log links, all point to trace.axd instead of the webpage I created. Everytime I click a link to view a log file, I end up getting a "Can not find webpage error" since I disabled trace.axd in my web.config. Why the links in my webpage point to it is something I can't explain. I'll keep looking. If can find a way to do it, I'll let you know.


    cms
     
  3. Bruce

    Bruce DiscountASP.NET Staff

    don't think you can override this setting in web.config

    quote:Originally posted by cms

    I'm writing trace information out to be viewed by trace.axd. I would like to rename this and use a different name specific to my application. I know the name of this is set in machine.config. I was hoping it would be possible to change this in web.config. I got it to work, kind of. Good news is I can change the name in my web.config file. Bad news is the trace.axd still works. Furthermore, when I click on a link to view trace results in my custom axd file, the links are actually the trace.axd links instead of using the name I supplied in web.config file.

    Any ideas how I can do this? Thanks!


    cms
    </blockquote id="quote"></font id="quote">
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page