Web Service Extensions
Q. If I want to serve only static pages from IIS 6.0, can I increase IIS security by removing the Asp.dll file from the server?
A. No. As long as the Asp.dll file is disabled, it is secure from unauthorized use. You do not need to uninstall it.
Q. I get a 404 error when I try to navigate to my Active Server Pages (ASP) on a server running Windows Server 2003 with IIS 6.0. I know I had to install Microsoft ASP.NET, but do I need to install ASP for the server as well?
A. ASP is installed with IIS 6.0. The most common reason for getting a 404 error is that ASP is not enabled. For more information, see
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/proddocs/standard/qss_wss_troubleshooting.asp.
Q. IIS 6.0 will not serve my .shtml files. How can I fix this?
A. You must verify two configuration options to ensure that IIS 6.0 serves .shtml files. Because a .shtml file contains server-side directives, Server Side Includes must be set to "Allowed" in the IIS Manager Web Service Extensions node. In addition, if the default document on your Web site contains the .shtml extension, the file name and extension must be added to the default content page list on the Documents tab of the Web site Properties page.
Q. To set up a Web site to run ASP.NET, do I need to do more than install ASP.NET to enable it?
A. Yes. ASP.NET is not enabled by default, and installing ASP.NET through Add/Remove Windows Components will not enable it. To enable ASP.NET in IIS, you must enable it as a Web Service Extension. In IIS Manager, expand the local computer and expand Web Service Extensions. Then, in the Web Service Extension Table, find the versions of ASP.NET you want to enable, select them, and click Allow.
For more information on managing Web Service Extensions, see the TechNet IIS 6.0-related article Enabling and Disabling Dynamic Content.
Q.A. IIS Logging
Q. How do I change the log path and log file rollover frequency for centralized binary logging?
A. Configure the LogFileDirectory and LogFilePeriod properties in the metabase.
Q. What does the "Time Taken" field in my IIS 6.0 log file represent and what does it mean?
A. Time Taken is the total amount of time (in milliseconds) the request is in the IIS stack. See below for details.
Note: The following information applies to all log formats except ODBC logging.