码迷,mamicode.com
首页 > 其他好文 > 详细

Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON

时间:2015-11-09 18:25:48      阅读:220      评论:0      收藏:0      [点我收藏+]

标签:

I create a very simple website.
when I run website from VS2012 ,website easily can get data from SQLSERVER which run on server which is seperate (I mean SQLSERVER is on one server and I host website on my pc as server).
but when I publish website on my PC IIS,browsing the website from IIS manager cause below error:

Login failed for user ‘NT AUTHORITY\ANONYMOUS LOGON

 

 

 

Solution 1

You probably just need to provide a user name and password in your connectionstring and set Integrated Security=false
 
 

Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON

标签:

原文地址:http://www.cnblogs.com/facial/p/4950455.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!