两个azure帐户之间的Azure数据库外部数据源

时间:2016-08-02 09:45:44

标签: sql-server database azure firewall

我们在两个不同的AZURE帐户中有两个SQL数据库服务器。 我们希望从Server1中的数据库向Server2添加外部数据源。 数据源已添加,但在尝试访问外部表时,我们得到:

Msg 46823, Level 16, State 2, Line 1
Error retrieving data from one or more shards.  The underlying error message received was: '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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)'.

似乎server1上的防火墙不允许连接。我们已经添加了“允许Azure服务访问”,甚至尝试将服务器的IP添加到防火墙中,但没有任何作用。

我们如何在两个不同的帐户中建立数据库服务器之间的连接?

0 个答案:

没有答案