IIS Configuration
IIS Configuration for Windows Server
Install IIS
- Click Start, point to Administrative Tools and then click Server Manager.
- From the Server Manager > Dashboard screen select Manage from the list of menu items.
- Then select Add Roles and Features from the list of dropdown items.
- Use the Add Roles Wizard to add the Web server role.
- 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
✔Service
✔Extensibility
Web Management Tools
IIS 6 Manage Compatibility
✔IIS Metabase and IIS 6 configuration compatibility
✔IIS Management Console
✔IIS Management Script and Tools
✔IIS Management Services
World Wide Web Services
Application and Development Features (All)
✔.NET Extensibility
✔ASP
✔ASP.NET
✔CGI
✔ISAPI Extensions
✔ISAPI Filters
✔Server-Side Includes
Common HTTP Features
✔Default Document
✔Directory Browsing
✔HTTP Errors
✔HTTP Redirection
✔Static Content
Health and Diagnostics
✔HTTP Logging
✔Request Monitor
Performance Features
✔Static Content Compression
Security
✔Basic Authorization
✔Client Certificate mapping Authentication
✔Digest Authentication
✔IIS Client Certificate mapping Authentication
✔IP Security
✔Request Filtering
✔URL Authorization
✔Windows Authorization
✔IIS Hostable Web Core
For future convenience it is recommended that you create a shortcut to IIS Manager
Create the following disk directory
c:\inetpub\wwwroot\TagsCollector
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 TagsCollector to use Classic
Go to IIS app pool / select advanced settings / set “Load User Profile” = True
(If false, TagsCollector will cache user account file and NOT see changes until IIS restart)
To Allow TagsCollector to write back to the root directory
Go to the TagsCollector root folder - Select Properties and the Security tab
Find IIS User account (IIS_USRS (MOC1SPIA1\Users))
Allow Write permission for this user
Make a Backup of IIS Configuration file for future disaster recovery
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 the UI Test Project website files to “C:\inetpub\wwwroot\TagsCollector”
Open IE and test connection to local server 127.0.0.1
If when trying to connect, you receive an error 500.21 (ASP.Net not properly registered)
You must Re-register ASP.Net to correct:
- Open the command prompt as administrator
- Type the following line into the command prompt to re-register ASP.Net:
%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe –i - Retested the connection