BUG: RasEnumEntries Returns an Unhandled Exception Error when RAS Services are Disabled |
Q254546
The information in this article applies to:
- Microsoft Windows NT Server version 4.0 SP6a
- Microsoft Windows NT Workstation version 4.0 SP6a
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 this to be a bug in the Microsoft products listed at the beginning of this article.
MORE INFORMATION
Steps to Reproduce Behavior
- Create a phone book entry, named Test_Entry.
- Run a RasEnumEntries sample code, and it returns Test_Entry.
- Open Control Panel. In the Control Panel dialog box double-click Services.
- In the Services dialog box, select the "RAS Autodial Manager" service.
- In the Services dialog box, click HW_Profiles.
- In the Service dialog box, click Disable.
- Repeat steps 4 and 5 for the RAS Connection Manager and RAS Server services.
- Open Control Panel again, and then double-click Devices.
- In the Devices dialog box, select Modem.
- In the Devices dialog box, click HW_Profiles.
- In the Device dialog box, select each modem and then click Disable to disable all the modems in the list.
- Reboot the computer.
- Run the same RasEnumEntries sample code and it fails with the exception error.
- Run sample code with another RAS API, like RasEnumDevices, and the API fails with Error 711.
Additional query words:
Keywords : kbnetwork kbAPI kbRAS kbSDKPlatform kbSDKWin32 _IK kbGrpDSNet
Issue type : kbbug
Technology : kbWinNTsearch kbWinNTWsearch kbWinNTW400search kbWinNT400xsearch kbWinNTSsearch kbWinNTS400sp6 kbWinNTS400xsearch kbWinNTW400SP6a
Last Reviewed: October 23, 2000 |