Intellisense not loading for a dedicate SQL Pool
Woody___
Posts: 3 Bronze 1
in SQL Prompt
I'm using SQL Prompt 10.14.17.8739 and intellisense is no longer working for our dedicated SQL pool.
All other Azure SQL databases are working correctly.
I am using SSMS 19.3.4.0.
Here are the logs showing what happens when connecting or refreshing suggestions for a dedicated SQL Pool
All other Azure SQL databases are working correctly.
I am using SSMS 19.3.4.0.
Here are the logs showing what happens when connecting or refreshing suggestions for a dedicated SQL Pool
2024-05-09 11:19:52.833 +10:00 [Information] Created new ServerCandidate for server: someserver.database.windows.net
2024-05-09 11:19:55.609 +10:00 [Information] Chosen server capabilities "PDW"
2024-05-09 11:19:55.610 +10:00 [Information] Server does not support getting list of collations
2024-05-09 11:19:55.630 +10:00 [Information] Created new ServerCandidate for server: someserver.database.windows.net
2024-05-09 11:19:56.212 +10:00 [Information] Server does not support linking to other servers
2024-05-09 11:19:56.213 +10:00 [Information] Login suggestions are not supported for "PDW" servers
2024-05-09 11:19:56.411 +10:00 [Warning] Couldn't populate resource pools.
Microsoft.Data.SqlClient.SqlException (0x80131904): Catalog view 'resource_governor_resource_pools' is not supported in this version.
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData()
at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at Microsoft.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.ExecuteReader()
at RedGate.SqlPrompt.Cache.Candidates.ServerCandidate.PopulateResourcePools(DbConnection serverLevelConnection)
ClientConnectionId:SomeClientConnectionId
Error Number:104385,State:1,Class:16
2024-05-09 11:19:56.822 +10:00 [Warning] Failed to load server someserver.database.windows.net
Microsoft.Data.SqlClient.SqlException (0x80131904): Catalog view 'dm_xe_object_columns' is not supported in this version.
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData()
at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at Microsoft.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.ExecuteReader()
at RedGate.SqlPrompt.Cache.Candidates.ServerCandidate.GetPackageFromDatabase(DbConnection serverLevelConnection)
at RedGate.SqlPrompt.Cache.Candidates.ServerCandidate.LoadServer()
Tagged:
Answers
If I'm correct, Azure Dedicated SQL Pool is Azure Synapse. If that's the case, SQL Prompt does not officially support Azure Synapse. There are cases where it does work, but it's completely by chance. The only workaround is to downgrade to the last version where it worked for you.
The supported platforms can be found here:
https://documentation.red-gate.com/sp/getting-started/requirements