BUG: Application Hangs When RasDial Is Used in a Service

Last reviewed: February 20, 1998
Article ID: Q181517
The information in this article applies to:
  • Microsoft Windows NT Workstation version 4.0

SYMPTOMS

When you use RasDial() in a stand-alone application and an invalid username or password is supplied, the following error message appears:

   ERROR_AUTHENTICATION_FAILURE

However when an application calls RasDial() to dial in a service with an invalid username or password, you get an Access Violation at location 0000:0000.

RESOLUTION

You must ensure that a valid username and password is either hard-coded, or, if you have a GUI, then you need to prompt the users to enter a valid username and password in order to prevent the application from hanging.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.

Keywords          : NtwkRAS
Version           : WINNT:4.0
Platform          : winnt
Issue type        : kbbug


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 20, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.