Routing and Remote Access Error Codes

The following Routing and Remote Access (RRAS) API error codes are defined in raserror.h. All error codes are supported in Windows 2000 or later versions of Windows unless specified otherwise.

Return code/value Description
PENDING
600
An operation is pending.
ERROR_INVALID_PORT_HANDLE
601
The port handle supplied is not valid.
ERROR_PORT_ALREADY_OPEN
602
The specified port is already open.
ERROR_BUFFER_TOO_SMALL
603
The buffer supplied is too small.
ERROR_WRONG_INFO_SPECIFIED
604
The port information specified is incorrect.
ERROR_CANNOT_SET_PORT_INFO
605
The port information specified cannot be set.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_PORT_NOT_CONNECTED
606
The port specified is not connected.
ERROR_EVENT_INVALID
607
An event that is not valid was detected.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_DEVICE_DOES_NOT_EXIST
608
The specified device does not exist.
ERROR_DEVICETYPE_DOES_NOT_EXIST
609
The specified device type does not exist.
ERROR_BUFFER_INVALID
610
The buffer supplied is not valid.
ERROR_ROUTE_NOT_AVAILABLE
611
A route was specified that is not available.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_ROUTE_NOT_ALLOCATED
612
The specified route is not allocated.
ERRERROR_INVALID_COMPRESSION_SPECIFIED
613
The specified compression is not valid.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_OUT_OF_BUFFERS
614
There were insufficient buffers available.
ERROR_PORT_NOT_FOUND
615
The specified port was not found.
ERROR_ASYNC_REQUEST_PENDING
616
An asynchronous request is pending.
ERROR_ALREADY_DISCONNECTING
617
The specified port or device is already disconnecting.
ERROR_PORT_NOT_OPEN
618
The specified port is not open.
ERROR_PORT_DISCONNECTED
619
The specified port is disconnected.
ERROR_NO_ENDPOINTS
620
No endpoints could be determined.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_CANNOT_OPEN_PHONEBOOK
621
Cannot open the specified phone book file.
ERROR_CANNOT_LOAD_PHONEBOOK
622
Cannot load the specified phone book file.
ERROR_CANNOT_FIND_PHONEBOOK_ENTRY
623
Cannot find the specified phone book entry.
ERROR_CANNOT_WRITE_PHONEBOOK
624
Cannot write to the specified phone book file.
ERROR_CORRUPT_PHONEBOOK
625
Information found in the specified phone book is not valid.
ERROR_CANNOT_LOAD_STRING
626
A string could not be loaded.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_KEY_NOT_FOUND
627
Cannot find the specified key.
ERROR_DISCONNECTION
628
The specified port was disconnected.
ERROR_REMOTE_DISCONNECTION
629
The specified port was disconnected by the remote computer.
ERROR_HARDWARE_FAILURE
630
The specified port was disconnected due to hardware failure.
ERROR_USER_DISCONNECTION
631
The specified port was disconnected by the user.
ERROR_INVALID_SIZE
632
Incorrect structure size.
ERROR_PORT_NOT_AVAILABLE
633
The specified port is already in use or is not configured for remote access dial-out.
ERROR_CANNOT_PROJECT_CLIENT
634
Your computer could not be registered on the remote network.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_UNKNOWN
635
An unknown error has occurred.
ERROR_WRONG_DEVICE_ATTACHED
636
The wrong device is attached to the specified port.
ERROR_BAD_STRING
637
A string was detected that could not be converted.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_REQUEST_TIMEOUT
638
The request has timed out.
ERROR_CANNOT_GET_LANA
639
No asynchronous net is available.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_NETBIOS_ERROR
640
An error has occurred involving NetBIOS.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_SERVER_OUT_OF_RESOURCES
641
he server cannot allocate NetBIOS resources needed to support the client.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_NAME_EXISTS_ON_NET
642
One of your computer's NetBIOS names is already registered on the remote network.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_SERVER_GENERAL_NET_FAILURE
643
A network adapter at the server failed.

Note:
Deprecated in Windows Vista and later versions of Windows.


