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
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...
Wednesday, October 13, 2010 10:26 AMModerator
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):
Or using vsinstr.exe:
Please have a try and let know it it persists。
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!
- Marked As Answer by eryangModerator Monday, October 18, 2010 3:22 AM
Sunday, January 15, 2012 7:30 PMI 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