Profiler + http://XXX/ doesn't map to a valid local website

Locked Profiler + http://XXX/ doesn't map to a valid local website

  • Friday, October 08, 2010 11:43 AM
     
     

    I have try to use profiler in my web application. This application hosted on IIS as separate site (display After of 'Default Web Site' under Sites in IIS). OS- Windows 7. Following steps I used for created profiler instance

    1. Open application in VS2008

    2. Select menu analyze then click on 'Launch Performance Wizard' then

    select application name then

    select client as IE then

    select profiling method as Instrumnetation then next and finally

    select finish

    3. Select option 'Lunch with Profiling'

    Then it gives .net exception error as http://XXX/  doesn't map to a valid local website

    Please send solution ASAP. Thanks in advance...

All Replies

  • Wednesday, October 13, 2010 10:26 AM
    Moderator
     
     Answered

    Hello,

    Can you show me a screen shot of the step: "select client as IE then"? I did not encounter this step following your step.

    Another workaround is to profile your site in command line (vsperfaspnetcmd.exe):
    http://msdn.microsoft.com/en-us/library/ee308442.aspx
    Or using vsinstr.exe:
    http://blogs.msdn.com/b/graycode/archive/2005/05/10/aspnetoffroadprofilingarticle.aspx

    Please have a try and let know it it persists。

    Best regards


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback, please tell us.
    Welcome to the All-In-One Code Framework!
  • Sunday, January 15, 2012 7:30 PM
     
     Proposed Answer
    I think the profiler needs you web application settings to say http://localhost in order for this to work. I had the same issue using a host header site name and it did not work. I changed Visual Studio to use localhost and all was ducky.
    • Proposed As Answer by John Ciliberti Sunday, January 15, 2012 7:31 PM
    •