WARNING_MSG_ALIAS_NOT_ADDED
644
You will not receive network message popups.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_AUTH_INTERNAL
645
An internal authentication error has occurred.
ERROR_RESTRICTED_LOGON_HOURS
646
The specified account is not permitted to log in at this time of day.
ERROR_ACCT_DISABLED
647
The specified account is disabled.
ERROR_PASSWD_EXPIRED
648
The specified password has expired.
ERROR_NO_DIALIN_PERMISSION
649
The specified account does not have remote access permissions.
ERROR_SERVER_NOT_RESPONDING
650
The remote access server is not responding.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_FROM_DEVICE
651
Your modem or other connection device has reported an error.
ERROR_UNRECOGNIZED_RESPONSE
652
An unrecognized response was returned by the device.
ERROR_MACRO_NOT_FOUND
653
A macro required by the device was not found in the device .INF file section.
ERROR_MACRO_NOT_DEFINED
654
A command or response in the device .INF file section refers to an undefined macro.
ERROR_MESSAGE_MACRO_NOT_FOUND
655
The <message> macro was not found in the device .INF file section.
ERROR_DEFAULTOFF_MACRO_NOT_FOUND
656
The \<defaultoff> macro in the device .INF file section contains an undefined macro.
ERROR_FILE_COULD_NOT_BE_OPENED
657
The device .INF file could not be opened.
ERROR_DEVICENAME_TOO_LONG
658
The device name in the device .INF or media .INI file is too long.
ERROR_DEVICENAME_NOT_FOUND
659
The media .INI file refers to an unknown device name.
ERROR_NO_RESPONSES
660
The device .INF file contains no responses for the command.
ERROR_NO_COMMAND_FOUND
661
The device .INF file is missing a command.
ERROR_WRONG_KEY_SPECIFIED
662
Attempted to set a macro not listed in device .INF file section.
ERROR_UNKNOWN_DEVICE_TYPE
663
The media .INI file refers to an unknown device type.
ERROR_ALLOCATING_MEMORY
664
Cannot allocate memory.
ERROR_PORT_NOT_CONFIGURED
665
The port is not configured for remote access.
ERROR_DEVICE_NOT_READY
666
Your modem or other connection device is not functioning.
ERROR_READING_INI_FILE
667
Cannot read the media .INI file.
ERROR_NO_CONNECTION
668
The connection was dropped.
ERROR_BAD_USAGE_IN_INI_FILE
669
The usage parameter in the media .ini file is not valid.
ERROR_READING_SECTIONNAME
670
Cannot read the section name from the media .INI file.
ERROR_READING_DEVICETYPE
671
Cannot read the device type from the media .INI file.
ERROR_READING_DEVICENAME
672
Cannot read the device name from the media .INI file.
ERROR_READING_USAGE
673
Cannot read the usage from the media .INI file.
ERROR_READING_MAXCONNECTBPS
674
The system was unable to read the maximum carrier connection speed from the media .INI file.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_READING_MAXCARRIERBPS
675
Cannot read the usage from the media .INI file.
ERROR_LINE_BUSY
676
The line is busy.
ERROR_VOICE_ANSWER
677
A person answered instead of a modem.
ERROR_NO_ANSWER
678
There is no answer.
ERROR_NO_CARRIER
679
Cannot detect a carrier signal.
ERROR_NO_DIALTONE
680
There is no dial tone.
ERROR_IN_COMMAND
681
The modem (or other connecting device) reported a general error.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_WRITING_SECTIONNAME
682
There was an error in writing the section name.
ERROR_WRITING_DEVICETYPE
683
There was an error in writing the device type.
ERROR_WRITING_DEVICENAME
684
There was an error in writing the device name.
ERROR_WRITING_MAXCONNECTBPS
685
There was an error in writing the maximum connection speed.
ERROR_WRITING_MAXCARRIERBPS
686
There was an error in writing the maximum carrier speed.
ERROR_WRITING_USAGE
687
There was an error in writing the usage.
ERROR_WRITING_DEFAULTOFF
688
There was an error in writing the default-off.
ERROR_READING_DEFAULTOFF
689
ERROR_EMPTY_INI_FILE
690
The media .INI file is empty.
ERROR_AUTHENTICATION_FAILURE
691
Access denied because the user name, password, or both is not valid on the domain.
ERROR_PORT_OR_DEVICE
692
A hardware failure has occurred in the port or attached device
ERROR_NOT_BINARY_MACRO
693
The macro is not a binary macro.
ERROR_DCB_NOT_FOUND
694
DCB not found.
ERROR_STATE_MACHINES_NOT_STARTED
695
State machines are not started.
ERROR_STATE_MACHINES_ALREADY_STARTED
696
State machines are already started.
ERROR_PARTIAL_RESPONSE_LOOPING
697
Partial response looping.
ERROR_UNKNOWN_RESPONSE_KEY
698
A response key name in the device .INF file is not in the expected format.
ERROR_RECV_BUF_FULL
699
The device response caused a buffer overflow.
ERROR_CMD_TOO_LONG
700
The expanded command in the device .INF file is too long.
ERROR_UNSUPPORTED_BPS
701
The device moved to a connection speed that is not supported by the COM driver.
ERROR_UNEXPECTED_RESPONSE
702
Device response received when none expected.
ERROR_INTERACTIVE_MODE
703
An error occurred because the interactive mode is enabled.
ERROR_BAD_CALLBACK_NUMBER
704
A bad callback number was specified.
ERROR_INVALID_AUTH_STATE
705
The specified authentication state is not valid.
ERROR_WRITING_INITBPS
706
An error occurred when writing the initial connection speed.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_X25_DIAGNOSTIC
707
An X.25 diagnostic indication was received.
ERROR_ACCT_EXPIRED
708
The specified account has expired.
ERROR_CHANGING_PASSWORD
709
An error occurred while attempting to change the password on the domain.
ERROR_OVERRUN
710
Serial overrun errors were detected while communicating with your modem.
ERROR_RASMAN_CANNOT_INITIALIZE
711
RasMan initialization failure. Check the event log.
ERROR_BIPLEX_PORT_NOT_AVAILABLE
712
The two-way port is initializing. Wait a few seconds and redial.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_NO_ACTIVE_ISDN_LINES
713
No active ISDN lines are available.
ERROR_NO_ISDN_CHANNELS_AVAILABLE
714
No ISDN channels are available to make the call.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_TOO_MANY_LINE_ERRORS
715
Too many errors occurred because of poor phone line quality.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_IP_CONFIGURATION
716
The remote access IP configuration is unusable.
ERROR_NO_IP_ADDRESSES
717
No IP addresses are available in the static pool of remote access IP addresses.
ERROR_PPP_TIMEOUT
718
A PPP timeout occurred.
ERROR_PPP_REMOTE_TERMINATED
719
The connection was terminated by the remote computer.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_PPP_NO_PROTOCOLS_CONFIGURED
720
No PPP control protocols are configured.
ERROR_PPP_NO_RESPONSE
721
The remote PPP peer is not responding.
ERROR_PPP_INVALID_PACKET
722
The PPP packet is not valid.
ERROR_PHONE_NUMBER_TOO_LONG
723
The phone number, including the prefix and suffix, is too long.
ERROR_IPXCP_NO_DIALOUT_CONFIGURED
724
The IPX protocol cannot dial out on the modem (or other connecting device) because this computer is not configured for dialing out (it is an IPX router).

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_IPXCP_NO_DIALIN_CONFIGURED
725
The IPX protocol cannot dial in on the modem (or other connecting device) because this computer is not configured for dialing in (the IPX router is not installed).

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_IPXCP_DIALOUT_ALREADY_ACTIVE
726
The IPX protocol cannot be used for dial-out on more than one port at a time.
ERROR_ACCESSING_TCPCFGDLL
727
Cannot access TCPCFG.DLL.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_NO_IP_RAS_ADAPTER
728
Cannot find an IP adapter bound to remote access.
ERROR_SLIP_REQUIRES_IP
729
SLIP cannot be used unless the IP protocol is installed.
ERROR_PROJECTION_NOT_COMPLETE
730
Computer registration is not complete.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_PROTOCOL_NOT_CONFIGURED
731
The specified protocol is not configured.
ERROR_PPP_NOT_CONVERGING
732
The PPP negotiation is not converging.
ERROR_PPP_CP_REJECTED
733
the PPP control protocol for the specified network protocol is not available on the server.
ERROR_PPP_LCP_TERMINATED
734
The PPP link control protocol was terminated.
ERROR_PPP_REQUIRED_ADDRESS_REJECTED
735
The requested address was rejected by the server.
ERROR_PPP_NCP_TERMINATED
736
The remote computer terminated the control protocol.
ERROR_PPP_LOOPBACK_DETECTED
737
Loopback detected.
ERROR_PPP_NO_ADDRESS_ASSIGNED
738
The server did not assign an address.
ERROR_CANNOT_USE_LOGON_CREDENTIALS
739
The remote server cannot use the Windows NT encrypted password.
ERROR_TAPI_CONFIGURATION
740
The TAPI devices configured for remote access failed to initialize or were not installed correctly.
ERROR_NO_LOCAL_ENCRYPTION
741
The local computer does not support encryption.
ERROR_NO_REMOTE_ENCRYPTION
742
The remote server does not support encryption.
ERROR_REMOTE_REQUIRES_ENCRYPTION
743
The remote computer requires data encryption.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_IPXCP_NET_NUMBER_CONFLICT
744
The system cannot use the IPX network number assigned by the remote computer. Additional information is provided in the event log.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_INVALID_SMM
745
The Session Management Module (SMM) is not valid.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_SMM_UNINITIALIZED
746
The SMM is uninitialized.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_NO_MAC_FOR_PORT
747
No MAC for port.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_SMM_TIMEOUT
748
The SMM timed out.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_BAD_PHONE_NUMBER
749
A bad phone number was specified.
ERROR_WRONG_MODULE
750
The wrong SMM was specified.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_INVALID_CALLBACK_NUMBER
751
The callback number contains a character that is not valid. Only the following 18 characters are allowed: 0 to 9, T, P, W, (, ), -, @, and space.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_SCRIPT_SYNTAX
752
A syntax error was encountered while processing a script.
ERROR_HANGUP_FAILED
753
The connection could not be disconnected because it was created by the multi-protocol router.
ERROR_BUNDLE_NOT_FOUND
754
The system could not find the multi-link bundle.
ERROR_CANNOT_DO_CUSTOMDIAL
755
The system cannot perform automated dial because this connection has a custom dialer specified.
ERROR_DIAL_ALREADY_IN_PROGRESS
756
This connection is already being dialed.
ERROR_RASAUTO_CANNOT_INITIALIZE
757
RAS could not be started automatically. Additional information is provided in the event log.
ERROR_CONNECTION_ALREADY_SHARED
758
Internet Connection Sharing (ICS) is already enabled on the connection.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_SHARING_CHANGE_FAILED
759
An error occurred while the existing Internet Connection Sharing settings were being changed.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_SHARING_ROUTER_INSTALL
760
An error occurred while routing capabilities were being enabled.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_SHARE_CONNECTION_FAILED
761
An error occurred while Internet Connection Sharing was being enabled for the connection.

