Our admin set up a brand new Windows 2012 R2 server with Visual Studio 2015. When I try to connect to an existing sql server 2008 database (running on a windows 2008 r2 server) from Visual Studio, using Tools -> Connect to database..., I can enter all the information, the dialog retrieves the list of databases, Test Connection works, but when I click ok I get:
The computer must be trusted for delegation and the current user account must be configured to allow delegation
Both servers are under the same domain (development) and I am local admin on both of them. My account though is on a different domain that has access to the development domain.
Any ideas on how to fix this? Are they referring to the windows 2012 server or the database server in the message?
Just as a side note, I can connect successfully from another windows 2008 r2 server using the same windows account.
Update: the connection that fails uses windows authentication.
SetSPN
, or modify the AD to give SPN permissions to the account that's running the SQL service. technet.microsoft.com/en-us/library/bb735885.aspx