If you receive the error message:
Microsoft.Data.SqlClient.SqlException: A connection was successfully established with the server, but then an error occurred during the login process (provider: SSL Provider, error 0 - The target principal name is incorrect)
The most likely cause, when it occurs in SQL Source Control, is a certificate validation issue.
You can either fix the underlying certificate validation issue or you can work around the issue by following the instructions on this related article.
17
-5
Was this article helpful?
6 out of 17 found this helpful
Articles in this section
- The process cannot access the file 'C:\Users\*******\AppData\Local\Red Gate\SQL Source Control 7\Caches
- Duplicate definition troubleshooting in SQL Source Control
- The target principal name is incorrect
- SQL Source Control can't access this database - make sure the database is online and you have permission to access it
- Meanings of the colored dots in the SSMS Object Explorer for SQL Source Control
- Last Changed By column shows Unknown
- How to Link SQL Source Control to TFS
- How to link to an existing SVN repository
- GIT Push/Pull greyed out
- Objects changed by unknown