Note:
Deprecated in Windows Vista and later versions of Windows.


7ERROR_SHARING_PRIVATE_INSTALL64
762
An error occurred while the local network was being configured for sharing.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_CANNOT_SHARE_CONNECTION
763
Internet Connection Sharing cannot be enabled. There is more than one LAN connection other than the connection to be shared.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_NO_SMART_CARD_READER
764
No smart card reader is installed.
ERROR_SHARING_ADDRESS_EXISTS
765
Internet Connection Sharing cannot be enabled. A LAN connection is already configured with the IP address that is required for automatic IP addressing.
ERROR_NO_CERTIFICATE
766
A certificate could not be found. Connections that use the L2TP protocol over IPSec require the installation of a machine certificate, also known as a computer certificate.
ERROR_SHARING_MULTIPLE_ADDRESSES
767
Internet Connection Sharing cannot be enabled. The LAN connection selected as the private network has more than one IP address configured. Please reconfigure the LAN connection with a single IP address before enabling Internet Connection Sharing.
ERROR_FAILED_TO_ENCRYPT
768
The connection attempt failed because of failure to encrypt data.
ERROR_BAD_ADDRESS_SPECIFIED
769
The specified destination is not reachable.
ERROR_CONNECTION_REJECT
770
The remote computer rejected the connection attempt.
ERROR_CONGESTION
771
The connection attempt failed because the network is busy.
ERROR_INCOMPATIBLE
772
The remote computer's network hardware is incompatible with the type of call requested.
ERROR_NUMBERCHANGED
773
The connection attempt failed because the destination number has changed.
ERROR_TEMPFAILURE
774
The connection attempt failed because of a temporary failure. Try connecting again.
ERROR_BLOCKED
775
The call was blocked by the remote computer.
ERROR_DONOTDISTURB
776
The call could not be connected because the remote computer has invoked the Do Not Disturb feature.
ERROR_OUTOFORDER
777
The connection attempt failed because the modem or other connection device on the remote computer is out of order.
ERROR_UNABLE_TO_AUTHENTICATE_SERVER
778
It was not possible to verify the identity of the server.
ERROR_SMART_CARD_REQUIRED
779
To dial out using this connection you must use a smart card.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_INVALID_FUNCTION_FOR_ENTRY
780
An attempted function is not valid for this connection.
ERROR_CERT_FOR_ENCRYPTION_NOT_FOUND
781
The encryption attempt failed because no valid certificate was found.

