无法从应用程序登录到DB [英] Unable to login to DB from application

查看:102
本文介绍了无法从应用程序登录到DB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



请帮忙解决问题。



1.我们托管了在Windows 2008服务器中的asp.net(3.5)webapp中,数据库在其他服务器中,版本是2008 r2。



2.应用程序无法使用托管后连接到Db,但是在从VS 2010调试时它连接。



3.我是主机环境的新手,请帮助。

解决方案

您正在使用哪种身份验证?尝试使用SQL身份验证。


请参阅:在连接字符串中使用Windows安全性( http://msdn.microsoft.com/en-us/library/2xzyzb0f(v = VS.100)的.aspx

错误消息:用户'NT AUTHORITY \ ANONYMOUS LOGON'登录失败。



我们正在使用Windows身份验证,以便Domain Credentials可以正常运行请帮助,。 />
实际上Db服务器是我们自己的服务器,我是托管的新手,不知道它是否允许匿名连接。我可以更改为Sql Server身份验证


Hi All,

Please help to resolve the problem.

1. We have hosted in a asp.net(3.5) webapp in a windows 2008 server and the Database is in other server the version is 2008 r2.

2. The application is not able connect to Db after Hosting but it Connects while Debugging from the VS 2010.

3. Iam a newbee to the Hosting Environment Kindly Help.

解决方案

Which authentication you are using? Try with SQL Authentication.


Refer: Using Windows Security in the Connection String (http://msdn.microsoft.com/en-us/library/2xzyzb0f(v=vs.100).aspx)


Error Message :Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

we are using Windows authentication so that Domain Credentials will work Please Help,.
Actually the Db Server is our own Server and i am a newbee in hosting dont know whether it allows anonymous connections or not. i can change to Sql Server Authentication


这篇关于无法从应用程序登录到DB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