Skip to main content


Showing posts with the label IIS

Configure Impersonation Authentication in IIS8 for MVC Application

Impersonation is when ASP.NET executes code in the context of an authenticated and authorized client. By default, ASP.NET does not use impersonation and instead executes all code using the same user account as the ASP.NET process, which is typically the ASPNET account. There are 5 below steps by which we can establish Impersonation configuration in our secured application environment. 1.)    Creation of Application/Proxy user where Application is hosted. 2.)    Give appropriate access to the user. 3.)    Create Database Login user on database. 4.)    Authenticate User and provide credential on IIS. 5.)    Then Configure web.config on Application.

IIS backup and Restore in 7.0

We should not expect that we required to use my backups but we should always ready for worst cases scenario either DB or IIS Server’s Configuration… In previous version IIS 6.0   we were taking Meta base (IIS Configuration) backup from GUI but later on in new version (7.0 > ) this is removed and now we are using AppCmd utility of IIS manager Service. Today i want to share about AppCmd.

Some Generic Errors in IIS 7 and IIS 8

Below are two generic errors in every version of IIS. If we deploy applications without few configuration or setting in Application Pool & ISPAI Extension these errors will comes up. There are few changes in IIS 7/ IIS 8 but process are same.  After New installation of IIS and before deploying any Application I do below configuration in IIS 8/7 to remove these error.   The requested content appears to be script and will not be served by the static file handler.  or An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.


Error:  It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS." I faced with above error while implementing application yesterday in the company where I am working. Actually this error will come when Virtual Directory is not being configured as an ASP.NET application. To do so we have to follow below steps :- 

Metabase and IIS 6.0 Backup-Restore

Metabase (IIS 6.0) The metabase is a structure for storing Internet Information Server (IIS) configuration settings. It performs some of the same functions as the Windows system registry but is specific to Internet Information Server version 4.0. New keys and values have been added for finer and more flexible control of IIS. Like the registry, the metabase is organized in a hierarchical structure that mirrors the structure of your IIS installation. It is made up of nodes, keys, and subkeys. The main organization is by node, with each node in the metabase structure representing a site or directory. Beneath the nodes are keys that may contain one or more IIS configuration values called metabase properties. The metabase keys correspond to individual configuration elements of IIS; each key contains properties that affect the configuration of its associated directory or site. Many of the metabase parameters can be configured from the Internet Service Manager snap-in for the M

Can You Create WEB Garden

Hi Friends ,  Few month before  this question was asked to me  , at that time it was totally surprising for me, so my answer was No IDEA sir.. I thought this is Non-Technical question because by name its like any kind of Garden and I am aware about such garden... But This is very interesting Topic in  IIS and Web Technology.. This question forced me to searched and share about this GARDEN .. So,  I planned to implement and test in our current Organization..  he he.... Actually , When a single Application pool contain multiple Worker process is called web garden and  Web application hosted on multiple server and access based on the load on servers is called Web Farms.. Difference between Web Farm and WEB Garden.. Web FARM : When we hosting our single web site on multiple web server over load balancer called WEB FARM . Think if we have only one   web server and multiple clients   requesting for the resources from the server. But when there is huge numbers of