作成したWCFサービスを使用して、AzureでホストされているSQLデータベースに接続できません。 linkをクリックしてAzureから接続文字列を取得しました。私が行っているWCFサービス経由で接続文字列を使用してAzure SQLデータベースへの接続を確立する際の問題
もの:
- は私のデータベースサーバのファイアウォール設定に私のWCFサービスの公開IPを追加しました。
Server=tcp:thebutlrserver.database.windows.net,1433;Data Source=thebutlrserver.database.windows.net;Initial Catalog=btlrDB;Persist Security Info=False;User ID=******;Password=******;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=120;
をクリックすることで、VS2015を経由してSQL Serverに接続しようとしたのAzureサービスへのアクセス
エラーは次のとおりです。
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)
この問題は、一貫して、または時々直面していますか? – TheGameiswar
サーバーのDNSを解決できることを確認しましたか? – Aravind
@TheGameiswar - Iveが設定を試みたのはこれが初めてです。 –