PRB: RasDial API Returns Error 629 in Release Version of the Application (241513)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows NT Server 4.0
  • Microsoft Windows NT Workstation 4.0

This article was previously published under Q241513

SYMPTOMS

In the following scenario, the Remote Access Server (RAS) client is running on Windows NT 4.0 (Service Pack 3 or later) and the RAS server is running on a non-Windows platform (for example, SCO UNIX). The phonebook entry is configured to use a RAS script for authenticating against the UNIX server. The application calls the RasDial API with this phonebook entry. If this application is run in its Release mode, then RasDial may return Error 629, ERROR_REMOTE_DISCONNECTION.

CAUSE

This problem may be caused by an improper setting of the modem speed.

RESOLUTION

The possible solution for this error is to change the modem speed settings. There are two methods to change the modem speed settings:
  • Method 1
    1. Edit the phonebook entry's properties in the Dial Up Networking UI.
    2. Click Configure in the Basic tab.
    3. Choose a faster speed (19200 or more) from the Initial speed (bps) drop-down list box.
  • Method 2
    1. On the Start menu, point to Settings, then click Control Panel.
    2. Double-click Ports.
    3. Choose the Port on which the RAS connection is being made.
    4. Click Settings.
    5. Increase the Baud Rate setting to 19200 or higher.

Modification Type:MinorLast Reviewed:2/11/2004
Keywords:kbDSWNET2003Swept kbAPI kbnetwork kbprb KB241513