<p>On IIS 6, what does an IIS reset do? </p>

<p>Please compare to recycling an app pool and stopping and starting an ASP.NET web site.</p>

<p>If you replace a DLL or edit/replace the web.config on an ASP.NET web site is that the same as stopping and starting that web site?</p>

[{'answer_id': 23568, 'author': 'Lasse V. Karlsen', 'author_id': 267, 'author_profile': 'https://Stackoverflow.com/users/267', 'pm_score': 2, 'selected': False, 'text': '<p>It stops and starts the services that IIS consists of.</p>\n\n<p>You can think of it as closing the relevant program and starting it up again.</p>\n'}, {'answer_id': 23570, 'author': 'Vaibhav', 'author_id': 380, 'author_profile': 'https://Stackoverflow.com/users/380', 'pm_score': 1, 'selected': False, 'text': "<p>When you change an ASP.NET website's configuration file, it restarts the application to reflect the changes...</p>\n\n<p>When you do an IIS reset, that restarts all applications running on that IIS instance.</p>\n"}, {'answer_id': 23571, 'author': 'hova', 'author_id': 2170, 'author_profile': 'https://Stackoverflow.com/users/2170', 'pm_score': 7, 'selected': True, 'text': '<p>IISReset stops and restarts the entire web server (including non-ASP.NET apps)<br>\nRecycling an app pool will only affect applications running in that app pool.<br>\nEditing the web.config in a web application only affects that web application (recycles just that app).<br>\nEditing the machine.config on the machine will recycle all app pools running.  </p>\n\n<p>IIS will monitor the /bin directory of your application.  Whenever a change is detected in those dlls, it will recycle the app and re-load those new dlls.  It also monitors the web.config &amp; machine.config in the same way and performs the same action for the applicable apps.  </p>\n'}, {'answer_id': 23573, 'author': 'Michael Stum', 'author_id': 91, 'author_profile': 'https://Stackoverflow.com/users/91', 'pm_score': 3, 'selected': False, 'text': "<p>Application Pool recycling restarts the w3wp.exe process <em>for that application pool</em>, hence it will only affect web sites running in that application pool.</p>\n\n<p>IISReset restarts ALL w3wp.exe processes and any other IIS related service, i.e. the NNTP or FTP Service.</p>\n\n<p>I think changing <code>web.config</code> or <code>/bin</code> does not recycle the whole application pool, but I'm not sure on that.</p>\n"}, {'answer_id': 23581, 'author': 'jonezy', 'author_id': 2272, 'author_profile': 'https://Stackoverflow.com/users/2272', 'pm_score': 1, 'selected': False, 'text': '<p>Editing the <code>web.config</code> file or updating a DLL in the <code>bin</code> folder just recycles the worker process for that application, not the whole pool.</p>\n'}, {'answer_id': 23582, 'author': 'Jon Galloway', 'author_id': 5, 'author_profile': 'https://Stackoverflow.com/users/5', 'pm_score': 5, 'selected': False, 'text': '<p>IISReset restarts the entire webserver (including all associated sites). If you\'re just looking to reset a single ASP.NET website, you should just recycle that AppDomain.</p>\n\n<p>The most common way to reset an ASP.NET website is to edit the web.config file, but you can also create an admin page with the following:</p>\n\n<pre><code>public partial class Recycle : System.Web.UI.Page\n{\n    protected void Page_Load(object sender, EventArgs e)\n    {\n        HttpRuntime.UnloadAppDomain();\n    }\n}\n</code></pre>\n\n<p>Here\'s a blog post I wrote with more info: <a href="http://weblogs.asp.net/jgalloway/archive/2006/06/01/Avoid-IISRESET-in-ASP.NET-applications-_2800_added-bonus_3A00_-ASPRESET_2900_.aspx" rel="nofollow noreferrer">Avoid IISRESET in ASP.NET Applications</a></p>\n'}, {'answer_id': 23584, 'author': 'dlamblin', 'author_id': 459, 'author_profile': 'https://Stackoverflow.com/users/459', 'pm_score': 5, 'selected': False, 'text': '<p>It operates on the whole IIS process tree, as opposed to just your application pools.</p>\n\n<pre><code>C:\\&gt;iisreset /?\n\nIISRESET.EXE (c) Microsoft Corp. 1998-1999\n\nUsage:\niisreset [computername]\n\n    /RESTART            Stop and then restart all Internet services.\n    /START              Start all Internet services.\n    /STOP               Stop all Internet services.\n    /REBOOT             Reboot the computer.\n    /REBOOTONERROR      Reboot the computer if an error occurs when starting,\n                        stopping, or restarting Internet services.\n    /NOFORCE            Do not forcefully terminate Internet services if\n                        attempting to stop them gracefully fails.\n    /TIMEOUT:val        Specify the timeout value ( in seconds ) to wait for\n                        a successful stop of Internet services. On expiration\n                        of this timeout the computer can be rebooted if\n                        the /REBOOTONERROR parameter is specified.\n                        The default value is 20s for restart, 60s for stop,\n                        and 0s for reboot.\n    /STATUS             Display the status of all Internet services.\n    /ENABLE             Enable restarting of Internet Services\n                        on the local system.\n    /DISABLE            Disable restarting of Internet Services\n                        on the local system.\n</code></pre>\n'}, {'answer_id': 23608, 'author': 'Pascal Paradis', 'author_id': 1291, 'author_profile': 'https://Stackoverflow.com/users/1291', 'pm_score': 0, 'selected': False, 'text': '<p>Here what\'s technet has to say about <a href="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/003ed2fe-6339-4919-b577-6aa965994a9b.mspx?mfr=true" rel="nofollow noreferrer">iisreset</a></p>\n\n<blockquote>\n  <p>You might need to restart Internet Information Services (IIS) before certain configuration changes take effect or when applications become unavailable. Restarting IIS is the same as first stopping IIS, and then starting it again, except it is accomplished with a single command.</p>\n</blockquote>\n'}, {'answer_id': 1140818, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 1, 'selected': False, 'text': "<p>IISReset restarts the entire webserver (including all associated sites). If you're just looking to reset a single ASP.NET website, you should just recycle that Application Domain.</p>\n"}]
['https://Stackoverflow.com/questions/23566', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1463/']