Note:
Deprecated in Windows Vista and later versions of Windows.


ERROR_SHARING_RRAS_CONFLICT
782
Connection Sharing (NAT) is currently installed as a routing protocol, and must be removed before enabling Internet Connection Sharing.
ERROR_SHARING_NO_PRIVATE_LAN
783
Internet Connection Sharing cannot be enabled. The LAN connection selected as the private network is either not present, or is disconnected from the network. Please ensure that the LAN adapter is connected before enabling Internet Connection Sharing.
ERROR_NO_DIFF_USER_AT_LOGON
784
You cannot dial using this connection at login time because it is configured to use a user name different than the one on the smart card. If you want to use this connection at login time, you must configure it to use the user name on the smart card.
ERROR_NO_REG_CERT_AT_LOGON
785
You cannot dial using this connection at login time because it is not configured to use a smart card. If you want to use it at login time, you must edit the properties of this connection so that it uses a smart card.
ERROR_OAKLEY_NO_CERT
786
The L2TP connection attempt failed because there is no valid machine certificate on your computer for security authentication.
ERROR_OAKLEY_AUTH_FAIL
787
The L2TP connection attempt failed because the security layer could not authenticate the remote computer.
ERROR_OAKLEY_ATTRIB_FAIL
788
The L2TP connection attempt failed because the security layer could not negotiate compatible parameters with the remote computer.
ERROR_OAKLEY_GENERAL_PROCESSING
789
The L2TP connection attempt failed because the security layer encountered a processing error during initial negotiations with the remote computer.
ERROR_OAKLEY_NO_PEER_CERT
790
The L2TP connection attempt failed because certificate validation on the remote computer failed.
ERROR_OAKLEY_NO_POLICY
791
The L2TP connection attempt failed because security policy for the connection was not found.
ERROR_OAKLEY_TIMED_OUT
792
The L2TP connection attempt failed because security negotiation timed out.
ERROR_OAKLEY_ERROR
793
The L2TP connection attempt failed because an error occurred while negotiating security.
ERROR_UNKNOWN_FRAMED_PROTOCOL
794
The Framed Protocol RADIUS attribute for this user is not PPP.
ERROR_WRONG_TUNNEL_TYPE
795
The Tunnel Type RADIUS attribute for this user is not correct.
ERROR_UNKNOWN_SERVICE_TYPE
796
The Service Type RADIUS attribute for this user is neither Framed nor Callback Framed.
ERROR_CONNECTING_DEVICE_NOT_FOUND
797
A connection to the remote computer could not be established because the modem was not found or was busy.
ERROR_NO_EAPTLS_CERTIFICATE
798
A certificate could not be found that can be used with the Extensible Authentication Protocol (EAP).
ERROR_SHARING_HOST_ADDRESS_CONFLICT
799
Internet Connection Sharing (ICS) cannot be enabled due to an IP address conflict on the network. ICS requires the host be configured to use 192.168.0.1. Ensure that no other client on the network is configured to use 192.168.0.1.

