How to create a new ODBC connection to one remote SQL Server

笑着哭i 提交于 2019-12-11 10:36:22

问题


I'm trying to run an application that I've developped recently. This one uses an ODBC connection to browse a defined database.

I'm trying to execute this app from a remote computer. Using VMWare, I've created a new Windows 7 environment and connected on. After that I've tried to create a new System DSN, but, when I set the logins that I'm using to connect on my local SQL Server 2008 I get

Connection failed: SQLState: '28000' SQL Server Error: 18452 [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.

How may I to deal with this, please?

Thanks a lot!


回答1:


You will have to use SQL Server authentication to connect or add the local machine to the same domain where the server is.

http://msdn.microsoft.com/en-us/library/ms144284.aspx



来源:https://stackoverflow.com/questions/22934535/how-to-create-a-new-odbc-connection-to-one-remote-sql-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!