私はスタンダールS2 edition.In自分のアプリケーションのログを私は常に、このような形式の多くの例外を参照している紺碧内のデータベースがあります。AzureのSQLデータベース関連の例外
1.
System.Data.SqlClient.SqlException: The client was unable to establish a connection because of an error during connection initialization process before login. Possible causes include the following: the client tried to connect to an unsupported version of SQL Server; the server was too busy to accept new connections; or there was a resource limitation (insufficient memory or maximum allowed connections) on the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.) ---> System.ComponentModel.Win32Exception: An existing connection was forcibly closed by the remote host
2.
をSystem.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached
System.Data.SqlClient.SqlException (0x80131904): The client was unable to establish a connection because of an error during connection initialization process before login. Possible causes include the following: the client tried to connect to an unsupported version of SQL Server; the server was too busy to accept new connections; or there was a resource limitation (insufficient memory or maximum allowed connections) on the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.) ---> System.ComponentModel.Win32Exception (0x80004005): An existing connection was forcibly closed by the remote host.
SqlAzureExecutionStrategyを使用するため、この例外はいくつかの再試行の後にスローされます。
azure portlaではさまざまなパフォーマンス指標が表示されていますが、問題はないようです。
問題を特定するにはどうすればよいですか?
'問題を特定するにはどうすればいいですか?> Azure SQL DBでサポートケースを開きます。 –
AzureSQLデータベースはアプリケーションコードと同じAzure Regionにありますか? Azure SQLデータベースに直接インターネット経由で接続していますか(デスクトップクライアントソフトウェアなどからですか?) – Dai
また、azureのあなたのイベントログテーブルを確認してください。 – TheGameiswar