Note:
Supported in Windows XP and later versions of Windows.


Note:
Windows 7 and later: The host must be configured to use 192.168.137.1


ERROR_AUTOMATIC_VPN_FAILED
800
Unable to establish the VPN connection. The VPN server may be unreachable, or security parameters may not be configured properly for this connection.

Note:
Supported in Windows XP and later versions of Windows.


ERROR_VALIDATING_SERVER_CERT
801
This connection is configured to validate the identity of the access server, but Windows cannot verify the digital certificate sent by the server.

Note:
Supported in Windows XP and later versions of Windows.


ERROR_READING_SCARD
802
The card supplied was not recognized. Please check that the card is inserted correctly, and fits securely.

Note:
Supported in Windows XP with SP1 and later versions of Windows.


ERROR_INVALID_PEAP_COOKIE_CONFIG
803
The PEAP configuration stored in the session cookie does not match the current session configuration.

Note:
Supported in Windows XP with SP1 and later versions of Windows.


ERROR_INVALID_PEAP_COOKIE_USER
804
The PEAP identity stored in the session cookie does not match the current identity.

Note:
Supported in Windows XP with SP1 and later versions of Windows.


ERROR_INVALID_MSCHAPV2_CONFIG
805
You cannot dial using this connection at login time because it is configured to use the currently-logged-in user's credentials.

Note:
Supported in Windows XP with SP1 and later versions of Windows.


ERROR_VPN_GRE_BLOCKED
806
A connection between your computer and the VPN server has been started, but the VPN connection cannot be completed. The most common cause for this is that at least one Internet device (for example, a firewall or a router) between your computer and the VPN server is not configured to allow Generic Routing Encapsulation (GRE) protocol packets.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_VPN_DISCONNECT
807
The network connection between your computer and the VPN server was interrupted. This can be caused by a problem in the VPN transmission and is commonly the result of internet latency or simply that your VPN server has reached capacity. Try to reconnect to the VPN server.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_VPN_REFUSED
808
The network connection between your computer and the VPN server could not be established because the remote server refused the connection. This is typically caused by a mismatch between the server's configuration and your connection settings.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_VPN_TIMEOUT
809
The network connection between your computer and the VPN server could not be established because the remote server is not responding. This could be because one of the network devices (for example, firewalls, NAT, routers) between your computer and the remote server is not configured to allow VPN connections.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_VPN_BAD_CERT
810
A network connection between your computer and the VPN server was started, but the VPN connection was not completed. This is typically caused by the use of an incorrect or expired certificate for authentication between the client and the server.

Note:
Supported in Windows Vista and later versions of Windows


