You may experience poor Web performance when you use Internet Explorer 6 to try to access a Web application that is hosted on Internet Information Services 6.0 (922703)
The information in this article applies to:
- Microsoft Internet Explorer 6.0
- Microsoft Internet Information Services 6.0
SYMPTOMSConsider the following scenario: - You use Windows Integrated authentication in a Microsoft Internet Information Services 6.0 (IIS 6.0) Web application environment.
- You use Microsoft Internet Explorer 6 to access a Web application that is hosted on IIS 6.0.
In this scenario, you may experience poor Web application performance. Note The problem does not occur if Anonymous authentication is used as the authentication protocol. This problem also does not occur if the client browser is a browser other than Internet Explorer 6, such as Mozilla Firefox. CAUSEThis problem occurs because the Internet Explorer 6 client regularly resets the TCP connections.
If you analyze a network trace that is captured during the poorly-performing communication between the client and the server, the network trace shows that the TCP resets will occur after the client receives a 200 response for the resource that the client has requested. The client makes the GET requests with an ETag HTTP header and value. When the server that is running IIS 6.0 receives the request, it compares the ETag value and finds that the ETag value matches the requested file's current value, except for the change number.
Note ETag headers appear in the following format:
Filetimestamp:ChangeNumber
For example, the Internet Explorer client sends a request with an ETag value of 0222d5bffcbc41:301a, and then the server will send an HTTP 200 response with an ETag value of 0222d5bffcbc41:3246.
The Filetimestamp number in the request is the same number that IIS 6.0 considers to be the current
value for the request resource. But because the ChangeNumber number in the request is different, IIS 6.0 sends back
the current version of the file instead of telling Internet Explorer to serve its own cached
copy. There is
specific code in Internet Explorer that compares the Filetimestamp on a 200 response with the
Timestamp of the locally-cached copy. The connection is reset if they are the
same number. This is because the Internet Explorer client expects to receive a 304 status report if the content is the
same.
In other words, IIS 6.0 sends a 200 response because it considers the different
change numbers to mean that the resource that is requested by the client and by the client's pre-existing version of this resource that resides in the browser cache are not the same versions. However, Internet Explorer
considers them to be the same versions because the Filetimestamp is the same. Additionally, Internet Explorer believes that it is
receiving the 200 response in error. In this scenario, Internet Explorer resets the TCP connection.
WORKAROUNDIf you are using a Microsoft Windows Server 2003-based computerTo work around this problem, we recommend that you hard code the change number on the Web server and that you synchronize the file version for all the Internet Explorer clients. All the Internet Explorer clients will have versions of all the
different files that are required for the application. You must make sure that the server and all the clients are synchronized. NOTE If you are running in an IIS 6.0 Web farm environment, you will have to
hard code the same change number for all the servers that are running IIS 6.0 in the farm.
To synchronize the change number values between the clients and the server, follow these steps. - Manually hard code the ETag value in the IIS 6.0 metabase
The ability to modify the ETag change number on IIS 6.0 is available in Windows Server 2003 Service Pack 1 (SP1).
Note You may experience a problem when you change the ETag value, and you must install a hotfix to fix this problem.
For more information about the hotfix, click the following article number to view the article in the Microsoft Knowledge Base:
900245
The value in the ETAG field is updated when you modify a metabase property in IIS 6.0
After you install the hotfix, you can manually hard code the ETag
change number. However, the setting for the ETag change number is not exposed to the Active Directory Service Interfaces (ADSI) namespace.
Therefore, you must use the Metabase Explorer tool to set the value by property ID. To download and install Metabase Explorer, visit the following Microsoft Web page: Note Metabase Explorer is included in the IIS 6.0 resource kit.
To manually hard code the ETag
change number, follow these steps:- Open Metabase Explorer, expand LM on the left pane, and then expand W3SVC.
- Double-click the ID 2039 record on the right pane.
- Type a number from 1 through 4294967295 in the Value box. The actual number that you use is irrelevant, as long as it is within the previously mentioned range. For more information, visit the following Microsoft Web page:
- Click Apply, and then click OK.
Note If you are running IIS 6.0 servers in an IIS 6.0 Web farm environment, repeat steps 1a through 1d on all the IIS 6.0 servers in the farm. Make sure that you add the same change number value on all servers. - Clear the client browser cache in Internet Explorer
If there are too many client browsers to
manually clear the cache, you can select Enable Content Expiration in IIS 6.0 and then specify that the content expires immediately. In this scenario, you need to leave Enable Content Expiration turned on for only as long as it takes for all
clients have fresh content. Then, you need to turn off Enable Content Expiration to give Internet Explorer a
chance to serve cached content again. To enable content expiration, follow these steps:- Open Internet Information Services.
- Expand LocalMachine on the left pane, and then click Web Sites.
- Right-click Web Sites, and then click Properties.
- On the HTTP Headers tab, click to select the Enable Content Expiration check box, and then click the Expire Immediately option.
- Stop and restart all the IIS 6.0 services.
Note
A client may have to make two requests for a resource after the Enable Content Expiration check box is
enabled to update the Internet Explorer cache.
If you are not using a Windows Server 2003-based computerTo work around this problem, enable the
Enable Content Expiration option in IIS 6.0 by using the procedure that is described in the "Clear the client browser cache in Internet Explorer" section, and leave it on. Additionally, turn off caching in Internet Explorer or set cache control headers in the Web application.
For more information about how to prevent Web caching, click the following article number to view the article in the Microsoft Knowledge Base:
311006
How to prevent Web caching in Windows 2000
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 8/23/2006 |
---|
Keywords: | kbtshoot kbprb KB922703 kbAudDeveloper kbAudITPRO |
---|
|