When I want to access to my instance in ssms, I receive this error : TITLE: Connect to Server
Cannot connect to
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 – Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)
i check the log file:
‘Error: 468, Severity: 16, State: 9.
2024-07-23 00:31:16.66 spid6s Cannot resolve the collation conflict between “Latin1_General_CI_AS” and “SQL_Latin1_General_CP1_CI_AS” in the not equal to operation.
2024-07-23 00:31:16.66 spid6s Error: 912, Severity: 21, State: 2.
2024-07-23 00:31:16.66 spid6s Script level upgrade for database ‘master’ failed because upgrade step ‘msdb110_upgrade.sql’ encountered error 200, state 7, severity 25. This is a serious error condition which might interfere with regular operation and the database will be taken offline. If the error happened during upgrade of the ‘master’ database, it will prevent the entire SQL Server instance from starting. Examine the previous errorlog entries for errors, take the appropriate corrective actions and re-start the database so that the script upgrade steps run to completion.
2024-07-23 00:31:16.67 spid6s Error: 3417, Severity: 21, State: 3.
2024-07-23 00:31:16.67 spid6s Cannot recover the master database. SQL Server is unable to run. Restore master from a full backup, repair it, or rebuild it. For more information about how to rebuild the master database, see SQL Server Books Online.
2024-07-23 00:31:16.67 spid6s SQL Server shutdown has been initiated
2024-07-23 00:31:16.67 spid6s SQL Trace was stopped due to server shutdown. Trace ID = ‘1’. This is an informational message only; no user action is required.3
so what I do: i took a copy of both and <instance_log> from C:Program FilesMicrosoft SQL ServerMSSQL14.myinstanceMSSQLDATA and install a new instance and finaly paste these two file in the same path