ERROR_VPN_BAD_PSK
811
The network connection between your computer and the VPN server could not be established because the remote server is not responding. This is typically caused by a pre-shared key problem between the client and server. A pre-shared key is used to guarantee you are who you say you are in an IP Security (IPSec) communication cycle.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_SERVER_POLICY
812
The connection was prevented because of a policy configured on your RAS/VPN server. Specifically, the authentication method used by the server to verify your username and password may not match the authentication method configured in your connection profile.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_BROADBAND_ACTIVE
813
You have attempted to establish a second broadband connection while a previous broadband connection is already established using the same device or port.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_BROADBAND_NO_NIC
814
The underlying Ethernet connectivity required for the broadband connection was not found.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_BROADBAND_TIMEOUT
815
The broadband network connection could not be established on your computer because the remote server is not responding. This could be caused by a value that is not valid for the 'Service Name' field for this connection.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_FEATURE_DEPRECATED
816
A feature or setting you have tried to enable is no longer supported by the remote access service.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_CANNOT_DELETE
817
Cannot delete a connection while it is connected.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_RASQEC_RESOURCE_CREATION_FAILED
818
The Network Access Protection (NAP) enforcement client could not create system resources for remote access connections. Some network services or resources might not be available.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_RASQEC_NAPAGENT_NOT_ENABLED
819
The Network Access Protection Agent (NAP Agent) service has been disabled or is not installed on this computer. Some network services or resources might not be available.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_RASQEC_NAPAGENT_NOT_CONNECTED
820
The Network Access Protection (NAP) enforcement client failed to register with the Network Access Protection Agent (NAP Agent) service. Some network services or resources might not be available.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_RASQEC_CONN_DOESNOTEXIST
821
The Network Access Protection (NAP) enforcement client was unable to process the request because the remote access connection does not exist.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_RASQEC_TIMEOUT
822
The Network Access Protection (NAP) enforcement client did not respond. Some network services or resources might not be available.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_PEAP_CRYPTOBINDING_INVALID
823
The Crypto-Binding type-length-value (TLV) received is not valid.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_PEAP_CRYPTOBINDING_NOTRECEIVED
824
Crypto-Binding TLV was not received.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_INVALID_VPNSTRATEGY
825
Point-to-Point Tunneling Protocol (PPTP) is incompatible with IPv6. Change the type of virtual private network to Layer Two Tunneling Protocol (L2TP).

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_EAPTLS_CACHE_CREDENTIALS_INVALID
826
EAPTLS validation of the cached credentials failed. Discard cached credentials.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_IPSEC_SERVICE_STOPPED
827
The L2TP/IPsec connection cannot be completed because the IKE and AuthIP IPSec Keying Modules service and/or the Base Filtering Engine service is not running. These services are required to establish an L2TP/IPSec connection.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_IDLE_TIMEOUT
828
The connection was terminated because of idle timeout.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_LINK_FAILURE
829
The modem (or other connecting device) was disconnected due to link failure.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_USER_LOGOFF
830
The connection was terminated because user logged off.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_FAST_USER_SWITCH
831
The connection was terminated because user switch happened.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_HIBERNATION
832
The connection was terminated because of hibernation.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_SYSTEM_SUSPENDED
833
The connection was terminated because the system got suspended.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_RASMAN_SERVICE_STOPPED
834
The connection was terminated because Remote Access Connection manager stopped.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_INVALID_SERVER_CERT
835
The L2TP connection attempt failed because the security layer could not authenticate the remote computer. This could be because one or more fields of the certificate presented by the remote server could not be validated as belonging to the target destination.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_NOT_NAP_CAPABLE
836
The machine is not NAP capable.

Note:
Supported in Windows Vista and later versions of Windows.


ERROR_INVALID_TUNNELID
837
Invalid Tunnel ID.

Note:
Supported in Windows 7 and later versions of Windows.


ERROR_UPDATECONNECTION_REQUEST_IN_PROCESS
838
Another update connection request is in progress. RAS allows only one update connection request at a time.

Note:
Supported in Windows 7 and later versions of Windows.


ERROR_PROTOCOL_ENGINE_DISABLED
839
Negotiating using configured protocol is disable. Edit connection properties and select different protocol for negotiation and try again.

Note:
Supported in Windows 7 and later versions of Windows.


ERROR_INTERNAL_ADDRESS_FAILURE
840
Internal address negotiation failed.

Note:
Supported in Windows 7 and later versions of Windows.


ERROR_FAILED_CP_REQUIRED
841
Client has to request an Internal IPv4 or IPv6 address.

Note:
Supported in Windows 7 and later versions of Windows.


ERROR_TS_UNACCEPTABLE
842
Traffic Selectors negotiation failed.

Note:
Supported in Windows 7 and later versions of Windows.


ERROR_MOBIKE_DISABLED
843
Mobility is disabled for this connection.

Note:
Supported in Windows 7 and later versions of Windows.


ERROR_CANNOT_INITIATE_MOBIKE_UPDATE
844
The VPN Connection is still connecting or re-authenticating because of Quarantine state change. Initiate mobile update only when connection state is 'Connected'.

Note:
Supported in Windows 7 and later versions of Windows.


ERROR_PEAP_SERVER_REJECTED_CLIENT_TLV
845
Server rejected client authentication, due to unexpected TLV or value mismatch for a TLV.

Note:
Supported in Windows 7 and later versions of Windows.


ERROR_INVALID_PREFERENCES
846
Either VPN destination preference is not selected by the user or it is no longer valid.

Note:
Supported in Windows 7 and later versions of Windows.


ERROR_EAPTLS_SCARD_CACHE_CREDENTIALS_INVALID
847
Cached smart card credential is invalid.

Note:
Supported in Windows 7 and later versions of Windows.


