Red Gate forums :: View topic - Starting Web Application IIS7 Windows 7
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Performance Profiler 6
ANTS Performance Profiler 6 forum

Starting Web Application IIS7 Windows 7

Search in ANTS Performance Profiler 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
RussellClarvoe



Joined: 11 Feb 2011
Posts: 1

PostPosted: Fri Feb 11, 2011 2:34 pm    Post subject: Starting Web Application IIS7 Windows 7 Reply with quote

I am trying to find an explanation of how the ANTs profiler starts a web application running in IIS.

If my application is running and I start the profiler, it appears to start a second instance of the web application. Files that are opened by our log tool ( log4net ) are still locked by the original instance of the application.

Although I can of course restart IIS and then launch the app for the first time using the profiler, I am hoping to understand how it's possible two launch the same app twice. Does the profiler start its own app pool?

Thanks
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6580

PostPosted: Fri Feb 11, 2011 6:22 pm    Post subject: Reply with quote

It's pretty simple really -- ANTS Profiler just leverages the ability to launch w3wp.exe from outside IIS. It will create a cut-down configuration file based on your applicationHost.config and then start w3wp.exe -h <configFile>.

(note it's slightly different for IIS v6)

This poses some restrictions, namely that w3wp is running as you and not the account that normally runs the application pool (ie NETWORK SERVICE), you cannot launch any web apps that require SSL, and you must dedicate an unused TCP port to this worker process.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group