SSMS fails to display database properties - cannot resolve collation conflict UTF-8 and Ascii

Burch, Adrian 6 Reputation points
2021-10-06T13:50:12.597+00:00

The server collation is Latin1_General_CI_AS, the database collation is Latin1_General_100_CI_AS_SC_UTF8

right-click/properties (SSMS 18.9.2) on database in SQL Server (15.0.4063.15) returns:

TITLE: Microsoft SQL Server Management Studio
Cannot show requested dialog.
ADDITIONAL INFORMATION:
Cannot show requested dialog. (SqlMgmt)
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
Cannot resolve the collation conflict between "Latin1_General_100_CI_AI_SC_UTF8" and "Latin1_General_CI_AS" in the equal to operation.
Cannot resolve the collation conflict between "Latin1_General_100_CI_AI_SC_UTF8" and "Latin1_General_CI_AS" in the equal to operation. (Microsoft SQL Server, Error: 468)
For help, click: https://learn.microsoft.com/sql/relational-databases/errors-events/mssqlserver-468-database-engine-error

SQL Server Other
{count} votes

9 answers

Sort by: Most helpful
  1. Seeya Xi-MSFT 16,586 Reputation points
    2021-10-07T08:33:19.427+00:00

    Hi @Burch, Adrian ,

    Yes. It may be a problem with the SSMS version. The latest version is 18.10.
    Find Help from the navigation bar of SSMS, and then click About.., then you can see the SSMS version information.
    Please see here: https://learn.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver15
    You can update SSMS if you need.

    Best regards,
    Seeya

    0 comments No comments

  2. Burch, Adrian 6 Reputation points
    2021-10-07T10:06:38.76+00:00

    aha .... further info, yes it is still happening. It is the secondary database in an Availability Group that has the problem
    I can right-click/properties on the Primary DB fine, but trying it on the secondary DB produces the error
    Both Servers have the same collation.

    from the error message...

    Cannot resolve the collation conflict between "Latin1_General_100_CI_AI_SC_UTF8" and "Latin1_General_CI_AS" in the equal to operation.
    Cannot resolve the collation conflict between "Latin1_General_100_CI_AI_SC_UTF8" and "Latin1_General_CI_AS" in the equal to operation. (.Net SqlClient Data Provider)

    For help, click: https://learn.microsoft.com/sql/relational-databases/errors-events/mssqlserver-468-database-engine-error

    Server Name: BLAH-BLAH
    Error Number: 468
    Severity: 16
    State: 9
    Procedure: sys.sp_db_vardecimal_storage_format
    Line Number: 37

    Program Location:
    at Microsoft.SqlServer.Management.Common.ConnectionManager.ExecuteTSql(ExecuteTSqlAction action, Object execObject, DataSet fillDataSet, Boolean catchException)
    at Microsoft.SqlServer.Management.Common.ServerConnection.GetExecuteReader(SqlCommand command)


  3. Seeya Xi-MSFT 16,586 Reputation points
    2021-10-20T06:00:02.99+00:00

    Hi @Burch, Adrian ,

    Please see this prerequisite from this document : All the server instances that host availability replicas for an availability group must use the same SQL Server collation.
    Also see: Set or Change the Server Collation.

    Best regards,
    Seeya


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  4. evry1falls 0 Reputation points
    2023-08-18T18:11:28.82+00:00
    USE AdventureWorks2012;
    GO
    EXEC sp_configure 'show advanced options', 1;
    GO
    RECONFIGURE
    GO
    EXEC sp_configure 'default full-text language', 1043; --You need choose your language: Values Returned for Default Languages. (The link is at the end)
    GO
    RECONFIGURE
    GO
    
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.