ERROR_SSTP_COOKIE_SET_FAILURE
848
VPN connection attempt failed due to internal error occurred while adding cookies to the Secure Socket Tunneling Protocol (SSTP). Please see the System Event Log for the detailed information.
ERROR_INVALID_PEAP_COOKIE_ATTRIBUTES
849
The PEAP inner method attribute(s) stored in the cookie is/are invalid.
ERROR_EAP_METHOD_NOT_INSTALLED
850
The Extensible Authentication Protocol type required for authentication of the remote access connection is not installed on your computer.
ERROR_EAP_METHOD_DOES_NOT_SUPPORT_SSO
851
The Extensible Authentication Protocol type configured on the remote access connection does not support single sign-on.
ERROR_EAP_METHOD_OPERATION_NOT_SUPPORTED
852
The Extensible Authentication Protocol type configured on the remote access connection does not support the requested operation.
ERROR_EAP_USER_CERT_INVALID
853
The remote access connection completed, but authentication failed because the certificate that authenticates the client to the server is not valid. Ensure that the certificate used for authentication is valid.
ERROR_EAP_USER_CERT_EXPIRED
854
The remote access connection completed, but authentication failed because the certificate that authenticates the client to the server is expired. Renew the certificate.
ERROR_EAP_USER_CERT_REVOKED
855
The remote access connection completed, but authentication failed because the certificate that authenticates the client to the server is revoked. Use a certificate that has not been revoked.
ERROR_EAP_USER_CERT_OTHER_ERROR
856
The remote access connection completed, but authentication failed because of an error in the certificate that authenticates the client to the server.
ERROR_EAP_SERVER_CERT_INVALID
857
The remote access connection completed, but authentication failed because the certificate that the client uses to authenticate the server is not valid.
ERROR_EAP_SERVER_CERT_EXPIRED
858
The remote access connection completed, but authentication failed because the certificate that the client uses to authenticate the server is expired.
ERROR_EAP_SERVER_CERT_REVOKED
859
The remote access connection completed, but authentication failed because the certificate that the client uses to authenticate the server is revoked.
ERROR_EAP_SERVER_CERT_OTHER_ERROR
860
The remote access connection completed, but authentication failed because of an error in the certificate that the client uses to authenticate the server.
ERROR_EAP_USER_ROOT_CERT_NOT_FOUND
861
The remote access connection completed, but authentication failed because a trusted root certificate that validates the user certificate was not found in the Trusted Root Certification Authorities certificate store.
ERROR_EAP_USER_ROOT_CERT_INVALID
862
The remote access connection completed, but authentication failed because the trusted root certificate that is used to validate the user certificate is not valid.
ERROR_EAP_USER_ROOT_CERT_EXPIRED
863
The remote access connection completed, but authentication failed because the certificate in the Trusted Root Certification Authorities certificate store that authenticates the user certificate is expired. Renew the certificate.
ERROR_EAP_SERVER_ROOT_CERT_NOT_FOUND
864
The remote access connection completed, but authentication failed because a certificate that validates the server certificate was not found in the Trusted Root Certification Authorities certificate store.
ERROR_EAP_SERVER_ROOT_CERT_INVALID
865
The remote access connection completed, but authentication failed because the certificate in the Trusted Root Certification Authorities certificate store that validates the server certificate is not valid.
ERROR_EAP_SERVER_ROOT_CERT_NAME_REQUIRED
866
The remote access connection completed, but authentication failed because the certificate on the server computer does not have a server name specified.
ERROR_PEAP_IDENTITY_MISMATCH
867
The PEAP outer identity is not same as the inner identity when identity privacy is turned OFF.
ERROR_DNSNAME_NOT_RESOLVABLE
868
The remote connection was not made because the name of the remote access server did not resolve.
ERROR_EAPTLS_PASSWD_INVALID
869
The password provided for the certificate is not valid.
ERROR_IKEV2_PSK_INTERFACE_ALREADY_EXISTS
870
The interface could not be enabled because more than one interface with the same destination has been created with the pre-shared key authentication method. Change the destination/auth method and enable the interface.

The following Routing and Remote Access (RRAS) API error codes are defined in mprerror.h. All error codes are supported in Windows 2000 or later versions of Windows unless specified otherwise.

