In order to confirm that all the application have been assigned correctly or to check if you would transfer a number of applications to a different application pool, you may like to see if every one of the application that has been assigned correctly. You should note that this guide applies to the Windows 7 platform, the 2008 Windows Server, the 2008 R2 Windows Server and finally the Windows Vista platform.
Viewing Applications in an Application Pool
This particular procedure can be performed by either making use of the User Interface popularly known in the IT World as UI, by directly editing the files for configuration, by the writing of scripts for WMI or by the running of commands of the Appcmd.exe in a window for the command line.
In order to make a change to the Application Pool, the following steps would be of a very good assistance if followed correctly.
Step 1: Open IIS Manager
Opening the IIS Manager is the very first thing to do when you want to use the UI.
Step 2: Choose Application Pool
This requires you to navigate into the panel for “Connections” and then access the server node, where you would see a list of options. Then, select the “Application Pools” option.
Step 3: Choose Application Pool Type
When you have accessed the page for the “Applications Pools”, then select the type of application pool which contains that application you wish to make a change to.
Step 4: View Applications
Navigate to the panel tagged action and tap on the “View Applications” option you see there. Right there, you would see all the applications you want to see.
Command Line
Make use of the syntax below if you wish to view a list of applications in application pool where an application is running. Implement the commands below:
**appcmd list app /apppool.name:**string
The application you wish to change is called **appcmd list app /apppool.name:**string
variable and the application pool where you wish to view application lists. An example is when you want to view a list application called Marketing, key in the directives below at the command prompt, and after that click ENTER:
appcmd listapp /apppool.name:Marketing
The Setup for Viewing an Application Pool
To view an application pool, utilize this process for its setup."<application>
element under <site>"
WMI for Viewing an Application Pool
Utilize the following WMI category for carrying out this very operation.
"ApplicationPoolContainsApplication class"
Rename an Application Pool (IIS 7)
Sometimes and in some situations, you may wish to change the naming of a particular application pool, in order for it to associate better with those applications that are contained in it, you can make use of the steps listed below.
To Rename an Application Pool
This particular procedure can be performed by either making use of the User Interface popularly known in the IT World as UI, by directly editing the files for configuration, by the writing of scripts for WMI or by the running of commands of the Appcmd.exe in a window for the command line.
The steps below would guide you on how to rename an application pool. With the use of User interface (UI)
Step 1: Open IIS Manager
Opening the IIS Manager is the very first thing to do when you want to use the UI.
Step 2: Choose Application Pool
To do this, navigate into the “Connections” panel and then access the server node, where you would see a list of options and you select the “Application Pools” option.
Step 3: Choose Application Pool Type
When you have accessed the page for the “Applications Pools”, then select the type of application pool which holds that application you wish to make a change to.
Step 4: Rename
Navigate to the pane tagged “Action” and tap on the “Edit Applications Pool” option you see there. It brings out a menu and you choose the “Rename” option. Fill in the name you wish to rename it to and click somewhere out of the box.
Command Line
In order to change the application pool’s name, make use of the syntax you see below:
"**appcmd set config /section:applicationPools /[name='string'].name:**string"
The application pool’s current name is the first variable “string” you see above while the new name you want it to bear is the second instance of string. A good example is when changing the application pool’s name from “from Advertising to Marketing, fill the directives in the spaces provided and tap the enter key. Here is the code example:
appcmd set config /section:applicationPools /[name='Advertising'].name:Marketing
Configuration For Renaming Application pool
For viewing an application pool, use this procedure for its configuration.
“name attribute of the <add> element under <applicationPools>”
WMI for Renaming An Application Pool
Make use of either the ApplicationPool.Delete_WMI method, or the ApplicationPool.Create method for performing this particular procedure.
Note: Make use of the object’s Delete_ system method that it has inherited from the WMI in order to delete this object’s instance.
Also, ensure that first, you create a fresh application pool and delete the old one in order to use WNI to perform this specific procedure due to the reason that the ApplicationPool.Name property is a read-only property.
Conclusion
We have covered in this article all the steps you need to view the application pool and rename application pool in II7. You should be able to perform this action if you have followed this article to the end. Let’s know how you get on. If you still experience some issue, feel free to drop a note. If you have any additional input to make, also leave your comments.
- Your search to the best windows hosting can end by clicking here.