System Error Codes (1700-3999)
The System Error Codes are very broad. Each one can occur in one of many hundreds of locations in the system. Consequently the descriptions of these codes cannot be very specific. Use of these codes requires some amount of investigation and analysis. You need to note both the programmatic and the run-time context in which these errors occur. Because these codes are defined in WinError.h for anyone to use, sometimes the codes are returned by non-system software. Sometimes the code is returned by a function deep in the stack and far removed from your code that is handling the error.
The following list describes system error codes (errors 1700 to 3999). They are returned by the GetLastError function when many functions fail. To retrieve the description text for the error in your application, use the FormatMessage function with the FORMAT_MESSAGE_FROM_SYSTEM flag.
1700 (0x6A4) - The string binding is invalid.
1701 (0x6A5) - The binding handle is not the correct type.
1702 (0x6A6) - The binding handle is invalid.
1703 (0x6A7) - The RPC protocol sequence is not supported.
1704 (0x6A8) - The RPC protocol sequence is invalid.
1705 (0x6A9) - The string universal unique identifier (UUID) is invalid.
1706 (0x6AA) - The endpoint format is invalid.
1707 (0x6AB) - The network address is invalid.
1708 (0x6AC) - No endpoint was found.
1709 (0x6AD) - The timeout value is invalid.
1710 (0x6AE) - The object universal unique identifier (UUID) was not found.
1711 (0x6AF) - The object universal unique identifier (UUID) has already been registered.
1712 (0x6B0) - The type universal unique identifier (UUID) has already been registered.
1713 (0x6B1) - The RPC server is already listening.
1714 (0x6B2) - No protocol sequences have been registered.
1715 (0x6B3) - The RPC server is not listening.
1716 (0x6B4) - The manager type is unknown.
1717 (0x6B5) - The interface is unknown.
1718 (0x6B6) - There are no bindings.
1719 (0x6B7) - There are no protocol sequences.
1720 (0x6B8) - The endpoint cannot be created.
1721 (0x6B9) - Not enough resources are available to complete this operation.
1722 (0x6BA) - The RPC server is unavailable.
1723 (0x6BB) - The RPC server is too busy to complete this operation.
1724 (0x6BC) - The network options are invalid.
1725 (0x6BD) - There are no remote procedure calls active on this thread.
1726 (0x6BE) - The remote procedure call failed.
1727 (0x6BF) - The remote procedure call failed and did not execute.
1728 (0x6C0) - A remote procedure call (RPC) protocol error occurred.
1729 (0x6C1) - Access to the HTTP proxy is denied.
1730 (0x6C2) - The transfer syntax is not supported by the RPC server.
1732 (0x6C4) - The universal unique identifier (UUID) type is not supported.
1733 (0x6C5) - The tag is invalid.
1734 (0x6C6) - The array bounds are invalid.
1735 (0x6C7) - The binding does not contain an entry name.
1736 (0x6C8) - The name syntax is invalid.
1737 (0x6C9) - The name syntax is not supported.
1739 (0x6CB) - No network address is available to use to construct a universal unique identifier (UUID).
1740 (0x6CC) - The endpoint is a duplicate.
1741 (0x6CD) - The authentication type is unknown.
1742 (0x6CE) - The maximum number of calls is too small.
1743 (0x6CF) - The string is too long.
1744 (0x6D0) - The RPC protocol sequence was not found.
1745 (0x6D1) - The procedure number is out of range.
1746 (0x6D2) - The binding does not contain any authentication information.
1747 (0x6D3) - The authentication service is unknown.
1748 (0x6D4) - The authentication level is unknown.
1749 (0x6D5) - The security context is invalid.
1750 (0x6D6) - The authorization service is unknown.
1751 (0x6D7) - The entry is invalid.
1752 (0x6D8) - The server endpoint cannot perform the operation.
1753 (0x6D9) - There are no more endpoints available from the endpoint mapper.
1754 (0x6DA) - No interfaces have been exported.
1755 (0x6DB) - The entry name is incomplete.
1756 (0x6DC) - The version option is invalid.
1757 (0x6DD) - There are no more members.
1758 (0x6DE) - There is nothing to unexport.
1759 (0x6DF) - The interface was not found.
1760 (0x6E0) - The entry already exists.
1761 (0x6E1) - The entry is not found.
1762 (0x6E2) - The name service is unavailable.
1763 (0x6E3) - The network address family is invalid.
1764 (0x6E4) - The requested operation is not supported.
1765 (0x6E5) - No security context is available to allow impersonation.
1766 (0x6E6) - An internal error occurred in a remote procedure call (RPC).
1767 (0x6E7) - The RPC server attempted an integer division by zero.
1768 (0x6E8) - An addressing error occurred in the RPC server.
1769 (0x6E9) - A floating-point operation at the RPC server caused a division by zero.
1770 (0x6EA) - A floating-point underflow occurred at the RPC server.
1771 (0x6EB) - A floating-point overflow occurred at the RPC server.
1772 (0x6EC) - The list of RPC servers available for the binding of auto handles has been exhausted.
1773 (0x6ED) - Unable to open the character translation table file.
1774 (0x6EE) - The file containing the character translation table has fewer than 512 bytes.
1775 (0x6EF) - A null context handle was passed from the client to the host during a remote procedure call.
1777 (0x6F1) - The context handle changed during a remote procedure call.
1778 (0x6F2) - The binding handles passed to a remote procedure call do not match.
1779 (0x6F3) - The stub is unable to get the remote procedure call handle.
1780 (0x6F4) - A null reference pointer was passed to the stub.
1781 (0x6F5) - The enumeration value is out of range.
1782 (0x6F6) - The byte count is too small.
1783 (0x6F7) - The stub received bad data.
1784 (0x6F8) - The supplied user buffer is not valid for the requested operation.
1785 (0x6F9) - The disk media is not recognized. It may not be formatted.
1786 (0x6FA) - The workstation does not have a trust secret.
1787 (0x6FB) - The security database on the server does not have a computer account for this workstation trust relationship.
1788 (0x6FC) - The trust relationship between the primary domain and the trusted domain failed.
1789 (0x6FD) - The trust relationship between this workstation and the primary domain failed.
1790 (0x6FE) - The network logon failed.
1791 (0x6FF) - A remote procedure call is already in progress for this thread.
1792 (0x700) - An attempt was made to logon, but the network logon service was not started.
1793 (0x701) - The user's account has expired.
1794 (0x702) - The redirector is in use and cannot be unloaded.
1795 (0x703) - The specified printer driver is already installed.
1796 (0x704) - The specified port is unknown.
1797 (0x705) - The printer driver is unknown.
1798 (0x706) - The print processor is unknown.
1799 (0x707) - The specified separator file is invalid.
1800 (0x708) - The specified priority is invalid.
1801 (0x709) - The printer name is invalid.
1802 (0x70A) - The printer already exists.
1803 (0x70B) - The printer command is invalid.
1804 (0x70C) - The specified datatype is invalid.
1805 (0x70D) - The environment specified is invalid.
1806 (0x70E) - There are no more bindings.
1807 (0x70F) - The account used is an interdomain trust account. Use your global user account or local user account to access this server.
1808 (0x710) - The account used is a computer account. Use your global user account or local user account to access this server.
1809 (0x711) - The account used is a server trust account. Use your global user account or local user account to access this server.
1810 (0x712) - The name or security ID (SID) of the domain specified is inconsistent with the trust information for that domain.
1811 (0x713) - The server is in use and cannot be unloaded.
1812 (0x714) - The specified image file did not contain a resource section.
1813 (0x715) - The specified resource type cannot be found in the image file.
1814 (0x716) - The specified resource name cannot be found in the image file.
1815 (0x717) - The specified resource language ID cannot be found in the image file.
1816 (0x718) - Not enough quota is available to process this command.
1817 (0x719) - No interfaces have been registered.
1818 (0x71A) - The remote procedure call was cancelled.
1819 (0x71B) - The binding handle does not contain all required information.
1820 (0x71C) - A communications failure occurred during a remote procedure call.
1821 (0x71D) - The requested authentication level is not supported.
1822 (0x71E) - No principal name registered.
1823 (0x71F) - The error specified is not a valid Windows RPC error code.
1824 (0x720) - A UUID that is valid only on this computer has been allocated.
1825 (0x721) - A security package specific error occurred.
1826 (0x722) - Thread is not canceled.
1827 (0x723) - Invalid operation on the encoding/decoding handle.
1828 (0x724) - Incompatible version of the serializing package.
1829 (0x725) - Incompatible version of the RPC stub.
1830 (0x726) - The RPC pipe object is invalid or corrupted.
1831 (0x727) - An invalid operation was attempted on an RPC pipe object.
1832 (0x728) - Unsupported RPC pipe version.
1833 (0x729) - HTTP proxy server rejected the connection because the cookie authentication failed.
1898 (0x76A) - The group member was not found.
1899 (0x76B) - The endpoint mapper database entry could not be created.
1900 (0x76C) - The object universal unique identifier (UUID) is the nil UUID.
1901 (0x76D) - The specified time is invalid.
1902 (0x76E) - The specified form name is invalid.
1903 (0x76F) - The specified form size is invalid.
1904 (0x770) - The specified printer handle is already being waited on.
1905 (0x771) - The specified printer has been deleted.
1906 (0x772) - The state of the printer is invalid.
1907 (0x773) - The user's password must be changed before signing in.
1908 (0x774) - Could not find the domain controller for this domain.
1909 (0x775) - The referenced account is currently locked out and may not be logged on to.
1910 (0x776) - The object exporter specified was not found.
1911 (0x777) - The object specified was not found.
1912 (0x778) - The object resolver set specified was not found.
1913 (0x779) - Some data remains to be sent in the request buffer.
1914 (0x77A) - Invalid asynchronous remote procedure call handle.
1915 (0x77B) - Invalid asynchronous RPC call handle for this operation.
1916 (0x77C) - The RPC pipe object has already been closed.
1917 (0x77D) - The RPC call completed before all pipes were processed.
1918 (0x77E) - No more data is available from the RPC pipe.
1919 (0x77F) - No site name is available for this machine.
1920 (0x780) - The file cannot be accessed by the system.
1921 (0x781) - The name of the file cannot be resolved by the system.
1922 (0x782) - The entry is not of the expected type.
1923 (0x783) - Not all object UUIDs could be exported to the specified entry.
1924 (0x784) - Interface could not be exported to the specified entry.
1925 (0x785) - The specified profile entry could not be added.
1926 (0x786) - The specified profile element could not be added.
1927 (0x787) - The specified profile element could not be removed.
1928 (0x788) - The group element could not be added.
1929 (0x789) - The group element could not be removed.
1930 (0x78A) - The printer driver is not compatible with a policy enabled on your computer that blocks NT 4.0 drivers.
1931 (0x78B) - The context has expired and can no longer be used.
1932 (0x78C) - The current user's delegated trust creation quota has been exceeded.
1933 (0x78D) - The total delegated trust creation quota has been exceeded.
1934 (0x78E) - The current user's delegated trust deletion quota has been exceeded.
1935 (0x78F) - The computer you are signing into is protected by an authentication firewall. The specified account is not allowed to authenticate to the computer.
1936 (0x790) - Remote connections to the Print Spooler are blocked by a policy set on your machine.
1937 (0x791) - Authentication failed because NTLM authentication has been disabled.
1938 (0x792) - Logon Failure: EAS policy requires that the user change their password before this operation can be performed.
2000 (0x7D0) - The pixel format is invalid.
2001 (0x7D1) - The specified driver is invalid.
2002 (0x7D2) - The window style or class attribute is invalid for this operation.
2003 (0x7D3) - The requested metafile operation is not supported.
2004 (0x7D4) - The requested transformation operation is not supported.
2005 (0x7D5) - The requested clipping operation is not supported.
2010 (0x7DA) - The specified color management module is invalid.
2011 (0x7DB) - The specified color profile is invalid.
2012 (0x7DC) - The specified tag was not found.
2013 (0x7DD) - A required tag is not present.
2014 (0x7DE) - The specified tag is already present.
2015 (0x7DF) - The specified color profile is not associated with the specified device.
2016 (0x7E0) - The specified color profile was not found.
2017 (0x7E1) - The specified color space is invalid.
2018 (0x7E2) - Image Color Management is not enabled.
2019 (0x7E3) - There was an error while deleting the color transform.
2020 (0x7E4) - The specified color transform is invalid.
2021 (0x7E5) - The specified transform does not match the bitmap's color space.
2022 (0x7E6) - The specified named color index is not present in the profile.
2023 (0x7E7) - The specified profile is intended for a device of a different type than the specified device.
2108 (0x83C) - The network connection was made successfully, but the user had to be prompted for a password other than the one originally specified.
2109 (0x83D) - The network connection was made successfully using default credentials.
2202 (0x89A) - The specified username is invalid.
2250 (0x8CA) - This network connection does not exist.
2401 (0x961) - This network connection has files open or requests pending.
2402 (0x962) - Active connections still exist.
2404 (0x964) - The device is in use by an active process and cannot be disconnected.
3000 (0xBB8) - The specified print monitor is unknown.
3001 (0xBB9) - The specified printer driver is currently in use.
3002 (0xBBA) - The spool file was not found.
3003 (0xBBB) - A StartDocPrinter call was not issued.
3004 (0xBBC) - An AddJob call was not issued.
3005 (0xBBD) - The specified print processor has already been installed.
3006 (0xBBE) - The specified print monitor has already been installed.
3007 (0xBBF) - The specified print monitor does not have the required functions.
3008 (0xBC0) - The specified print monitor is currently in use.
3009 (0xBC1) - The requested operation is not allowed when there are jobs queued to the printer.
3010 (0xBC2) - The requested operation is successful. Changes will not be effective until the system is rebooted.
3011 (0xBC3) - The requested operation is successful. Changes will not be effective until the service is restarted.
3012 (0xBC4) - No printers were found.
3013 (0xBC5) - The printer driver is known to be unreliable.
3014 (0xBC6) - The printer driver is known to harm the system.
3015 (0xBC7) - The specified printer driver package is currently in use.
3016 (0xBC8) - Unable to find a core driver package that is required by the printer driver package.
3017 (0xBC9) - The requested operation failed. A system reboot is required to roll back changes made.
3018 (0xBCA) - The requested operation failed. A system reboot has been initiated to roll back changes made.
3019 (0xBCB) - The specified printer driver was not found on the system and needs to be downloaded.
3020 (0xBCC) - The requested print job has failed to print. A print system update requires the job to be resubmitted.
3021 (0xBCD) - The printer driver does not contain a valid manifest, or contains too many manifests.
3022 (0xBCE) - The specified printer cannot be shared.
3050 (0xBEA) - The operation was paused.
3950 (0xF6E) - Reissue the given operation as a cached IO operation.