Congratulations to all monthly winners of May 2013 !!! They have won INR 2900 cash and INR 27497 worth prize.
Go to DotNetFunda.com
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 14335 |  Welcome, Guest!   Register  Login
Home > Articles > .NET Framework > Detailed Steps to create Application Pool

Detailed Steps to create Application Pool

Article posted by DeySomnath on 4/13/2009 | Views: 8210 | Category: .NET Framework | Level: Beginner red flag

Advertisements

Advertisements
Steps to create Application Pool

When you create a new application pool, you have the following two options:
1. You can either create a new application pool from scratch or 
2. You can create a new application pool by importing the configuration
settings from an external XML file 

How to create application pool

Below are the steps to create application pool from scratch.

1. Open IIS Manager.


2.  right-click on the Application Pools node from the tree
view and select New->Application Pool from the context menu. 
 
 
 

 
 

 
3. You will be presented with the following screen, where
you need to enter a name for the application pool.
 
 


 

 
4.  You can see two options. Select the second option
"Use existing application pool as template" in the above screen. After you pick this option, the
“Application Pool name” dropdown box will be enabled.
Select DefaultAppPool  from the dropdown box. As shown in below screen.


 

5. Click on the OK button.

6. After the pool is created, you can see the new application pool (TestApplicationPool)
under the Application Pools node. See the below screen.
 

 


7. Go to Web Sites > Default Web Site. And right-click on your web site.
Here I am taking the example of “test” web site. See the below screen shot.
 

 

 


8. Select Properties from the context menu. You will be presented with the following screen
 

 

 

 

9. In the Properties dialog box shown above, you can change the Application Pool
using the Application Pool dropdown option in the Directory tab. Because
we want our Web application to run under the new pool (TestApplicationPool),
select TestApplicationPool from the list.

10. Click the OK button.

11. Now go to your Application Pool (TestApplicationPool) again .
There you can see the name of your web site under your new application pool.
See the below screen.

 


 

 
12. Now restart the IIS.
 

 


 

 
Rollback Process

Below steps will help you to redoing the settings back to 1 default pool and delete the other application pools.

1. Go to Web Sites > Default Web Site. And right-click on your web site (test).
Here I am taking the example of “test” web site. See the below screen shot.
 
 

 


 


2. Select Properties from the context menu. You will be presented with the following screen.


 

 


 

3. In the Properties dialog box shown above, you can change the Application Pool
using the Application Pool dropdown option in the Directory tab. select DefaultAppPool from the list.

4. Click the OK button.

5. Now go to your Application Pool (TestApplicationPool) again .
You can see that  there is no web site  under your application pool(TestApplicationPool) .
Your web site(test) has moved to under DefaultAppPool. See the below screen shot.

 

 


 

6. Now there is no web site under your application pool, so you can delete the application pool
(TestApplicationPool).

7. Right-click on your Application Pool (TestApplicationPool)  
and select Delete from the context menu. See the below screen shot.

 

 


 


8. You will be presented with the following screen, where you have to click the Yes button.

9. Now your application pool has deleted.

10. Restart the IIS as show above in one of the picture.


Advertisements

If you like this article, subscribe to our RSS Feed. You can also subscribe via email to our Interview Questions, Codes and Forums section.

Page copy protected against web site content infringement by Copyscape
Found interesting? Add this to:



Please Sign In to vote for this post.

About Somnath Dey

Experience:5 year(s)
Home page:http://somnathdey.blogspot.com/
Member since:Tuesday, April 29, 2008
Level:Starter
Status: [Member]
Biography:As soon as the fear approaches near, attack and destroy it.
>> Write Response - Respond to this post and get points
Related Posts

Security is more important in any type of Application. The encryption and Decryption plays major role.

In this article we are going to detect the .NET application memory leaks.

Application blocks in enterprise library 5.0 simplifies the application development.....

Service Oriented Architecture (SOA) a buzzing word in the world of software development these days. In this article, we will try to understand what the SOA is and how to create and consume it in ASP.NET with C#.

This article describes how to create XML file and also shows various ways of reading XML File in .NET using XmlTextReader, XmlDocumenet, XPathDocument, DataSet and XmlDataSource control.

More ...
About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 6/20/2013 2:22:10 AM