操作系统: win10 专业版 时间: 2016/01/15
SAS版本: sas9.4 / sas enterprise miner 13.2
问题详述: 在新建项目时, 输入项目名称和选择sas目录后点击下一步时报错: 该应用程序无法登陆服务器 "localhost:0",集成的windows验证失败 (英文报错内容:
The application could not log on to the server "localhost:0". Integrated Windows authentication failed.)
解决方案出处: http://support.sas.com/kb/55/227.html
个人对于解决方案的总结:
解决步骤:
1. 记事本打开hosts文件, 默认目录是
<Windows>\System32\drivers\etc\hosts
2. 添加行: 127.0.0.1 localhost FQDN <host-name> 这里的<host-name> 和FQDN见下一步:
3. 在开始菜单或者左下角的搜索栏里输入cmd 打开命令提示符,输入 ipconfig /all
假设前两行结果如下:
主机名 . . . . . . . . . . . . . :d79277
主 DNS 后缀 . . . . . . . . . . . :na.SAS.com
主机名(host name ): d79277;
主DNS后缀( primary dns suffix): na.SAS.com 当然也可能后面什么都没有
如果主dns后缀后面什么都没有那么就不需要FQDN
如果有 FQDN就是 d79277.na.SAS.com (是主机名和DNS后缀用点 . 连接)
也就是说在hosts文件中添加的行是 : 有DNS后缀: 127.0.0.1 localhost d79277.na.SAS.com d79277
无DNS后缀:
127.0.0.1 localhost d79277
当然其中的主机名和DNS后缀要换成你自己的
4. 删除其他的以127.0.0.1开头的行 (
If there are other lines that begin with 127.0.0.1
, then those lines should be deleted or commented out by prefixing the line with a #
character. ) 。 由于我破解adobe acrobat 11 在host里加了东西,只能忍痛找别的办法重装acrobat了 (自侧只能有一行, 多行不行 )
原文中说最好重启,反正我没重启也解决了……
ps: 第一次发帖,本着遇到问题如果解决了共享的原则,本着科学提问的方法。如有不足望指正
pps: 重装adobe acrobat好烦……