Catalyst Internet Mail .NET

InternetDialer.ErrorCode Enumeration

Specifies the error codes returned by the InternetDialer class.

[Visual Basic]
Public Enum InternetDialer.ErrorCode
[C#]
public enum InternetDialer.ErrorCode

Remarks

The InternetDialer class uses the ErrorCode enumeration to specify what error has occurred when a network operation fails. The current error code may be determined by checking the value of the LastError property.

Note that the last error code is only meaningful if the previous operation has failed.

Members

Member Name Description
errorNone No error.
errorOperationCanceled The blocking operation has been canceled.
errorInvalidDevice The specified file type is invalid or not a regular file.
errorTooManyParameters The maximum number of function parameters has been exceeded.
errorDeviceNotFound The specified device could not be found.
errorOperationTimeout The specified operation has timed out.
errorPending An operation is pending.
errorInvalidPortHandle An invalid port handle was detected.
errorPortAlreadyOpen The specified port is already open.
errorBufferTooSmall The caller's buffer is too small.
errorWrongInfoSpecified Incorrect information was specified.
errorCannotSetPortInfo The port information cannot be set.
errorPortNotConnected The specified port is not connected.
errorEventInvalid An invalid event was detected.
errorDeviceDoesNotExist A device was specified that does not exist.
errorDevicetypeDoesNotExist A device type was specified that does not exist.
errorBufferInvalid An invalid buffer was specified.
errorRouteNotAvailable A route was specified that is not available.
errorRouteNotAllocated A route was specified that is not allocated.
errorInvalidCompressionSpecified An invalid compression was specified.
errorOutOfBuffers There were insufficient buffers available.
errorPortNotFound The specified port was not found.
errorAsyncRequestPending An asynchronous request is pending.
errorAlreadyDisconnecting The modem or other connecting device is already disconnecting.
errorPortNotOpen The specified port is not open.
errorPortDisconnected A connection to the remote computer could not be established.
errorNoEndpoints No endpoints could be determined.
errorCannotOpenPhonebook The system could not open the phone book file.
errorCannotLoadPhonebook The system could not load the phone book file.
errorCannotFindPhonebookEntry The system could not find the phone book entry for this connection.
errorCannotWritePhonebook The system could not update the phone book file.
errorCorruptPhonebook The system found invalid information in the phone book file.
errorCannotLoadString A string could not be loaded.
errorKeyNotFound A key could not be found.
errorDisconnection The connection was terminated by the remote computer before it could be completed.
errorRemoteDisconnection The connection was closed by the remote computer.
errorHardwareFailure The modem or other connecting device was disconnected due to hardware failure.
errorUserDisconnection The user disconnected the modem or other connecting device.
errorInvalidSize An incorrect structure size was detected.
errorPortNotAvailable The modem or other connecting device is already in use or is not configured properly.
errorCannotProjectClient Your computer could not be registered on the remote network.
errorUnknown There was an unknown error.
errorWrongDeviceAttached The device attached to the port is not the one expected.
errorBadString A string was detected that could not be converted.
errorRequestTimeout The request has timed out.
errorCannotGetLana No asynchronous net is available.
errorNetBIOSError An error has occurred involving NetBIOS.
errorServerOutOfResources The server cannot allocate NetBIOS resources needed to support the client.
errorNameExistsOnNet One of your computer's NetBIOS names is already registered on the remote network.
errorServerGeneralNetFailure A network adapter at the server failed.
errorMsgAliasNotAdded You will not receive network message popups.
errorAuthInternal There was an internal authentication error.
errorRestrictedLogonHours The account is not permitted to log on at this time of day.
errorAcctDisabled The account is disabled.
errorPasswdExpired The password for this account has expired.
errorNoDialInPermission The account does not have permission to dial in.
errorServerNotResponding The remote access server is not responding.
errorFromDevice The modem or other connecting device has reported an error.
errorUnrecognizedResponse There was an unrecognized response from the modem or other connecting device.
errorMacroNotFound A macro required by the modem or other connecting device was not found in the configuration file.
errorMacroNotDefined A command or response in the configuration file refers to an undefined macro.
errorMessageMacroNotFound The message macro was not found in the configuration file.
errorDefaultOffMacroNotFound The configuration file contains an undefined macro.
errorFileCouldNotBeOpened The configuration file could not be opened.
errorDevicenameTooLong The device name in the configuration file is too long.
errorDevicenameNotFound The configuration file refers to an unknown device name.
errorNoResponses The configuration file contains no responses for the command.
errorNoCommandFound The configuration file is missing a command.
errorWrongKeySpecified There was an attempt to set a macro not listed in configuration file.
errorUnknownDeviceType The configuration file refers to an unknown device type.
errorAllocatingMemory The system has run out of memory.
errorPortNotConfigured The modem or other connecting device is not properly configured.
errorDeviceNotReady The modem or other connecting device is not functioning.
errorReadingIniFile The system was unable to read the configuration file.
errorNoConnection The connection was terminated.
errorBadUsageInIniFile The usage parameter in the configuration file is invalid.
errorReadingSectionname The system was unable to read the section name from the configuration file.
errorReadingDeviceType The system was unable to read the device type from the configuration file.
errorReadingDeviceName The system was unable to read the device name from the configuration file.
errorReadingUsage The system was unable to read the usage from the configuration file.
errorReadingMaxConnectBps The system was unable to read the maximum connection BPS rate from the configuration file.
errorReadingMaxCarrierBps The system was unable to read the maximum carrier connection speed from the configuration file.
errorLineBusy The phone line is busy.
errorVoiceAnswer A person answered instead of a modem or other connecting device.
errorNoAnswer The remote computer did not respond.
errorNoCarrier The system could not detect the carrier.
errorNoDialtone There was no dial tone.
errorInCommand The modem or other connecting device reported a general error.
errorWritingSectionname There was an error in writing the section name.
errorWritingDeviceType There was an error in writing the device type.
errorWritingDeviceName There was an error in writing the device name.
errorWritingMaxConnectBps There was an error in writing the maximum connection speed..
errorWritingMaxCarrierBps There was an error in writing the maximum carrier speed.
errorWritingUsage There was an error in writing the usage.
errorWritingDefaultOff There was an error in writing the default-off.
errorReadingDefaultOff There was an error in reading the default-off.
errorEmptyIniFile The configuration file is empty.
errorAuthenticationFailure Access was denied because the username and/or password was invalid on the domain.
errorPortOrDevice There was a hardware failure in the modem or other connecting device.
errorNotBinaryMacro An internal error has occurred.
errorDcbNotFound An internal error has occurred.
errorStateMachinesNotStarted The state machines are not started.
errorStateMachinesAlreadyStarted The state machines are already started.
errorPartialResponseLooping The response looping did not complete.
errorUnknownResponseKey A response keyname in the configuration file is not in the expected format.
errorRecvBufFull The modem or other connecting device response caused a buffer overflow.
errorCmdTooLong The expanded command in the configuration file is too long.
errorUnsupportedBps The modem moved to a connection speed not supported by the COM driver.
errorUnexpectedResponse Device response received when none expected.
errorInteractiveMode The connection needs information from you, but the application does not allow user interaction.
errorBadCallbackNumber The callback number is invalid.
errorInvalidAuthState The authorization state is invalid.
errorWritingInitBps An internal error has occurred.
errorX25Diagnostic There was an error related to the X.25 protocol.
errorAcctExpired The account has expired.
errorChangingPassword There was an error changing the password on the domain.
errorOverrun Serial overrun errors were detected while communicating with the modem.
errorRasmanCannotInitialize A configuration error on this computer is preventing this connection.
errorBiplexPortNotAvailable The two-way port is initializing, wait a few seconds and redial.
errorNoActiveIsdnLines No active ISDN lines are available.
errorNoIsdnChannelsAvailable No ISDN channels are available to make the call.
errorTooManyLineErrors Too many errors occurred because of poor phone line quality.
errorIpConfiguration The Remote Access Service IP configuration is unusable.
errorNoIpAddresses No IP addresses are available in the static pool of Remote Access Service IP addresses.
errorPppTimeout The connection was terminated because the remote computer did not respond in a timely manner.
errorPppRemoteTerminated The connection was terminated by the remote computer.
errorPppNoProtocolsConfigured A connection to the remote computer could not be established.
errorPppNoResponse The remote computer did not respond.
errorPppInvalidPacket Invalid data was received from the remote computer.
errorPhoneNumberTooLong The phone number, including prefix and suffix, is too long.
errorIpxcpNoDialoutConfigured The IPX protocol cannot dial out on the modem because this computer is not configured for dialing out.
errorIpxcpNoDialinConfigured The IPX protocol cannot dial in on the modem because this computer is not configured for dialing in.
errorIpxcpDialoutAlreadyActive The IPX protocol cannot be used for dialing out on more than one modem.
errorAccessingTcpcfgDll Cannot access TCPCFG.DLL.
errorNoIpRasAdapter The system cannot find an IP adapter.
errorSlipRequiresIp SLIP cannot be used unless the IP protocol is installed.
errorProjectionNotComplete Computer registration is not complete.
errorProtocolNotConfigured The protocol is not configured.
errorPppNotConverging Your computer and the remote computer could not agree on PPP control protocols.
errorPppCpRejected A connection to the remote computer could not be completed.
errorPppLcpTerminated The PPP link control protocol was terminated.
errorPppRequiredAddressRejected The requested address was rejected by the server.
errorPppNcpTerminated The remote computer terminated the control protocol.
errorPppLoopbackDetected Loopback was detected.
errorPppNoAddressAssigned The server did not assign an address.
errorCannotUseLogonCredentials The authentication protocol required by the remote server cannot use the stored password.
errorTapiConfiguration An invalid dialing rule was detected.
errorNoLocalEncryption The local computer does not support the required data encryption type.
errorNoRemoteEncryption The remote computer does not support the required data encryption type.
errorRemoteRequiresEncryption The remote computer requires data encryption.
errorIpxcpNetNumberConflict The system cannot use the IPX network number assigned by the remote computer.
errorInvalidSMM An internal error has occurred.
errorSMMUninitialized An internal error has occurred.
errorNoMacForPort An internal error has occurred.
errorSmmTimeout An internal error has occurred.
errorBadPhoneNumber An invalid telephone number has been specified.
errorWrongModule An internal error has occurred.
errorInvalidCallbackNumber The callback number contains an invalid character.
errorScriptSyntax A syntax error was encountered while processing a script.
errorHangupFailed The connection could not be disconnected because it was created by the multi-protocol router.
errorBundleNotFound The system could not find the multi-link bundle.
errorCannotDoCustomdial The system cannot perform automated dial because this connection has a custom dialer specified.
errorDialAlreadyInProgress This connection is already being dialed.
errorRasautoCannotInitialize Remote Access Services could not be started automatically.
errorConnectionAlreadyShared Internet Connection Sharing is already enabled on the connection.
errorSharingChangeFailed An error occurred while the existing Internet Connection Sharing settings were being changed.
errorSharingRouterInstall An error occurred while routing capabilities were being enabled.
errorShareConnectionFailed An error occurred while Internet Connection Sharing was being enabled for the connection.
errorSharingPrivateInstall An error occurred while the local network was being configured for sharing.
errorCannotShareConnection Internet Connection Sharing cannot be enabled.
errorNoSmartCardReader No smart card reader is installed.
errorSharingAddressExists Internet Connection Sharing cannot be enabled.
errorNoCertificate A certificate could not be found.
errorSharingMultipleAddresses Internet Connection Sharing cannot be enabled.
errorFailedToEncrypt The connection attempt failed because of failure to encrypt data.
errorBadAddressSpecified The specified destination is not reachable.
errorConnectionReject The remote computer rejected the connection attempt.
errorCongestion The connection attempt failed because the network is busy.
errorIncompatible The remote computer's network hardware is incompatible with the type of call requested.
errorNumberchanged The connection attempt failed because the destination number has changed.
errorTempfailure The connection attempt failed because of a temporary failure.
errorBlocked The call was blocked by the remote computer.
errorDonotdisturb The call could not be connected because the remote computer has invoked the Do Not Disturb feature.
errorOutoforder The connection attempt failed because the modem on the remote computer is out of order.
errorUnableToAuthenticateServer It was not possible to verify the identity of the server.
errorSmartCardRequired To dial out using this connection you must use a smart card.
errorInvalidFunctionForEntry An attempted function is not valid for this connection.
errorCertForEncryptionNotFound The connection requires a certificate, and no valid certificate was found.
errorSharingRrasConflict Network Address Translation must be removed before enabling Internet Connection Sharing.
errorSharingNoPrivateLan Internet Connection Sharing cannot be enabled.
errorNoDiffUserAtLogon You cannot dial using this connection at logon time.
errorNoRegCertAtLogon You cannot dial using this connection at logon time.
errorOakleyNoCert The L2TP connection attempt failed because there is no valid machine certificate on your computer for security authentication.
errorOakleyAuthFail The L2TP connection attempt failed because the security layer could not authenticate the remote computer.
errorOakleyAttribFail The L2TP connection attempt failed because the security layer could not negotiate compatible parameters with the remote computer.
errorOakleyGeneralProcessing The L2TP connection attempt failed because the security layer encountered a processing error during initial negotiations with the remote computer.
errorOakleyNoPeerCert The L2TP connection attempt failed because certificate validation on the remote computer failed.
errorOakleyNoPolicy The L2TP connection attempt failed because security policy for the connection was not found.
errorOakleyTimedOut The L2TP connection attempt failed because security negotiation timed out.
errorOakleyError The L2TP connection attempt failed because an error occurred while negotiating security.
errorUnknownFramedProtocol The Framed Protocol RADIUS attribute for this user is not PPP.
errorWrongTunnelType The Tunnel Type RADIUS attribute for this user is not correct.
errorUnknownServiceType The Service Type RADIUS attribute for this user is neither Framed nor Callback Framed.
errorConnectingDeviceNotFound A connection to the remote computer could not be established because the modem was not found or was busy.
errorNoEaptlsCertificate A certificate could not be found that can be used with this Extensible Authentication Protocol.
errorSharingHostAddressConflict Internet Connection Sharing cannot be enabled.
errorAutomaticVpnFailed Unable to establish the VPN connection.
errorValidatingServerCert Unable to verify the digital certificate sent by the server.
errorReadSCard The card supplied was not recognized, please check that the card is inserted correctly, and fits tightly
errorInvalidPEAPCookieConfig The PEAP configuration stored in the session cookie does not match the current session configuration
errorInvalidPEAPCookieUser The PEAP identity stored in the session cookie does not match the current identity
errorInvalidMSCHAPV2Config You cannot dial using this connection at logon time, because it is configured to use logged on user's credentials
errorInvalidLicense The license for this product is invalid.
errorProductNotLicensed This product is not licensed to perform this operation.
errorNotImplemented This function has not been implemented on this platform.
errorOperationNotSupported The specified operation is not supported.

Requirements

Namespace: SocketTools

Assembly: SocketTools.InternetDialer (in SocketTools.InternetDialer.dll)

See Also

SocketTools Namespace