Speeding up web applicaion using IIS 7.0 - ASP.NET on Windows Server 2008

Posted on 2014-08-20
Last Modified: 2014-09-12
I have a web application, but we have to wake-up the ASP.NET application, but it is hosted on Windows 2008 Standard,  there is a feature which I have found but it is on version IIS 7.5 called Auto-Start.  Is there a similar feature in IIS 7.0 or is there something similar I can set or download ?

Question by:rakkad
    LVL 14

    Expert Comment

    by:Brad Groux
    You can restart an individual Web site or recycle an application pool that is causing problems by using IIS Manager. To do so, follow these steps:
    To restart an individual Web site, in the Connections pane, expand the Web site node. In the tree, click the site that you want to restart, and in the Actions pane, click Restart.
    To recycle an application pool, in the Connections pane, click the Application Pools node. On the Application Pools page, select the application pool that you want to recycle, and in the Actions pane, click Recycle.

    To do this by using appcmd, follow these steps:
    Click Start. In the Start Search box, type  cmd and then press ENTER.
    At the command prompt, type cd %windir%\system32\inetsrv and then press ENTER.
    To restart an individual Web site, type appcmd stop site "site_name" where site_name is the name of the Web site that you want to restart. Then type appcmd start site "site_name".
    To recycle an application pool, type appcmd recycle apppool "apppool_name" where  apppool_name is the name of the application pool that you want to recycle.

    You can create a scheduled task utilizing appcmd to do this on a regular or set basis.
    LVL 25

    Accepted Solution

    More along the lines of answering the original question... here is a Stackoverflow question about the same issue.

    You probably have to modify the script a bit for your environment, but until you can move on to iis7.5+, maybe this will do.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    PRTG Network Monitor: Intuitive Network Monitoring

    Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

    Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
    You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
    This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
    This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now