IIS

  • IIS

    IIS application pool may unexpectedly exit when a worker process shuts down or is recycled

    Symptoms Consider the following scenario. You set up a Microsoft Internet Information Services (IIS) 6.0 application pool. The application pool contains a Microsoft ASP.NET 2.0 application. A worker process in the application pool shuts down or is recycled. In this scenario, the application pool may unexpectedly exit. Cause This problem occurs because a worker process in an application pool does not have sufficient permissions to access and write to the following registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<ASP.NETVersion>\NamesNote <ASP.NETVersion> represents the version of ASP.NET that is installed. Workaround To work around this problem, follow these steps: Add the application pool identity user account to the IIS_WPG group. (By default, the NETWORK SERVICE user account is the application…

  • IIS

    The RPC Server Is Unavailable for IISRESET

    When run “iisreset (server name) /restart” to restart IIS services on that remote server. But command gives below error message.>iisreset myserver /restartThe RPC Server is unavailable. After turn off Windows Firewall on my server and now everything is fine. This reveals that actually iisreset was blocked by one of the rules.

  • AD,  IIS

    Delegate Application Creation for Non-Admininistrator accounts

    The Web Deployment Tool provides a way to delegate application creation to non-Administrator Windows users or IIS users. This blog covers how to configure this particular delegated setting. If you have not yet set up some users, or are not familiar with remote administration, I highly recommend going through this walkthrough: http://learn.iis.net/page.aspx/159/configuring-remote-administration-and-feature-delegation-in-iis-70/ before trying out these steps. Server Admin Steps 1. Install the Web Deployment Tool (MSDeploy) Use the Web Platform Installer (can be found here: http://www.microsoft.com/web/downloads/platform.aspx) Run and choose Web Deployment Tool 1.0 and click Install. This will also pull in any dependencies you don’t already have on your system. NOTE: This might take a while if you are missing a lot…

  • IIS

    IIS Event id 1500

    For some reason by default when i create a website in windows 10 it sets "load user profile" to true on the application pool. Event ID: 1500 Solution: If you set “Load User Profile” to false in IIS on your app pool my iisnode applications can work again. Not sure why iis is defaulting to turning this setting on for application pools it automatically creates but at least I can make them work again

  • IIS

    Application pool keeps stopping / Service Unavailable / 503 errors

    Application pool keeps stopping / Service Unavailable / 503 errors in Site This issue is faced so many times. Every time someone changes a password for a service account, it keeps prompting errors when we open the site. So, we thought to share this useful info with those who face the same issue.  Cause: Changing of password for the Application Pool account. Solution 1: To change\check the identity for an application pool, log into Central Administration and follow these steps.Changing application pool id in IIS is the recommended way. 1. Select the application pool from the components drop-down. 2. Select the managed account that you want to use as the identity for this application pool, or…

  • IIS

    Web Limits

    link Overview The <webLimits> element specifies TCP/IP connection and bandwidth limits. Every 60 seconds, a worker process checks how long it has been idle. If its current idle time is greater than the idle time-out value specified by the Windows Process Activation Service (WAS), the worker process initiates a shutdown. When you specify a nonzero value for the dynamicIdleThreshold attribute, WAS will dynamically reduce this idle time-out depending on the amount of RAM used. The dynamicIdleThreshold attribute represents the amount of committed physical RAM. For example, if your server has 2 gigabytes (GB) of physical memory installed and you set the dynamicIdleThreshold attribute value to 200, you have committed 200 percent (4 GB) of physical RAM for use.…

  • IIS

    Managing, Tuning, and Configuring Application Pools in IIS 7.0

    Microsoft Here The Microsoft Engineering Operations (MSCOM Ops) team uses both integrated and classic requestprocessing to manage application pools in Internet Information Services (IIS) 7.0 to optimize performance and improve site availability at www.microsoft.com. In this article, we discuss how we leverage the benefits of the integrated requestprocessing mode, describe the configuration settings that we use to tune application pools, and explain which configuration changes result in application pool recycling. We also provide examples that demonstrate how you can configure application pools by using the appcmd.exe command line tool and IIS Manager. Using Integrated and Classic Request Processing Modes Microsoft® Windows Server™ 2003 and IIS 6.0 introduced the ability for Web…

  • IIS

    IIS Failure Settings for an Application Pool

    Microsoft website link here. Overview The <failure> element of the <add> element in the <applicationPools> collection configures the actions to take when an application pool fails. The autoShutdownExe, orphanActionExe, rapidFailProtection attributes of the <failure> element can be especially useful when troubleshooting or debugging applications, because they give you the flexibility to specify the action that Internet Information Services (IIS) will take when an application fails, such as running an external executable to log or debug the failure. Compatibility Version Notes IIS 10.0 The <failure> element was not modified in IIS 10.0. IIS 8.5 The <failure> element was not modified in IIS 8.5. IIS 8.0 The <failure> element was not modified in IIS 8.0. IIS 7.5 The <failure> element was not modified in IIS 7.5. IIS 7.0 The <failure> element was introduced in…

  • IIS

    Application pool stops randomly within in a specified time period: automatically disabled due to a series of failures

    Symptoms Application pool stops randomly within a specified time period. The following error can be found in Event Viewer. Cause Rapid-Fail Protection disables application pool if it crashes several times within a specified time period. Solution NRapid-Fail Protection prevents the failing application pool from getting into a continuous loop of crashing. This is useful when an application goes out of control which could overload the server.In general, it is better to review the application code to resolve crashes. To prevent an Application Pool from stopping, disable Rapid Fail Protection in IIS. Refer to this article for more information:

  • IIS

    IIS site opening, stops after login pages because app pool stopped

    We got a call from customer, they Newly hosted the site and the site was loading fine for few seconds/Minutes. then default Application pool was stopped. Solutions: We have checked and comes to know, customer using default application pool, but they are not set the .Net version in the respective application pool.We couldn't find any windows event logs for this issue. After mapped the .net as .net 4.5, site starts works continuously with any issue. Note:Here we fix the issue after mapping the .Net 4.5 version in application pool. But for you may be facing issue because of other reason.