次の接続文字列を使用してSQLサーバーに接続しようとしています
<add name="siteDB" connectionString="Data Source=xxxxx\sql_2005;Initial Catalog=Intranet;User ID=username;Password=password" providerName="System.Data.SqlClient"/>
しかし、私はこのエラーが発生しています
A connection was successfully established with the server, but then an error occurred during the pre-login handshake
これは、Web アプリが .net 4 としてコンパイルされている場合にのみ問題になります。.net 2 は正常に動作するようです。
次のことを試しましたが成功しませんでした
TrustServerCertificate=True
接続文字列で..喜びはありません
も試した
TCP/IP protocols enabled
named pipes enabled
適切な権限を持つ新しく設定されたアカウントを使用する
何か案は?
ありがとう
ナット