Event ID 1219 : Unable to obtain Terminal Server User Configuration. Error: The network address is invalid

ERROR:

Logon rejected for DOMAIN_NAME\USER_NAME. Unable to obtain Terminal Server User Configuration. Error: The network address is invalid.

QUICKFIX:

Check the IP address, Subnet Mask, Default Gateway and the DNS of the client machine. 

Check the Terminal Server Configuration and ensure that the Discovery mode is either automatic or set to the preferred server.