简体   繁体   English

错误发生-c#.net中用户ABLF \\ Guest的登录失败

[英]error occur- Login failed for user ABLF\Guest in c#.net

I have created an application using c# on visual studio 2005 and sqlserver 2005 in backend. 我在后端的Visual Studio 2005和sqlserver 2005上使用c#创建了一个应用程序。 My application is running perfectly on server machine but on client machine it is giving following error- 我的应用程序在服务器计算机上运行完美,但在客户端计算机上却出现以下错误-

Login failed for user ABLF\\Guest 用户ABLF \\ Guest登录失败

I have installed it by going into my network places and then execute the setup(which i have created) from shared folder document and setting.. 我已经通过进入网上邻居进行安装,然后从共享文件夹文档和设置中执行设置(我创建的)。

Guest account is disabled on host machine. 来宾帐户在主机上被禁用。 Guest account also does not have remote logon enabled by default. 来宾帐户默认情况下也未启用远程登录。

To be safe you need to setup a remote user account that only has access to website on host. 为了安全起见,您需要设置一个只能访问主机网站的远程用户帐户。 Do not enable Guest account! 不要启用访客帐户! Too many hacks can use Guest account to enable privileges upgrade. 太多的黑客无法使用来宾帐户来启用特权升级。

谢谢..最后,我实际上从服务器的数据库中获得了解决方案,我必须允许客户端计算机通过设置安全性属性,然后将新的userlogin设置为ablf \\ guest,来访问数据库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM