Author Topic: IIS 6.0 Frequently Asked Questions (FAQ Part 1)  (Read 11399 times)

ctwjr

  • Newbie
  • *
  • Posts: 42
  • Karma: 1
  • The Best of the Best
    • View Profile
    • Linux Boards
IIS 6.0 Frequently Asked Questions (FAQ Part 1)
« on: February 13, 2007, 03:59:35 PM »
Frequently Asked Questions About IIS 6.0


General Questions


Q.
Where can I find documentation containing best practices for configuring IIS 6.0, including scenarios for migrating IIS 4.0 and IIS 5.0 applications to a fresh install of IIS 6.0?


A.
A downloadable Resource Kit covers upgrades, migrations, and recommended configurations in detail. See Internet Information Services (IIS) 6.0 Resource Kit.

Q.
Is there any way to migrate multiple IIS Web sites? The IIS 6.0 Migration tool migrates only one Web site at a time.


A.
You can use tools such as MetaEdit 2.2 or Metabase Explorer to migrate the IIS configuration for multiple sites from one server to another. (Note that MetaEdit 2.2 works only with versions of IIS prior to IIS 6.0.) However, you must migrate the site content on your own. For more information, see HOW TO: Download, Install, and Remove the IIS MetaEdit 2.2 Utility and IIS 6.0 Resource Kit Tools.

Q.
I have a third-party application that requires a specific Web site ID number. How can I change the IIS Web site ID?


A.
To change a Web site ID number, use Adsutil.vbs. The following example changes a site ID from 1 to 100:
cscript adsutil.vbs move w3svc/1 w3svc/100 For more information about Adsutil.vbs, see Adsutil.vbs Commands.

Q.
My static files are not being served from the static file cache (HTTP.sys response cache). What am I doing wrong?


A.
There are a number of different factors that disable the HTTP.sys response cache for specific responses. For example, requests requiring anything other than anonymous authentication will not have their responses cached. For a complete list of factors that disable the HTTP.sys response, see Events and Conditions that Disable HTTP.sys Response Caching.

Q.
During an unattended installation of IIS 6.0 Resource Kit Tools, the installation stops at the License Acceptance step, even though I'm using the setup file that is generated by the installation process. Is an unattended install possible?


A.
No. The installer for the IIS 6.0 Resource Kit Tools does not permit unattended installations. You can install the IIS 6.0 Resource Kit Tools from the Microsoft Download Center.

Q.
I cannot locate problems on my server when I rely on HTTP error messages (for example, "503 - Service Unavailable"). How can I view more technical error messages?


A.
To turn off friendly error messages in Internet Explorer, follow these steps:
1.
On the Tools menu in Internet Explorer, click Internet Options.
2.
Click the Advanced tab.
3.
In the list of options under Browsing, clear the Show friendly HTTP error messages check box.
4.
Click Apply, and then click OK.

Q.
How can I find out which worker processes are connected to the application pools on a server?


A.
You can run the command-line script iisapp.vbs (%windir%\system32\iisapp.vbs) to list any of the following:
« Last Edit: February 13, 2007, 04:05:43 PM by ctwjr »

ctwjr

  • Newbie
  • *
  • Posts: 42
  • Karma: 1
  • The Best of the Best
    • View Profile
    • Linux Boards
IIS 6.0 Frequently Asked Questions (FAQ Part 2)
« Reply #1 on: February 13, 2007, 04:00:36 PM »
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.
« Last Edit: February 13, 2007, 04:05:15 PM by ctwjr »

ctwjr

  • Newbie
  • *
  • Posts: 42
  • Karma: 1
  • The Best of the Best
    • View Profile
    • Linux Boards
Re: IIS 6.0 Frequently Asked Questions (FAQ Part 3)
« Reply #2 on: February 13, 2007, 04:01:33 PM »
IIS Metabase


Q.
Where can I find documentation about metabase properties that have changed between IIS 5.0 and IIS 6.0?


A.
An appendix in the IIS 6.0 Deployment Guide covers changes in metabase properties. See Appendix B: Changes to Metabase Properties in IIS 6.0.

Q.
When I run backup software on IIS 6.0, I get a message saying that the Metabase.bin file is not found. Why?


A.
Some backup software might look for the existence of the Metabase.bin file to verify that the backup was successful. For information about how to resolve this problem, see Metabase.bin File Is Not Created on Clean Installations of IIS 6.0.

Q.
Can I change the default location of the IIS 6.0 metabase (metabase.xml) or where the automatic backups IIS creates are stored?


A.
No. These settings are not configurable in IIS 6.0. As a best practice, however, make regular backups of the IIS metabase and store it in a different location.

Q.
How can I change the user name and password for an Application Pool from the command line?


A.
Use the following two commands, substituting your information for the text in italics.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
5558 Views
Last post March 11, 2006, 02:53:03 PM
by Dynaweb