>>>>Hi,
>>>>
>>>>I am getting this message:
>>>>
>>>>System.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The token supplied to the function is invalid)
>>>>
>>>>when trying to connect to a remote database server using SSMS.
>>>>
>>>>I am able to connect to the server from other PCs without a problem.
>>>>
>>>>Any ideas what could be causing this?
>>>
>>>Found your message on SQL Central :)
>>>
>>>And a few others such as
>>>
>>>
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/c84ae5d6-7be4-4238-be8a-9982f6aa4c2c/a-connection-was-successfully-established-with-the-server-but-then-an-error-occurred-during-the?forum=sqldataaccess>>>
>>>I sent message to forum's team to correct the dead links in that thread, but in the meantime you may try resetting IIS.
>>
>>Thanks but this is a desktop app. No IIS involved.
>
>Would not hurt to try and the other advice from that thread.
I don't think they even have IIS on that PC, but I will check.
Which other advice? I had found that thread before posting here and the error message is actually different to the one I have and the links to the possible solutions don't work.