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
3. Select option 'Lunch with Profiling'
Then it gives .net exception error as http://XXX/ doesn't map to a valid local website
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.