ASP.Net Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 2138 Page Views: 

How can we Restart an Application Pool?



Posted By: Avi Date: 3 January 2010 11:39:12 AM
 Answer:

We can restart a specific Application Pool by using the IIS Manager GUI or using cscript.exe in the command prompt.

Restart Application Pool with IIS Manager:
1) Open IIS Manager.
2) Expand the Server node.
3) Expand the Application Pools folder.
3) Right-click on the application pool that you want to restart and then select Stop.
4) Right-click on the application pool again and then select Start.

Restart Application Pool with cscript.exe in Command Prompt:
1) In the command prompt, type the following command:

cscript.exe c:\windows\system32\iisapp.vbs /a "DefaultAppPool"


Posted By: eTechPlanet


Date: 3 January 2010 11:39:12 AM

Restart Application Pool with IIS Manager:
1) Open IIS Manager.
2) Expand the Server node.
3) Expand the Application Pools folder.
3) Right-click on the application pool that you want to restart and then select Stop.
4) Right-click on the application pool again and then select Start.

Restart Application Pool with cscript.exe in Command Prompt:
1) In the command prompt, type the following command:

cscript.exe c:\windows\system32\iisapp.vbs /a "DefaultAppPool"


Posted By: Johndecruse


Date: 30 January 2010 04:58:14 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image 0MYVjj
Related Questions
ASP.Net : How many type of authentication modes are there in ASP.Net?

How many type of authentication modes are there in ASP.Net?

There are three modes of Authentication:- 1. Windows Authentication:- ASP.NET uses Windows authenti....
Category: ASP.Net Date: 10/1/2010 3:31:13 AM
ASP.Net : Is it possible to look at the IL for an assembly?

Is it possible to look at the IL for an assembly?

Yes, one can view IL for an assembly. IL stands for Intermediate Language. It can be viewed with a t....
Category: ASP.Net Date: 10/1/2010 3:14:14 AM
ASP.Net : What are the advantages of pre-compilation in asp.net?

What are the advantages of pre-compilation in asp.net?

1. the performance is increased as the site has already been compiled and when it is requested no ti....
Category: ASP.Net Date: 10/1/2010 2:48:19 AM
ASP.Net : Which class manages the view state of ASP.NET server controls, including pages?

Which class manages the view state of ASP.NET server controls, including pages?

StateBag class. This class can not be inherited. Synatx:- Public NotInheritable Class StateBag _ I....
Category: ASP.Net Date: 10/1/2010 2:35:13 AM
ASP.Net : List the pre-processor words ?

List the pre-processor words ?

#if #else #endif #define #undef #warning #error #line #region #endregion are the main used directiv....
Category: ASP.Net Date: 10/1/2010 2:25:14 AM