BUG: RasEnumEntries Returns an Unhandled Exception Error when RAS Services are Disabled (254546)



The information in this article applies to:

  • Microsoft Windows NT Server 4.0 SP6a
  • Microsoft Windows NT Workstation 4.0 SP6a

This article was previously published under Q254546

SYMPTOMS

The RasEnumEntries function returns an unhandled exception error on Microsoft Windows NT 4.0-based computers if the Remote Access Services (RAS) are disabled. However, it should return Error 711:
ERROR_RASMAN_CANNOT_INITIALIZE.

RESOLUTION

On Microsoft Windows 2000-based computers, the RasEnumEntries function works correctly and returns Error 711.

STATUS

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

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a phone book entry, named Test_Entry.
  2. Run a RasEnumEntries sample code, and it returns Test_Entry.
  3. Open Control Panel. In the Control Panel dialog box double-click Services.
  4. In the Services dialog box, select the "RAS Autodial Manager" service.
  5. In the Services dialog box, click HW_Profiles.
  6. In the Service dialog box, click Disable.
  7. Repeat steps 4 and 5 for the RAS Connection Manager and RAS Server services.
  8. Open Control Panel again, and then double-click Devices.
  9. In the Devices dialog box, select Modem.
  10. In the Devices dialog box, click HW_Profiles.
  11. In the Device dialog box, select each modem and then click Disable to disable all the modems in the list.
  12. Reboot the computer.
  13. Run the same RasEnumEntries sample code and it fails with the exception error.
  14. Run sample code with another RAS API, like RasEnumDevices, and the API fails with Error 711.

Modification Type:MinorLast Reviewed:2/11/2004
Keywords:kbDSWNET2003Swept kbAPI kbbug kbnetwork kbpending KB254546