Good day,
This article will surely help you: http://support.microsoft.com/kb/811889
Another long discussion with some insights can be found here: https://stackoverflow.com/questions/32309922/the-target-principal-name-is-incorrect-cannot-generate-sspi-context
Note that if you are using Windows Authentication then try to switch to SQL Server Authentication can also bypass this type of issue.