PDA

View Full Version : Hướng dẫn chi tiết cách tạo application spool trên IIS !



admin
19-07-2010, 12:27 PM
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.


http://www.dotnetfunda.com/UserFiles/ArticlesFiles/Deysomnath_633920483621312466_633752463129282257_D eySomnath_img1.JPG




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


http://www.dotnetfunda.com/UserFiles/ArticlesFiles/633752464110876167_DeySomnath_img1.JPG



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.



http://www.dotnetfunda.com/UserFiles/ArticlesFiles/Deysomnath_633920488742915378_633752465206223717_D eySomnath_img1.JPG

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.



http://www.dotnetfunda.com/UserFiles/ArticlesFiles/Deysomnath_633920491356922002_633752465671082342_D eySomnath_img1.JPG


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.



http://www.dotnetfunda.com/UserFiles/ArticlesFiles/Deysomnath_633920515059082130_633752466272039072_D eySomnath_img1.JPG


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.



http://www.dotnetfunda.com/UserFiles/ArticlesFiles/Deysomnath_633920498739861746_633752467514578832_D eySomnath_img1.JPG





12. Now restart the IIS.




http://www.dotnetfunda.com/UserFiles/ArticlesFiles/633752468013032282_DeySomnath_img1.JPG





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.

http://www.dotnetfunda.com/UserFiles/ArticlesFiles/Deysomnath_633920503089872530_633752468615864072_D eySomnath_img1.JPG





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


http://www.dotnetfunda.com/UserFiles/ArticlesFiles/Deysomnath_633920505280112882_633752469135411947_D eySomnath_img1.JPG




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.


http://www.dotnetfunda.com/UserFiles/ArticlesFiles/Deysomnath_633920507669267122_633752469801527012_D eySomnath_img1.JPG




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.


http://www.dotnetfunda.com/UserFiles/ArticlesFiles/Deysomnath_633920510891109586_633752470321387397_D eySomnath_img1.JPG






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.

vô danh
03-12-2011, 11:31 AM
pool này giống như ram của window thay vì vậy nó là ram của IIS web service nó sẽ lấy ram và đảm trách nhiệm vụ xử lý các tác vụ của dotnet php cho iis