Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Browser Is Slow to Respond When You Use an Automatic Configuration Script


Symptoms

When you configure your Web browser to use either the
Automatically detect settings setting or the Use automatic configuration script setting in the browser's Web proxy settings, you may experience a long delay before Web pages start to load (the delay is usually between 5 to 40 seconds).

These symptoms only occur when you use the following configuration:
  • The Web proxy server is running either Proxy 2.0, Internet Security and Acceleration (ISA) Server, Microsoft Threat Management Gateway Medium Business Edition, or Windows Essential Business Server 2008.
  • You use the default automatic configuration script that is included in Proxy 2.0, ISA Server, Microsoft Threat Management Gateway Medium Business Edition, or Windows Essential Business Server 2008 (Array.dll?Get.Routing.Script or Wpad.dat).
  • You configure the default automatic configuration script to use the range of IP addresses that you specify in either the Allow clients to directly access IP addresses within this range setting in ISA Server, Windows Essential Business Server 2008, or the Do not use proxy for the following IP Addresses setting in Proxy 2.0.

↑ Back to the top


Cause

When you add either one Internet Protocol (IP) address or a range of IP addresses that are listed in ISA Server, Proxy 2.0, Microsoft Threat Management Gateway Medium Business Edition, or Windows Essential Business Server 2008 to the default automatic configuration script that you want the browser clients to gain access to directly, you allow browsers to bypass the Web proxy server for that particular IP address range. In this scenario, the isInNet function is used.

The isInNet function queries a DNS server. When you either try to gain access to a DNS name or type the DNS name in the Address box in the browser, the browser queries either its locally configured DNS server or its locally configured WINS server to try to resolve the DNS name to an IP address. If the browser is successful, it tries to match the IP address that is returned by DNS or WINS with the IP addresses that are used in the automatic configuration script. If these addresses match, the browser gains access to that Web site directly. If these addresses do not match, the request is sent to the Web proxy server as an ordinary Web proxy request. However, if your organization does not allow browser client computers to directly resolve DNS names on the Internet, when the browser client that uses the IsInNet function initiates a local name resolution query, the query may be unsuccessful.

The length of delay that occurs when the name resolution query is unsuccessful depends on the name resolution mechanisms that your organization uses. When the name resolution query is unsuccessful, the browser skips the procedure in which the IP address that is retrieved by isInNet is matched. Instead, the browser sends an ordinary Web proxy request, which causes the Web pages to load but with a long delay.

The delay occurs only when the name resolution query is unsuccessful. If the clients are locally configured with a DNS server that can resolve all DNS names on the Internet, you do not experience a delay when the Web pages load.

↑ Back to the top


Resolution

To resolve this problem, use one of the following methods:
  • Remove the IP addresses that are used in the automatic configuration script. To verify that a list of IP addresses is used in the automatic configuration script, review the client configuration settings in either the ISA Server, Proxy 2.0, Microsoft Threat Management Gateway Medium Business Edition, or Windows Essential Business Server 2008 administration tool.
  • Make sure that all Web Proxy browser clients can resolve all DNS names on the Internet by using its locally configured DNS server.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top


Keywords: pqsweptisawebscm99352yes, pqsweptisambecm99352yes, kbenv, kbprb, kb

↑ Back to the top

Article Info
Article ID : 315810
Revision : 3
Created on : 4/20/2018
Published on : 4/20/2018
Exists online : False
Views : 119