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

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

  • venerdì 8 ottobre 2010 11:43
     
     

    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...

Tutte le risposte

  • mercoledì 13 ottobre 2010 10:26
    Moderatore
     
     Con risposta

    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!
    • Contrassegnato come risposta eryangModerator lunedì 18 ottobre 2010 03:22
    •  
  • domenica 15 gennaio 2012 19:30
     
     Risposta suggerita
    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.
    • Proposto come risposta John Ciliberti domenica 15 gennaio 2012 19:31
    •