Return code/value Description
ERROR_ROUTER_STOPPED
900
The router is not running.
ERROR_ALREADY_CONNECTED
901
The interface is already connected.
ERROR_UNKNOWN_PROTOCOL_ID
902
The specified protocol identifier is not known to the router.
ERROR_DDM_NOT_RUNNING
903
The Demand-dial Interface Manager (DDM) is not running.
ERROR_INTERFACE_ALREADY_EXISTS
904
An interface with this name is already registered with the router.
ERROR_NO_SUCH_INTERFACE
905
An interface with this name is not registered with the router.
ERROR_INTERFACE_NOT_CONNECTED
906
The interface is not connected.
ERROR_PROTOCOL_STOP_PENDING
907
The specified protocol is stopping.
ERROR_INTERFACE_CONNECTED
908
The interface is connected and hence cannot be deleted.
ERROR_NO_INTERFACE_CREDENTIALS_SET
909
The interface credentials have not been set.
ERROR_ALREADY_CONNECTING
910
This interface is already in the process of connecting.
ERROR_UPDATE_IN_PROGRESS
911
An update of routing information on this interface is already in progress.
ERROR_INTERFACE_CONFIGURATION
912
The interface configration is not valid. There is already another interface that is connected to the same interface on the remote router.
ERROR_NOT_CLIENT_PORT
913
A Remote Access Client attempted to connect over a port that was reserved for routers only.
ERROR_NOT_ROUTER_PORT
914
A Demand Dial Router attempted to connect over a port that was reserved for Remote Access Clients only.
ERROR_CLIENT_INTERFACE_ALREADY_EXISTS
915
The client interface with this name already exists and is currently connected.
ERROR_INTERFACE_DISABLED
916
The interface is in a disabled state.
ERROR_AUTH_PROTOCOL_REJECTED
917
The authentication protocol was rejected by the remote peer.
ERROR_NO_AUTH_PROTOCOL_AVAILABLE
918
There are no authentication protocols available for use.
ERROR_PEER_REFUSED_AUTH
919
The connection could not be established because the authentication protocol used by the RAS/VPN server to verify your username and password could not be matched with the settings in your connection profile.
ERROR_REMOTE_NO_DIALIN_PERMISSION
920
The remote account does not have Remote Access permission.
ERROR_REMOTE_PASSWD_EXPIRED
921
The remote account has expired.
ERROR_REMOTE_ACCT_DISABLED
922
The remote account is disabled.
ERROR_REMOTE_RESTRICTED_LOGON_HOURS
923
The remote account is not permitted to logon at this time of day.
ERROR_REMOTE_AUTHENTICATION_FAILURE
924
Access was denied to the remote peer because the user name, password, or both is not valid on the domain.
ERROR_INTERFACE_HAS_NO_DEVICES
925
There are no routing enabled ports available for use by this demand dial interface.
ERROR_IDLE_DISCONNECTED
926
The port has been disconnected due to inactivity.
ERROR_INTERFACE_UNREACHABLE
927
The interface is not reachable at this time.
ERROR_SERVICE_IS_PAUSED
928
The Demand Dial service is in a paused state.
ERROR_INTERFACE_DISCONNECTED
929
The interface has been disconnected by the administrator.
ERROR_AUTH_SERVER_TIMEOUT
930
The authentication server did not respond to authentication requests in a timely fashion.
ERROR_PORT_LIMIT_REACHED
931
The maximum number of ports allowed for use in the multi-linked connection has been reached.
ERROR_PPP_SESSION_TIMEOUT
932
The connection time limit for the user has been reached.
ERROR_MAX_LAN_INTERFACE_LIMIT
933
The maximum limit on the number of LAN interfaces supported has been reached.
ERROR_MAX_WAN_INTERFACE_LIMIT
934
The maximum limit on the number of Demand Dial interfaces supported has been reached.
ERROR_MAX_CLIENT_INTERFACE_LIMIT
935
The maximum limit on the number of Remote Access Clients supported has been reached.
ERROR_BAP_DISCONNECTED
936
The port has been disconnected due to the Bandwidth Allocation Protocol (BAP) policy.
ERROR_USER_LIMIT
937
Because another connection of your type is in use, the incoming connection cannot accept your connection request.
ERROR_NO_RADIUS_SERVERS
938
No RADIUS servers were located on the network.
ERROR_INVALID_RADIUS_RESPONSE
939
The response received from the RADIUS authentication server was not valid. Make sure that the case sensitive secret password for the RADIUS server is set correctly.
ERROR_DIALIN_HOURS_RESTRICTION
940
You do not have permission to connect at this time.
ERROR_ALLOWED_PORT_TYPE_RESTRICTION
941
You do not have permission to connect using the current device type.
ERROR_AUTH_PROTOCOL_RESTRICTION
942
The connection could not be established because the authentication method used by your connection profile is not permitted for use by an access policy configured on the RAS/VPN server. Specifically, this could be due to configuration differences between the authentication method selected on the RAS/VPN server and the access policy configured for it.
ERROR_BAP_REQUIRED
943
BAP is required for this user.
ERROR_DIALOUT_HOURS_RESTRICTION
944
The interface is not allowed to connect at this time.
ERROR_ROUTER_CONFIG_INCOMPATIBLE
945
The saved router configuration is incompatible with the current router.
WARNING_NO_MD5_MIGRATION
946
Remote Access has detected older format user accounts that will not be migrated automatically.
ERROR_PROTOCOL_ALREADY_INSTALLED
948
The transport is already installed with the router.
ERROR_INVALID_SIGNATURE_LENGTH
949
The signature length received in a packet from RADIUS server is not valid.

Note:
Supported in Windows XP and later versions of Windows.


ERROR_INVALID_SIGNATURE
950
The signature received in a packet from RADIUS server is not valid.

Note:
Supported in Windows XP and later versions of Windows.


ERROR_NO_SIGNATURE
951
Did not receive signature along with EAPMessage from RADIUS server.

Note:
Supported in Windows XP and later versions of Windows.


ERROR_INVALID_PACKET_LENGTH_OR_ID
952
The length or Id received in a packet from RADIUS server is not valid.

Note:
Supported in Windows XP and later versions of Windows.


ERROR_INVALID_ATTRIBUTE_LENGTH
953
The length received in a packet with attribute from RADIUS server is not valid.

Note:
Supported in Windows XP and later versions of Windows.


ERROR_INVALID_PACKET
954
The packet received from RADIUS server in not valid.

Note:
Supported in Windows XP and later versions of Windows.


ERROR_AUTHENTICATOR_MISMATCH
955
Authenticator does not match in packet from RADIUS server.

Note:
Supported in Windows XP and later versions of Windows.


ERROR_REMOTEACCESS_NOT_CONFIGURED
956
Routing and Remote access server is either not configured or not running.

Note:
Supported in Windows 7 and later versions of Windows.


Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]