[英]PowerApps cannot connect to on-premise SQL Server through On-Premise Data Gateway
I'm trying to setup a data connection from PowerApps to an on-premise SQL Server instance we have.我正在尝试建立从 PowerApps 到我们拥有的本地 SQL Server 实例的数据连接。 However, I get the following error:但是,我收到以下错误:
Microsoft SQL: A network-related or instance-specific error occurred while establishing a connection to SQL Server. Microsoft SQL:建立与 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.验证实例名称是否正确以及 SQL Server 是否配置为允许远程连接。 (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (提供程序:命名管道提供程序,错误:40 - 无法打开与 SQL Server 的连接)
I'm following this support article from Microsoft to get it set up.我正在关注 Microsoft 的这篇支持文章以进行设置。
Everything I've done so far:到目前为止我所做的一切:
The weird thing is if I change the username/password to something incorrect, it gives me an "invalid credentials" error, so I know it can at least hit the domain/SQL Server to authenticate.奇怪的是,如果我将用户名/密码更改为不正确的内容,它会给我一个“无效凭据”错误,所以我知道它至少可以通过域/SQL Server 进行身份验证。 Is there a setting I'm missing somewhere in SQL Server?是否有我在 SQL Server 中某处丢失的设置?
So, I'm an idiot and had the SQL Server name wrong.所以,我是个白痴,把 SQL Server 的名字弄错了。 In the tutorial I watched the instructor just listed the computer name (which is what I was doing), but I needed to add a backslash and SQLEXPRESS as well.在教程中,我看到讲师只是列出了计算机名称(这是我正在做的),但我还需要添加反斜杠和 SQLEXPRESS。
Worked like a charm after that.在那之后工作就像一个魅力。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.