IIS Configuration for Windows Server


Install IIS

  1. Click Start, point to Administrative Tools and then click Server Manager.
  2. From the Server Manager > Dashboard screen select Manage from the list of menu items.
  3. Then select Add Roles and Features from the list of dropdown items.
  4. Use the Add Roles Wizard to add the Web server role.
  5. Under Select Installation Type click the Role-based or feature-based installation radio button.


Using the associated check boxes enable the following Windows Features:


       Windows Process Activation Service (WAS)


       Internet Information Services

              FTP Server

               aService

               aExtensibility

              Web Management Tools

               IIS 6 Manage Compatibility

               aIIS Metabase and IIS 6 configuration compatibility

               aIIS Management Console

               aIIS Management Script and Tools

               aIIS Management Services

              World Wide Web Services

               Application and Development Features (All)

                      a.NET Extensibility

                      aASP

                      aASP.NET

                      aCGI

                      aISAPI Extensions

                      aISAPI Filters

                      aServer-Side Includes

                         Common HTTP Features

                      aDefault Document

                      aDirectory Browsing

                      aHTTP Errors

                      aHTTP Redirection

                      aStatic Content

               Health and Diagnostics

                      aHTTP Logging

                      aRequest Monitor

               Performance Features

                      aStatic Content Compression

               Security

                      aBasic Authorization

                      aClient Certificate mapping Authentication

                      aDigest Authentication

                      aIIS Client Certificate mapping Authentication

                      aIP Security

                      aRequest Filtering

                      aURL Authorization

                      aWindows Authorization

               aIIS Hostable Web Core



For future convenience it is recommended that you create a shortcut to IIS Manager



Create the following disk directories

       c:\inetpub\wwwroot\TagsCollector

       e:\ProjectName\Trend Data

       e:\ProjectName \Power Data

       e:\ProjectName \Alarm Data

       e:\ProjectName \User Data


Use IIS Manager to configure the following:


       Under IIS heading select Authentication

       Configure Authentication Settings for sites and applications

               Disable Anonymous Authentication

               Enable Basic Authentication

               Enable Windows Authentication - (needed to run VS2008 debugger on iis)


Remove the IIS default website

Add AirShow set path to “C:\inetpub\wwwroot\TagsCollector”


Under Default Document add "Home.aspx"


       Set all Data Pools to use .NET 4.0

Set TagShow to use Classic


Go to IIS app pool / select advanced settings / set “Load User Profile” = True

(If false, AirShow will cache user account file and NOT see changes until IIS restart)


To Allow TagsCollector to write back to the root directory

Go to IIS Application Pool AirShow

Select Advanced Settings

Find Identity and note the name (“ApplicationPoolIdentity”)

       Go to the AirShow root folder - Select Properties and the Security tab

       Find IIS User account (IIS_USRS (MOC1SPIA1\Users))

       Allow Write permission for this user


Make Backup of IIS Configuration file

Made Backup copy of IIS configuration file and saved to:

c:\Rebuild Instructions & Data\Software Install Files\IIS Configuration File


If IIS ever needs to be rebuilt this file can be used to restore all IIS configuration settings. Simply copy the file to “c:\windows\system32\inetsrv\config\applicationHost.config” and restart IIS.


Copy AirShow site files to “C:\inetpub\wwwroot\TagsCollector


Open IE and test connection to local server 127.0.0.1




Problem encountered

Tried to access site from IE & received error 500.21 (ASP.Net not properly registered)

Reregister ASP.Net to correct:

  1. Run the command prompt as administrator
  2. Type the line in the command prompt below to reregister ASP.Net:
    %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe –i
  3. Retested the connection and the problem was resolved


Installed Tags Collector latest release