| Author |
Message |
RussellClarvoe
Joined: 11 Feb 2011 Posts: 1
|
Posted: Fri Feb 11, 2011 2:34 pm Post subject: Starting Web Application IIS7 Windows 7 |
|
|
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 |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6369 Location: Red Gate Software
|
Posted: Fri Feb 11, 2011 6:22 pm Post subject: |
|
|
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. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
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