Sal服务器访问问题(dbnetlib) [英] Sal server access issue(dbnetlib)

查看:79
本文介绍了Sal服务器访问问题(dbnetlib)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我们在

Hi All,

We facing an error in

Server was unable to process request. ---threw an exception. ---> [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.







我们关闭了防火墙。请帮助解决DBNETLIB问题。



我尝试过:



我们试图从远程服务器获取数据。然后我们面对这个问题。我们与他们联系,他们从我们的问题中告诉它。




we turned off the firewall.Please help to resolve the DBNETLIB Issue.

What I have tried:

We tried to fetch the datas from remote server.Then we face this issue.We contacted with them,they are telling its from our side issue.

推荐答案

检查连接字符串:消息非常清楚。

要么引用错误的SQL服务器实例名称,要么在用户名和密码方面提供错误的授权详细信息,要么服务器未配置为允许远程连接,而您来自不同的域。



我们不能为您做任何事情!
Check your connection string: the message is pretty clear.
Either you are referencing the wrong SQL server instance name, providing the wrong authorization details in terms of username and password, or the server is not configured to allow remote connections and you are coming from a different domain.

We can't do any of that for you!


要解决此问题,您必须对TCP端口或SQL Server命名实例的命名管道进行硬编码。为此,请使用连接字符串



To fix this issue you have to hardcode the TCP port or the Named Pipe of the SQL Server named instance. For this, use a connection string

[oledb]
; Hardcoded TCP OLE DB initstring
Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;User ID=clientID;Data Source=tcp:TcpIpAddress,port


这篇关于Sal服务器访问问题(dbnetlib)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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