@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$
@pinvoke=http://pinvoke.net/$$$.htm
Summary: Routing and Remote Access Service error codes.
!!!!C# Definition:
public enum RasError
{
/// <summary> 0. No error.</summary>
NO_ERROR = 0,
/// <summary> 6. Invalid handle.</summary>
ERROR_INVALID_HANDLE = 6,
/// <summary>87 - Invalid Parameter. </summary>
ERROR_INVALID_PARAMETER = 87,
/// <summary>600. An operation is pending. </summary>
PENDING = 600,
/// <summary>601. An invalid port handle was detected. </summary>
ERROR_INVALID_PORT_HANDLE,
/// <summary>602. The specified port is already open. </summary>
ERROR_PORT_ALREADY_OPEN,
/// <summary>603. The caller's buffer is too small. </summary>
ERROR_BUFFER_TOO_SMALL,
/// <summary>604. Incorrect information was specified. </summary>
ERROR_WRONG_INFO_SPECIFIED,
/// <summary>605. The port information cannot be set. </summary>
ERROR_CANNOT_SET_PORT_INFO,
/// <summary>606. The specified port is not connected. </summary>
ERROR_PORT_NOT_CONNECTED,
/// <summary>607. An invalid event was detected. </summary>
ERROR_EVENT_INVALID,
/// <summary>608. A device was specified that does not exist. </summary>
ERROR_DEVICE_DOES_NOT_EXIST,
/// <summary>609. A device type was specified that does not exist. </summary>
ERROR_DEVICETYPE_DOES_NOT_EXIST,
/// <summary>610. An invalid buffer was specified. </summary>
ERROR_BUFFER_INVALID,
/// <summary>611. A route was specified that is not available. </summary>
ERROR_ROUTE_NOT_AVAILABLE,
/// <summary>612. A route was specified that is not allocated. </summary>
ERROR_ROUTE_NOT_ALLOCATED,
/// <summary>613. An invalid compression was specified. </summary>
ERROR_INVALID_COMPRESSION_SPECIFIED,
/// <summary>614. There were insufficient buffers available. </summary>
ERROR_OUT_OF_BUFFERS,
/// <summary>615. The specified port was not found. </summary>
ERROR_PORT_NOT_FOUND,
/// <summary>616. An asynchronous request is pending. </summary>
ERROR_ASYNC_REQUEST_PENDING,
/// <summary>617. The modem (or other connecting device) is already disconnecting. </summary>
ERROR_ALREADY_DISCONNECTING,
/// <summary>618. The specified port is not open. </summary>
ERROR_PORT_NOT_OPEN,
/// <summary>619. The specified port is not connected. </summary>
ERROR_PORT_DISCONNECTED,
/// <summary>620. No endpoints could be determined. </summary>
ERROR_NO_ENDPOINTS,
/// <summary>621. The system could not open the phone book file. </summary>
ERROR_CANNOT_OPEN_PHONEBOOK,
/// <summary>622. The system could not load the phone book file. </summary>
ERROR_CANNOT_LOAD_PHONEBOOK,
/// <summary>623. The system could not find the phone book entry for this connection. </summary>
ERROR_CANNOT_FIND_PHONEBOOK_ENTRY,
/// <summary>624. The system could not update the phone book file. </summary>
ERROR_CANNOT_WRITE_PHONEBOOK,
/// <summary>625. The system found invalid information in the phone book file. </summary>
ERROR_CORRUPT_PHONEBOOK,
/// <summary>626. A string could not be loaded. </summary>
ERROR_CANNOT_LOAD_STRING,
/// <summary>627. A key could not be found. </summary>
ERROR_KEY_NOT_FOUND,
/// <summary>628. The connection was closed. </summary>
ERROR_DISCONNECTION,
/// <summary>629. The connection was closed by the remote computer. </summary>
ERROR_REMOTE_DISCONNECTION,
/// <summary>630 The modem (or other connecting device) was disconnected due to hardware failure. </summary>
ERROR_HARDWARE_FAILURE,
/// <summary>631. The user disconnected the modem (or other connecting device). </summary>
ERROR_USER_DISCONNECTION,
/// <summary>632. An incorrect structure size was detected. </summary>
ERROR_INVALID_SIZE,
/// <summary>633. The modem (or other connecting device) is already in use or is not configured properly. </summary>
ERROR_PORT_NOT_AVAILABLE,
/// <summary>634. Your computer could not be registered on the remote network. </summary>
ERROR_CANNOT_PROJECT_CLIENT,
/// <summary>635. There was an unknown error. </summary>
ERROR_UNKNOWN,
/// <summary>636. The device attached to the port is not the one expected. </summary>
ERROR_WRONG_DEVICE_ATTACHED,
/// <summary>637. A string was detected that could not be converted. </summary>
ERROR_BAD_STRING,
/// <summary>638. The request has timed out. </summary>
ERROR_REQUEST_TIMEOUT,
/// <summary>639. No asynchronous net is available. </summary>
ERROR_CANNOT_GET_LANA,
/// <summary>640. An error has occurred involving NetBIOS. </summary>
ERROR_NETBIOS_ERROR,
/// <summary>641. The server cannot allocate NetBIOS resources needed to support the client. </summary>
ERROR_SERVER_OUT_OF_RESOURCES,
/// <summary>642. One of your computer's NetBIOS names is already registered on the remote network. </summary>
ERROR_NAME_EXISTS_ON_NET,
/// <summary>643. A network adapter at the server failed. </summary>
ERROR_SERVER_GENERAL_NET_FAILURE,
/// <summary>644. You will not receive network message popups. </summary>
WARNING_MSG_ALIAS_NOT_ADDED,
/// <summary>645. There was an internal authentication error. </summary>
ERROR_AUTH_INTERNAL,
/// <summary>646. The account is not permitted to log on at this time of day. </summary>
ERROR_RESTRICTED_LOGON_HOURS,
/// <summary>647. The account is disabled. </summary>
ERROR_ACCT_DISABLED,
/// <summary>648. The password for this account has expired. </summary>
ERROR_PASSWD_EXPIRED,
/// <summary>649. The account does not have permission to dial in. </summary>
ERROR_NO_DIALIN_PERMISSION,
/// <summary>650. The remote access server is not responding. </summary>
ERROR_SERVER_NOT_RESPONDING,
/// <summary>651. The modem (or other connecting device) has reported an error. </summary>
ERROR_FROM_DEVICE,
/// <summary>652. There was an unrecognized response from the modem (or other connecting device). </summary>
ERROR_UNRECOGNIZED_RESPONSE,
/// <summary>653. A macro required by the modem (or other connecting device) was not found in the device.INF file. </summary>
ERROR_MACRO_NOT_FOUND,
/// <summary>654. A command or response in the device.INF file section refers to an undefined macro. </summary>
ERROR_MACRO_NOT_DEFINED,
/// <summary>655. The message macro was not found in the device.INF file section. </summary>
ERROR_MESSAGE_MACRO_NOT_FOUND,
/// <summary>656. The defaultoff macro in the device.INF file section contains an undefined macro. </summary>
ERROR_DEFAULTOFF_MACRO_NOT_FOUND,
/// <summary>657. The device.INF file could not be opened. </summary>
ERROR_FILE_COULD_NOT_BE_OPENED,
/// <summary>658. The device name in the device.INF or media.INI file is too long. </summary>
ERROR_DEVICENAME_TOO_LONG,
/// <summary>659. The media.INI file refers to an unknown device name. </summary>
ERROR_DEVICENAME_NOT_FOUND,
/// <summary>660. The device.INF file contains no responses for the command. </summary>
ERROR_NO_RESPONSES,
/// <summary>661. The device.INF file is missing a command. </summary>
ERROR_NO_COMMAND_FOUND,
/// <summary>662. There was an attempt to set a macro not listed in device.INF file section. </summary>
ERROR_WRONG_KEY_SPECIFIED,
/// <summary>663. The media.INI file refers to an unknown device type. </summary>
ERROR_UNKNOWN_DEVICE_TYPE,
/// <summary>664. The system has run out of memory. </summary>
ERROR_ALLOCATING_MEMORY,
/// <summary>665. The modem (or other connecting device) is not properly configured. </summary>
ERROR_PORT_NOT_CONFIGURED,
/// <summary>666. The modem (or other connecting device) is not functioning. </summary>
ERROR_DEVICE_NOT_READY,
/// <summary>667. The system was unable to read the media.INI file. </summary>
ERROR_READING_INI_FILE,
/// <summary>668. The connection was terminated. </summary>
ERROR_NO_CONNECTION,
/// <summary>669. The usage parameter in the media.INI file is invalid. </summary>
ERROR_BAD_USAGE_IN_INI_FILE,
/// <summary>670. The system was unable to read the section name from the media.INI file. </summary>
ERROR_READING_SECTIONNAME,
/// <summary>671. The system was unable to read the device type from the media.INI file. </summary>
ERROR_READING_DEVICETYPE,
/// <summary>672. The system was unable to read the device name from the media.INI file. </summary>
ERROR_READING_DEVICENAME,
/// <summary>673. The system was unable to read the usage from the media.INI file. </summary>
ERROR_READING_USAGE,
/// <summary>674. The system was unable to read the maximum connection BPS rate from the media.INI file. </summary>
ERROR_READING_MAXCONNECTBPS,
/// <summary>675. The system was unable to read the maximum carrier connection speed from the media.INI file. </summary>
ERROR_READING_MAXCARRIERBPS,
/// <summary>676. The phone line is busy. </summary>
ERROR_LINE_BUSY,
/// <summary>677. A person answered instead of a modem (or other connecting device). </summary>
ERROR_VOICE_ANSWER,
/// <summary>678. There was no answer. </summary>
ERROR_NO_ANSWER,
/// <summary>679. The system could not detect the carrier. </summary>
ERROR_NO_CARRIER,
/// <summary>680. There was no dial tone. </summary>
ERROR_NO_DIALTONE,
/// <summary>681. The modem (or other connecting device) reported a general error. </summary>
ERROR_IN_COMMAND,
/// <summary>682. There was an error in writing the section name. </summary>
ERROR_WRITING_SECTIONNAME,
/// <summary>683. There was an error in writing the device type. </summary>
ERROR_WRITING_DEVICETYPE,
/// <summary>684. There was an error in writing the device name. </summary>
ERROR_WRITING_DEVICENAME,
/// <summary>685. There was an error in writing the maximum connection speed. </summary>
ERROR_WRITING_MAXCONNECTBPS,
/// <summary>686. There was an error in writing the maximum carrier speed. </summary>
ERROR_WRITING_MAXCARRIERBPS,
/// <summary>687. There was an error in writing the usage. </summary>
ERROR_WRITING_USAGE,
/// <summary>688. There was an error in writing the default-off. </summary>
ERROR_WRITING_DEFAULTOFF,
/// <summary>689. There was an error in reading the default-off. </summary>
ERROR_READING_DEFAULTOFF,
/// <summary>690. ERROR EMPTY INI FILE </summary>
ERROR_EMPTY_INI_FILE,
/// <summary>691. Access was denied because the username and or password was invalid on the domain.</summary>
ERROR_AUTHENTICATION_FAILURE,
/// <summary>692. There was a hardware failure in the modem (or other connecting device). </summary>
ERROR_PORT_OR_DEVICE,
/// <summary>693. ERROR NOT BINARY MACRO </summary>
ERROR_NOT_BINARY_MACRO,
/// <summary>694. ERROR DCB NOT FOUND </summary>
ERROR_DCB_NOT_FOUND,
/// <summary>695. The state machines are not started. </summary>
ERROR_STATE_MACHINES_NOT_STARTED,
/// <summary>696. The state machines are already started. </summary>
ERROR_STATE_MACHINES_ALREADY_STARTED,
/// <summary>697. The response looping did not complete. </summary>
ERROR_PARTIAL_RESPONSE_LOOPING,
/// <summary>698. A response keyname in the device.INF file is not in the expected format. </summary>
ERROR_UNKNOWN_RESPONSE_KEY,
/// <summary>699. The modem (or other connecting device) response caused a buffer overflow. </summary>
ERROR_RECV_BUF_FULL,
/// <summary>700. The expanded command in the device.INF file is too long. </summary>
ERROR_CMD_TOO_LONG,
/// <summary>701. The modem moved to a connection speed not supported by the COM driver. </summary>
ERROR_UNSUPPORTED_BPS,
/// <summary>702. Device response received when none expected. </summary>
ERROR_UNEXPECTED_RESPONSE,
/// <summary>703. The connection needs information from you, but the application does not allow user interaction. </summary>
ERROR_INTERACTIVE_MODE,
/// <summary>704. The callback number is invalid. </summary>
ERROR_BAD_CALLBACK_NUMBER,
/// <summary>705. The authorization state is invalid. </summary>
ERROR_INVALID_AUTH_STATE,
/// <summary>706. ERROR WRITING INITBPS </summary>
ERROR_WRITING_INITBPS,
/// <summary>707. There was an error related to the X.25 protocol. </summary>
ERROR_X25_DIAGNOSTIC,
/// <summary>708. The account has expired. </summary>
ERROR_ACCT_EXPIRED,
/// <summary>709. There was an error changing the password on the domain. The password might have been too short or might have matched a previously used password. </summary>
ERROR_CHANGING_PASSWORD,
/// <summary>710. Serial overrun errors were detected while communicating with the modem. </summary>
ERROR_OVERRUN,
/// <summary>711. The Remote Access Service Manager could not start. Additional information is provided in the event log. </summary>
ERROR_RASMAN_CANNOT_INITIALIZE,
/// <summary>712. The two-way port is initializing. Wait a few seconds and redial. </summary>
ERROR_BIPLEX_PORT_NOT_AVAILABLE,
/// <summary>713. No active ISDN lines are available. </summary>
ERROR_NO_ACTIVE_ISDN_LINES,
/// <summary>714. No ISDN channels are available to make the call. </summary>
ERROR_NO_ISDN_CHANNELS_AVAILABLE,
/// <summary>715. Too many errors occurred because of poor phone line quality. </summary>
ERROR_TOO_MANY_LINE_ERRORS,
/// <summary>716. The Remote Access Service IP configuration is unusable. </summary>
ERROR_IP_CONFIGURATION,
/// <summary>717. No IP addresses are available in the static pool of Remote Access Service IP addresses. </summary>
ERROR_NO_IP_ADDRESSES,
/// <summary>718. The connection timed out waiting for a valid response from the remote computer. </summary>
ERROR_PPP_TIMEOUT,
/// <summary>719. The connection was terminated by the remote computer. </summary>
ERROR_PPP_REMOTE_TERMINATED,
/// <summary>720. The connection attempt failed because your computer and the remote computer could not agree on PPP control protocols. </summary>
ERROR_PPP_NO_PROTOCOLS_CONFIGURED,
/// <summary>721. The remote computer is not responding. </summary>
ERROR_PPP_NO_RESPONSE,
/// <summary>722. Invalid data was received from the remote computer. This data was ignored. </summary>
ERROR_PPP_INVALID_PACKET,
/// <summary>723. The phone number, including prefix and suffix, is too long. </summary>
ERROR_PHONE_NUMBER_TOO_LONG,
/// <summary>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). </summary>
ERROR_IPXCP_NO_DIALOUT_CONFIGURED,
/// <summary>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). </summary>
ERROR_IPXCP_NO_DIALIN_CONFIGURED,
/// <summary>726. The IPX protocol cannot be used for dialing out on more than one modem (or other connecting device) at a time. </summary>
ERROR_IPXCP_DIALOUT_ALREADY_ACTIVE,
/// <summary>727. Cannot access TCPCFG.DLL. </summary>
ERROR_ACCESSING_TCPCFGDLL,
/// <summary>728. The system cannot find an IP adapter. </summary>
ERROR_NO_IP_RAS_ADAPTER,
/// <summary>729. SLIP cannot be used unless the IP protocol is installed. </summary>
ERROR_SLIP_REQUIRES_IP,
/// <summary>730. Computer registration is not complete. </summary>
ERROR_PROJECTION_NOT_COMPLETE,
/// <summary>731. The protocol is not configured. </summary>
ERROR_PROTOCOL_NOT_CONFIGURED,
/// <summary>732. Your computer and the remote computer could not agree on PPP control protocols. </summary>
ERROR_PPP_NOT_CONVERGING,
/// <summary>733. Your computer and the remote computer could not agree on PPP control protocols. </summary>
ERROR_PPP_CP_REJECTED,
/// <summary>734. The PPP link control protocol was terminated. </summary>
ERROR_PPP_LCP_TERMINATED,
/// <summary>735. The requested address was rejected by the server. </summary>
ERROR_PPP_REQUIRED_ADDRESS_REJECTED,
/// <summary>736. The remote computer terminated the control protocol. </summary>
ERROR_PPP_NCP_TERMINATED,
/// <summary>737. Loopback was detected. </summary>
ERROR_PPP_LOOPBACK_DETECTED,
/// <summary>738. The server did not assign an address. </summary>
ERROR_PPP_NO_ADDRESS_ASSIGNED,
/// <summary>739. The authentication protocol required by the remote server cannot use the stored password. Redial, entering the password explicitly. </summary>
ERROR_CANNOT_USE_LOGON_CREDENTIALS,
/// <summary>740. An invalid dialing rule was detected. </summary>
ERROR_TAPI_CONFIGURATION,
/// <summary>741. The local computer does not support the required data encryption type. </summary>
ERROR_NO_LOCAL_ENCRYPTION,
/// <summary>742. The remote computer does not support the required data encryption type. </summary>
ERROR_NO_REMOTE_ENCRYPTION,
/// <summary>743. The remote computer requires data encryption. </summary>
ERROR_REMOTE_REQUIRES_ENCRYPTION,
/// <summary>744. The system cannot use the IPX network number assigned by the remote computer. Additional information is provided in the event log. </summary>
ERROR_IPXCP_NET_NUMBER_CONFLICT,
/// <summary>745. The Session Management Module (SMM) is invalid.</summary>
ERROR_INVALID_SMM,
/// <summary>746. The SMM is uninitialized.</summary>
ERROR_SMM_UNINITIALIZED,
/// <summary>747. No MAC for port.</summary>
ERROR_NO_MAC_FOR_PORT,
/// <summary>748. The SMM timed out.</summary>
ERROR_SMM_TIMEOUT,
/// <summary>749. A bad phone number was specified.</summary>
ERROR_BAD_PHONE_NUMBER,
/// <summary>750. The wrong SMM was specified.</summary>
ERROR_WRONG_MODULE,
/// <summary>751. The callback number contains an invalid character. Only the following 18 characters are allowed: 0 to 9, T, P, W, (, ), -, @, and space.</summary>
ERROR_INVALID_CALLBACK_NUMBER,
/// <summary>752. A syntax error was encountered while processing a script. </summary>
ERROR_SCRIPT_SYNTAX,
/// <summary>753. The connection could not be disconnected because it was created by the multi-protocol router. </summary>
ERROR_HANGUP_FAILED,
/// <summary>754. The system could not find the multi-link bundle. </summary>
ERROR_BUNDLE_NOT_FOUND,
/// <summary>755. The system cannot perform automated dial because this connection has a custom dialer specified. </summary>
ERROR_CANNOT_DO_CUSTOMDIAL,
/// <summary>756. This connection is already being dialed. </summary>
ERROR_DIAL_ALREADY_IN_PROGRESS,
/// <summary>757. RAS could not be started automatically. Additional information is provided in the event log. </summary>
ERROR_RASAUTO_CANNOT_INITIALIZE,
/// <summary>758. Internet Connection Sharing (ICS) is already enabled on the connection. </summary>
ERROR_CONNECTION_ALREADY_SHARED,
/// <summary>759. An error occurred while the existing Internet Connection Sharing settings were being changed. </summary>
ERROR_SHARING_CHANGE_FAILED,
/// <summary>760. An error occurred while routing capabilities were being enabled. </summary>
ERROR_SHARING_ROUTER_INSTALL,
/// <summary>761. An error occurred while Internet Connection Sharing was being enabled for the connection. </summary>
ERROR_SHARE_CONNECTION_FAILED,
/// <summary>762. An error occurred while the local network was being configured for sharing. </summary>
ERROR_SHARING_PRIVATE_INSTALL64,
/// <summary>763. Internet Connection Sharing cannot be enabled. There is more than one LAN connection other than the connection to be shared. </summary>
ERROR_CANNOT_SHARE_CONNECTION,
/// <summary>764. No smart card reader is installed. </summary>
ERROR_NO_SMART_CARD_READER,
/// <summary>765. Internet Connection Sharing cannot be enabled. A LAN connection is already configured with the IP address that is required for automatic IP addressing. </summary>
ERROR_SHARING_ADDRESS_EXISTS,
/// <summary>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. </summary>
ERROR_NO_CERTIFICATE,
/// <summary>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. </summary>
ERROR_SHARING_MULTIPLE_ADDRESSES,
/// <summary>768. The connection attempt failed because of failure to encrypt data. </summary>
ERROR_FAILED_TO_ENCRYPT,
/// <summary>769. The specified destination is not reachable. </summary>
ERROR_BAD_ADDRESS_SPECIFIED,
/// <summary>770. The remote computer rejected the connection attempt. </summary>
ERROR_CONNECTION_REJECT,
/// <summary>771. The connection attempt failed because the network is busy. </summary>
ERROR_CONGESTION,
/// <summary>772. The remote computer's network hardware is incompatible with the type of call requested. </summary>
ERROR_INCOMPATIBLE,
/// <summary>773. The connection attempt failed because the destination number has changed. </summary>
ERROR_NUMBERCHANGED,
/// <summary>774. The connection attempt failed because of a temporary failure. Try connecting again. </summary>
ERROR_TEMPFAILURE,
/// <summary>775. The call was blocked by the remote computer. </summary>
ERROR_BLOCKED,
/// <summary>776. The call could not be connected because the remote computer has invoked the Do Not Disturb feature. </summary>
ERROR_DONOTDISTURB,
/// <summary>777. The connection attempt failed because the modem or other connection device on the remote computer is out of order. </summary>
ERROR_OUTOFORDER,
/// <summary>778. It was not possible to verify the identity of the server. </summary>
ERROR_UNABLE_TO_AUTHENTICATE_SERVER,
/// <summary>779. To dial out using this connection you must use a smart card. </summary>
ERROR_SMART_CARD_REQUIRED,
/// <summary>780. An attempted function is not valid for this connection. </summary>
ERROR_INVALID_FUNCTION_FOR_ENTRY,
/// <summary>781. The encryption attempt failed because no valid certificate was found. </summary>
ERROR_CERT_FOR_ENCRYPTION_NOT_FOUND,
/// <summary>782. Connection Sharing (NAT) is currently installed as a routing protocol, and must be removed before enabling Internet Connection Sharing. </summary>
ERROR_SHARING_RRAS_CONFLICT,
/// <summary>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. </summary>
ERROR_SHARING_NO_PRIVATE_LAN,
/// <summary>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. </summary>
ERROR_NO_DIFF_USER_AT_LOGON,
/// <summary>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. </summary>
ERROR_NO_REG_CERT_AT_LOGON,
/// <summary>786. The L2TP connection attempt failed because there is no valid machine certificate on your computer for security authentication. </summary>
ERROR_OAKLEY_NO_CERT,
/// <summary>787. The L2TP connection attempt failed because the security layer could not authenticate the remote computer. </summary>
ERROR_OAKLEY_AUTH_FAIL,
/// <summary>788. The L2TP connection attempt failed because the security layer could not negotiate compatible parameters with the remote computer. </summary>
ERROR_OAKLEY_ATTRIB_FAIL,
/// <summary>789. The L2TP connection attempt failed because the security layer encountered a processing error during initial negotiations with the remote computer. </summary>
ERROR_OAKLEY_GENERAL_PROCESSING,
/// <summary>790. The L2TP connection attempt failed because certificate validation on the remote computer failed. </summary>
ERROR_OAKLEY_NO_PEER_CERT,
/// <summary>791. The L2TP connection attempt failed because security policy for the connection was not found. </summary>
ERROR_OAKLEY_NO_POLICY,
/// <summary>792. The L2TP connection attempt failed because security negotiation timed out. </summary>
ERROR_OAKLEY_TIMED_OUT,
/// <summary>793. The L2TP connection attempt failed because an error occurred while negotiating security. </summary>
ERROR_OAKLEY_ERROR,
/// <summary>794. The Framed Protocol RADIUS attribute for this user is not PPP. </summary>
ERROR_UNKNOWN_FRAMED_PROTOCOL,
/// <summary>795. The Tunnel Type RADIUS attribute for this user is not correct. </summary>
ERROR_WRONG_TUNNEL_TYPE,
/// <summary>796. The Service Type RADIUS attribute for this user is neither Framed nor Callback Framed. </summary>
ERROR_UNKNOWN_SERVICE_TYPE,
/// <summary>797. A connection to the remote computer could not be established because the modem was not found or was busy. </summary>
ERROR_CONNECTING_DEVICE_NOT_FOUND,
/// <summary>798. A certificate could not be found that can be used with the Extensible Authentication Protocol (EAP). </summary>
ERROR_NO_EAPTLS_CERTIFICATE,
/// <summary>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. </summary>
ERROR_SHARING_HOST_ADDRESS_CONFLICT,
/// <summary>800. Unable to establish the VPN connection. The VPN server may be unreachable, or security parameters may not be configured properly for this connection. </summary>
ERROR_AUTOMATIC_VPN_FAILED,
/// <summary>801. This connection is configured to validate the identity of the access server, but Windows cannot verify the digital certificate sent by the server. </summary>
ERROR_VALIDATING_SERVER_CERT,
/// <summary>802. The card supplied was not recognized. Please check that the card is inserted correctly, and fits securely. </summary>
ERROR_READING_SCARD,
/// <summary>803. The PEAP configuration stored in the session cookie does not match the current session configuration. </summary>
ERROR_INVALID_PEAP_COOKIE_CONFIG,
/// <summary>804. The PEAP identity stored in the session cookie does not match the current identity. </summary>
ERROR_INVALID_PEAP_COOKIE_USER,
/// <summary>805. You cannot dial using this connection at login time because it is configured to use the currently-logged-in user's credentials. </summary>
ERROR_INVALID_MSCHAPV2_CONFIG,
/// <summary>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. </summary>
ERROR_VPN_GRE_BLOCKED,
/// <summary>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. </summary>
ERROR_VPN_DISCONNECT,
/// <summary>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. </summary>
ERROR_VPN_REFUSED,
/// <summary>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. </summary>
ERROR_VPN_TIMEOUT,
/// <summary>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. </summary>
ERROR_VPN_BAD_CERT,
/// <summary>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. </summary>
ERROR_VPN_BAD_PSK,
/// <summary>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. </summary>
ERROR_SERVER_POLICY,
/// <summary>813. You have attempted to establish a second broadband connection while a previous broadband connection is already established using the same device or port. </summary>
ERROR_BROADBAND_ACTIVE,
/// <summary>814. The underlying Ethernet connectivity required for the broadband connection was not found. </summary>
ERROR_BROADBAND_NO_NIC,
/// <summary>815. The broadband network connection could not be established on your computer because the remote server is not responding. This could be caused by an invalid value for the 'Service Name' field for this connection. </summary>
ERROR_BROADBAND_TIMEOUT,
/// <summary>816. A feature or setting you have tried to enable is no longer supported by the remote access service. </summary>
ERROR_FEATURE_DEPRECATED,
/// <summary>817. Cannot delete a connection while it is connected. </summary>
ERROR_CANNOT_DELETE,
/// <summary>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. </summary>
ERROR_RASQEC_RESOURCE_CREATION_FAILED,
/// <summary>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. </summary>
ERROR_RASQEC_NAPAGENT_NOT_ENABLED,
/// <summary>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. </summary>
ERROR_RASQEC_NAPAGENT_NOT_CONNECTED,
/// <summary>821. The Network Access Protection (NAP) enforcement client was unable to process the request because the remote access connection does not exist. </summary>
ERROR_RASQEC_CONN_DOESNOTEXIST,
/// <summary>822. The Network Access Protection (NAP) enforcement client did not respond. Some network services or resources might not be available. </summary>
ERROR_RASQEC_TIMEOUT,
/// <summary>823. Received Crypto-Binding type-length-value (TLV) is invalid. </summary>
ERROR_PEAP_CRYPTOBINDING_INVALID,
/// <summary>824. Crypto-Binding TLV was not received. </summary>
ERROR_PEAP_CRYPTOBINDING_NOTRECEIVED,
/// <summary>825. Point-to-Point Tunneling Protocol (PPTP) is incompatible with IPv6. Change the type of virtual private network to Layer Two Tunneling Protocol (L2TP). </summary>
ERROR_INVALID_VPNSTRATEGY,
/// <summary>826. EAPTLS validation of the cached credentials failed. Discard cached credentials. </summary>
ERROR_EAPTLS_CACHE_CREDENTIALS_INVALID,
/// <summary>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. </summary>
ERROR_IPSEC_SERVICE_STOPPED,
/// <summary>828. The connection was terminated because of idle timeout. </summary>
ERROR_IDLE_TIMEOUT,
/// <summary>829. The modem (or other connecting device) was disconnected due to link failure. </summary>
ERROR_LINK_FAILURE,
/// <summary>830. The connection was terminated because user logged off. </summary>
ERROR_USER_LOGOFF,
/// <summary>831. The connection was terminated because user switch happened. </summary>
ERROR_FAST_USER_SWITCH,
/// <summary>832. The connection was terminated because of hibernation. </summary>
ERROR_HIBERNATION,
/// <summary>833. The connection was terminated because the system got suspended. </summary>
ERROR_SYSTEM_SUSPENDED,
/// <summary>834. The connection was terminated because Remote Access Connection manager stopped. </summary>
ERROR_RASMAN_SERVICE_STOPPED,
/// <summary>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. </summary>
ERROR_INVALID_SERVER_CERT,
/// <summary>836. The machine is not NAP capable. </summary>
ERROR_NOT_NAP_CAPABLE
}
!!!!VB Definition:
Enum RasError
TODO
End Enum
!!!!Notes:
Does not include the Routing error codes (900+) from mprerror.h
Not all errors are applicable to all OS's. See MS documentation for more info.
Documentation: http://msdn.microsoft.com/en-us/library/bb530704(VS.85).aspx