IIS 7 Primer (for those accustomed to IIS 6)
This "Primer" was condensed down from a week long IIS 7 class that I had the privilege of attending, which was delivered by Patty Stoy. You rock Patty! Laura LaFleur assisted with development of this content. Thanks Laura! And a BIG thank you to Courtney Curry for evangelizing this content and encouraging me to convert it to a blog post. Thanks Courtney :).
Props to Scott Williams for doing the technical review and proofing. Many thanks to Jason Slaughter for "The Case of the Missing G". :) And to Brian Day, for all his wonderful ideas ;).
And remember, The Wire Never Lies! - http://blogs.technet.com/b/kpapadak/
Things to get used to…IIS7 is VERY different. So different, you can forget about IIS6 for the most part. Let's Rock & Roll Peeps!
IIS6 Compatibility Mode
Dynamic Content Compression
HTTP Redirect (optional)
RPC Proxy (optional)
Windows Process Activation Services
Active Directory CertificateServices (optional)
Note: It IS important that the prerequisites are installed in the proper order (for Exchange Server) when installing via command line!
Metabase versus Config files
The 3 config files that make up thebasis of an IIS7 install are:
THE Two root .NET framework config files:
The GUI will 'show' you the lowest level file from which it is getting configuration settings. Click on a configuration setting within the site or directory to get this information to appear in the GUI, e.g., in IIS Manager, in the Connections pane on the left expand the DWS and select OWA. In the Features View pane on theright, double-click Authentication. Now at the bottom of the screen on the left, it shows: Configuration: ‘Default web site/owa’ web.config
New IIS Accounts
Everyone please try this out!
USEFUL TOOLS/ITEMS SUMMARY
AppCmd Add Backup "BackupName"
AppCmd List Backup (to list all backups)
AppCmd Restore Backup “BackupName”
AppCmd Backups do NOT backup web.config files!
Appcmd set config /section:httpErrors /errorMode:Detailed
If you are looking for something and cannot find it, IT PROBABLY ISN’T INSTALLED!
The redirect module is NOT installed bydefault.
I need to do X in IIS 6….
In IIS 7, do this...
IIS manager > Select Exchange in Action Menu > Select Browse*>443
Check which App Pool a vDir is running under
IIS manager > Highlight vDir > Under "Actions" click "Basic Settings" or "Advanced Settings..."
Check SSL settings for a vDir
IIS manager > Highlight vDir > In the middle pane,
double click “SSL”
Check Authentication settings for a vDir
double click "Authentication"
Check IP and Domain Name
restrictions settings for a vDir
Use AppCMD.exe, see Help topic
“Configuring IPv4 Address and Domain Name Rules"
Check Script Mappings/Wildcard
Mapping for a vDir
double click "Handler Mappings"
Check MIME Types for a vDir
double click "MIME Types"
Check Web Service Extensions
IIS manager > Highlight Server > In the middle
pane, double click "ISAPI and CGI Restrictions"
ISAPI Filter Status
IIS manager > Highlight Server > In the middle pane,
double click "ISAPI Filters"
Check Logfile properties (Globally)
IIS manager > Highlight Server > In the middle pane, double click "Logging"
Enable Windows Directory Service Mapper
(Cert based Auth)
IIS manager > Highlight vDir > In the middle pane, double click "SSL Settings" > "Client Certificates"
double click "SSL Settings" > "Client Certificates"
Change an HTTP error page
(e.g. for setting up a redirection)
double click "Error Pages"
Verify that ASP Server Side Debug flags are
on and Detailed error messages sent to client
double click "Error Pages" then click
"Edit Feature Settings"
Check for Host Headers
IIS manager > Highlight DWS > Edit Bindings
> HTTP or HTTPS > Edit > Host Name Options
Backup/Restore the Metabase
From a Command Prompt in directory type
appcmd add backup "backup name"
appcmd restore backup "backupname"