Go to DotNetFunda.com
 Online : 860 |  Welcome, Guest!   Login
 
Home > Articles > .NET Framework > Detailed Steps to create Application Pool

Submit Article | Articles Home | Search Articles |

Detailed Steps to create Application Pool

 Posted on: 4/13/2009 7:18:57 PM by DeySomnath | Views: 1935 | Category: .NET Framework | Level: Beginner | Print Article
Steps to create Application Pool

.NET Training Videos!
Buy online comprehensive training video pack just for $35.00 only, see what's inside it.

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.



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

Interesting?   Share and Bookmark this kick it on DotNetKicks.com


About Somnath Dey

Experience:0 year(s)
Home page:http://somnathdey.blogspot.com/
Member since:Tuesday, April 29, 2008
Level:NotApplicable
Status: [Member]
Biography:As soon as the fear approaches near, attack and destroy it.
 Latest post(s) from DeySomnath

   ◘ Detailed Steps to create Application Pool posted on 4/13/2009 7:18:57 PM
   ◘ A Guide to SQL Server Indexes posted on 11/4/2008 3:27:19 AM
   ◘ Best Practices to Improve ASP.Net Web Application Performance. posted on 1/31/2008 2:12:35 AM
   ◘ Delete Duplicate rows from the table. posted on 1/28/2008 6:44:41 AM
   ◘ Metadata Vs Manifest posted on 1/28/2008 6:16:02 AM


Submit Article

About Us | The Team | Advertise | Contact Us | Feedback | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you found copied contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
All rights reserved to DotNetFunda.Com. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks.
(Best viewed in IE 6.0+ or Firefox 2.0+ at 1024 * 768 or higher)