Thursday, December 15, 2011

IIS Administration Interview Questions and Answers Series 4

Does One Web Application can have multiple Application Pool?
No. Every Web Application should have one Application Pool. By-default it is "DefaultAppPool ".

Which version of IIS is available in Windows Server 2008?
IIS 7.0 .

How we can save an Application Pool Settings?
Application Pool Settings can be save as "XML" Format.
Right Click on Application Pool ---> All Task ---> Save Configuration to a File .
This will save all the settings of Application Pool as an XML file. We can protect with password as-well.

Which Tool is used for Remote IIS Debugging?
The tool for debugging is  msvsmon.exe
This is located at : <Installation path>\Microsoft Visual Studio 8\Common7\IDE\Remote Debugger\x86

What are the different authentication mode available for IIS Remote Debugging?
For IIS Remote Debugging msvsmon supported two authentication mode
1. Windows Authentication
2. No-Authentication

How can we get the list of worker process running in IIS along with the Application pool name ?
By running iisapp.vbs script from command Prompt.
Below are the steps :
Start ---> Run ---> CMD --->navigate to Windows > System32 ---->Run cscript iisapp.vbs

If there are multiple worker process running on IIS, then how can you attach a particular worker process for application?
Well, If there are multiple worker process running in IIS, it means I have to know the name of my application pool. Then I can run cscript iisapi.vbs script to find out the process ID and Application Pool name . Based on the process Id for particular application I have to attache the process from Visual studio IDE.

Why do we need to IIS Remote Debugging ?
There are following reasons where we can use remote debugging
1. Your development server does not have IIS installed.
2. Development server and Build/Released/Hosting Server is different
3. Multiple user want to debug simultaneously.

Does IIS allows multiple user to Remote debug simultaneously?
Yes. This is one of the great features of msvsmon.exe . Each instance of the remote debugger has a unique server name.we can give an instance of the remote debugger any server name. Now multiple user can able to access the server instance.

What is the use of aspnet_regiis -i command?
This is used automatically register the .NET Framework with your IIS.

Can we have multiple web sites on IIS?
Yes. IIS Can have multiple web sites and Each and every web sites can have multiple virtual Directory.
Note : Here web sites means the Root Node.


Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More