Article ID: 279729 - Last Review: July 3, 2008 - Revision: 8.1 Web Pages Not Serving from IISThis article was previously published under Q279729 We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 7.0 running on Microsoft Windows Server 2008. IIS 7.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site: http://www.microsoft.com/technet/security/prodtech/IIS.mspx
(http://www.microsoft.com/technet/security/prodtech/IIS.mspx)
For more information about IIS 7.0, visit the following Microsoft Web site: http://www.iis.net/default.aspx?tabid=1
(http://www.iis.net/default.aspx?tabid=1)
SYMPTOMS When trying to browse a Web page that is hosted by Internet
Information Server/Services, clients may report they are unable to connect.
CAUSE Unfortunately, there is no single cause for IIS failing to
serve Web pages. Even if network connectivity can be eliminated as the cause,
additional information is required to determine the exact reason why clients
cannot connect to the server. MORE INFORMATION Because IIS is a complex product that relies on various
operating system components, it is important to determine if only certain types
of content have stopped being served. Following are two samples that you can
use to test the two most common types of content:
To test IIS's ability to serve HTML (static) content. Create a file called Hello.htm in the content folder for IIS (by default, this is C:\Inetpub\Wwwroot) that contains the sample code listed below. Then request http://localhost/hello.htm (http://localhost/hello.htm) from the Web browser that is installed on the IIS server. To test IIS's ability to serve ASP (dynamic) content. Create a file called Hello.asp in the content folder for IIS (by default, C:\Inetpub\Wwwroot), that contains the following sample code, Then request http://localhost/hello.asp (http://localhost/hello.asp) from the Web browser that is installed on the IIS server. The Hello.htm and Hello.asp samples can also be downloaded. The following file is available for download from the Microsoft Download Center: Hello.exe
(http://download.microsoft.com/download/iis50/other/1.0/win98mexp/en-us/hello.exe)
Release Date:
May-17-2001For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base: 119591
(http://support.microsoft.com/kb/119591/EN-US/
)
How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most
current virus-detection software that was available on the date that the file
was posted. The file is stored on security-enhanced servers that help to
prevent any unauthorized changes to the file.
The Hello.exe file contains the following files: Collapse this table
Hello.asp Displays ProperlyIf the phrase "Hello World" is displayed properly on the ASP test page, but another ASP page does not serve properly, the following reasons may apply:
Hello.asp Does Not Display Properly
Hello.htm Does Not Display ProperlyIf Hello.htm does not display properly, one of the following reasons may apply:
Debugging Distributed Web Applications To learn about recommended settings and optimization of IIS, see
the following Microsoft Web pages: http://msdn2.microsoft.com/en-us/library/ms951776.aspx (http://msdn2.microsoft.com/en-us/library/ms951776.aspx) Problem Isolation with Web-Based Applications 325162
(http://support.microsoft.com/kb/325162/
)
Support WebCast: Problem Isolation with Web-Based Applications
The Art and Science of Web Server Tuning with Internet Information Services 5.0 http://technet.microsoft.com/en-us/library/bb734897.aspx (http://technet.microsoft.com/en-us/library/bb734897.aspx) Tuning Internet Information Server Performance http://technet.microsoft.com/en-us/windowsserver/2000/bb735378.aspx (http://technet.microsoft.com/en-us/windowsserver/2000/bb735378.aspx) | Article Translations
|
Back to the top
