Troubleshooting Proxy Server RAS Autodial and Autodisconnect

ID: Q181407


The information in this article applies to:
  • Microsoft Proxy Server versions 1.0, 2.0

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

SUMMARY

Microsoft Proxy Server has the ability to autodial a RAS phonebook entry to connect to the Internet when a proxy request is made.

This article describes troubleshooting steps required for RAS autodial and autodisconnect to function correctly with Microsoft Proxy Server 1.0 and 2.0.

Please see "Setting Server Parameters" in the Microsoft Proxy Server documentation for complete Setup instructions before consulting this article.


MORE INFORMATION

Autodial

To disable RAS Autodial Manager:
  1. In Control Panel, double-click Services.


  2. In the Services dialog box, select Remote Access Autodial Manager and click Startup.


  3. In the Service dialog box, under Startup Type, click Disabled, and then click OK.


To enable Connection Manager:
  1. In Control Panel, double-click Services.


  2. In the Services dialog box, select Remote Access Connection Manager, and then click Startup.


  3. In the Service dialog box, under Startup Type, click Automatic, click OK, and then click Close.


Telephony:

If a prefix is required to reach an outside line, it must be manually pre- pended to the phone number in the RAS phonebook. The Telephony settings are not imported when using the RAS API.

Dialing Behavior:

Proxy Server 2.0 has changed the dialing behavior slightly. You can modify the registry to revert to Proxy Server 1.0 dialing behavior by doing the following:

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.


  1. Start Registry Editor.


  2. Create the following registry value:
    HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/W3Proxy/Parameters

    Value Name: DialFailFailsConnect
    Data Type: REG_DWORD
    Data: 0 (Decimal)


A value of zero (0) reverts to Proxy Server 1.0 behavior. A value of one (1) specifies the new behavior in Proxy Server 2.0.

Autodisconnect

RAS will fail to disconnect under any of the following conditions:
  • A Winsock application on a client is open and connected to the Internet.


  • A Web Proxy client (Web Browser) is left open and connected to a Web Page that contains a refresh tag.


  • The active caching feature of the Web Proxy service is updating the cache.


  • Other TCP/IP traffic is present on the modem connection from the Internet. For example, some Internet service providers may send router messages (such as ICMP or IGMP messages) to your server while it is connected to the Internet. A network trace utility such as network monitor can be used to verify that this is the cause of the problem. It may be necessary to contact your Internet service provider to correct this problem.


Other settings that may effect Autodisconnect:

PPP LCP extensions should be disabled to prevent LCP packets from resetting the autodisconnect timer. To disable, edit the phonebook entry for your connection. On the Server tab, clear the Enable PPP LCP Extensions check box.

To unbind the WINS Client from External Network Adapters:
  1. In Control Panel, double-click Network.


  2. In the Network dialog box, click the Bindings tab.


  3. Next to Show Bindings for, click the down arrow, and then select all adapters.


  4. In the adapter list, click the plus sign ( + ) next to Remote Access WAN Wrapper to expand the view.


  5. Under Remote Access WAN Wrapper, select WINS client (TCP/IP), and then click Disable.


  6. When finished, click OK.


To set Idle TimeOut:

The Idle TimeOut option in Dial-Up Networking must be set for the connection to hang up after being idle.
  1. Open the Dial-Up Networking dialog box, and select User Preferences from the More button.


  2. Disable Autodial by location, and set Idle Seconds Before Hanging Up to the desired amount of time: This value should be greater than 60.


  3. Choose Logon Preferences from the More button, and set Idle Seconds Before Hanging Up to the same value as User Preferences.


  4. Open Control Panel/Services and disable the Remote Access Autodial Manager service. (See the beginning of this article.)


To disable the LMAnnounce Parameter:
  1. Click Start, point to Settings, and then click Control Panel.


  2. Double-click Network, click the Services tab, and then click Server.


  3. Click Properties, and then click to clear the Make Browser Broadcasts to LAN Manager 2.x Clients check box.


  4. Click OK, click Close, and then restart your computer when prompted.


Note: A network monitor trace will show packets similar to the following. For the LMAnnounce, you may see a packet similar to the following:
SMB C transact, File = \MAILSLOT\LANMAN
Where the destination IP address will be a subnet broadcast address.

For more information, see the following Microsoft Knowledge Base article:
Q177122 Error Message 12207 - Proxy Dialout Connection Failed

Additional query words: sbsfaqtop autohangup auto-dial auto-hangup auto-disconnect DUP dial up networking

Keywords : prx2faq kbfaq sbsfaqtop
Version : winnt:1.0,2.0
Platform : winnt
Issue type : kbhowto


Last Reviewed: July 28, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.