エンタープライズ ライブラリ v5 を介してクエリを実行しているときに、次の例外が発生します。
SqlCommand.DeriveParameters failed because the SqlCommand.CommandText property value is an invalid multipart name "SELECT QUERY", the current limit of "4" is insufficient.
コード:
Try
Dim db As Database = DatabaseFactory.CreateDatabase("DatabaseName")
reader = db.ExecuteReader(CommandType.Text, query)
Catch ex As Exception
Throw ex
End Try
このコード ブロックは昨日まで正常に動作していました。突然、このエラーがログに表示されます。