sql server 2008r2:The target principal name is incorrect. Cannot generate SSPI context

时间:2016-06-12 18:53:59   收藏:0   阅读:941

当用SQL server management studio使用IP连接时提示如下错误:

 

sql server 2008r2:The target principal name is incorrect. Cannot generate SSPI context

 

解决方法:

cmd中执行(注意管理员权限运行):

    SETSPN -A MSSQLSvc/DBServerName:1433 DBServerName

本文出自 “重启ING” 博客,请务必保留此出处http://winter2014.blog.51cto.com/151632/1788295

评论(0)
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!