"Error: 17828, Severity: 20, State: 4." in SQL Server error logs
The following error is written to the SQL Server event viewer
Error: 17828, Severity: 20, State: 4.
The prelogin packet used to open the connection is structurally invalid; the connection has been closed. Please contact the vendor of the client library. [CLIENT: ]
Insufficient MaxTokenSize value
Please refer to the Microsoft MSDN website here for the most common issue related to this error.
CAUTION: Support does not provide support for problems that arise from improper modification of the registry. The Windows registry contains information critical to your computer and applications. Make sure you back up the registry before modifying it. For more information on the Windows Registry Editor and how to back up and restore it, refer to Microsoft Article ID 256986 “Description of the Microsoft Windows registry” at Microsoft Support.