为什么在Azure上添加新的链接服务时会遇到错误22300?

发布于 2025-02-12 16:59:27 字数 1614 浏览 0 评论 0原文

我是Azure的新手。我目前正在探索Azure Synapse。我的笔记本电脑上有一个本地的SQL Server Express数据库,我想将其作为Azure Synapse上的数据源连接。我选择了SQL Server:

“在此处输入图像描述”

现在测试连接时,我会收到以下错误:

问题是我得到22300错误:

Cannot connect to SQL Database: 'DESKTOP-xxxxxx\SQLEXPRESS', Database: 'David', User: 'Bidi'. Check the linked service configuration is correct, and make sure the SQL Database firewall allows the integration runtime to access.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified), SqlErrorNumber=-1,Class=20,State=0,
Activity ID: eafe37de-fabf-43d6-914f-25e8685bb149.

我什至尝试在SQL Configuration Manager中启用端口:

​防火墙规则允许端口:

”在此处输入图像描述”

不幸的是,我仍然无法获得Synapse上的链接服务以连接到 它。

任何帮助将不胜感激。

I am new to Azure. I am currently exploring Azure Synapse. I have a local SQL Server Express database on my laptop and I wanted to connect it as a data source on my Azure Synapse. I selected SQL Server:

enter image description here

enter image description here

Now when I tested the connection I get the following error:

The problem is I get a 22300 error:

Cannot connect to SQL Database: 'DESKTOP-xxxxxx\SQLEXPRESS', Database: 'David', User: 'Bidi'. Check the linked service configuration is correct, and make sure the SQL Database firewall allows the integration runtime to access.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified), SqlErrorNumber=-1,Class=20,State=0,
Activity ID: eafe37de-fabf-43d6-914f-25e8685bb149.

I even tried enabling the port in the SQL configuration manager:

enter image description here

And I made a firewall rule to allow the port:

enter image description here

Unfortunately I still can't get the linked service on Synapse to connect to it.

Any help would be greatly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

青春如此纠结 2025-02-19 16:59:28

您将需要安装自我托管集成运行时在您的本地网络中,例如在运行SQL Server的计算机上:

一个自托的IR能够:

在云数据存储和专用网络中的数据存储之间运行复制活动。

请参阅文档 有关如何安装和配置运行时。

You will need to install the Self-hosted integration runtime in your on-premises network, for example on the machine running SQL server:

A self-hosted IR is capable of:

Running copy activity between a cloud data stores and a data store in private network.

See the docs on how to install and configure the runtime .

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文