I have SQL Server 2017 installed on my computer. This is what SELECT @@VERSION
returns:
Microsoft SQL Server 2017 (RTM-GDR) (KB4293803) - 14.0.2002.14 (X64) Jul 21 2018 07:47:45 Copyright (C) 2017 Microsoft Corporation Enterprise Edition (64-bit) on Windows 10 Enterprise 10.0 (Build 17134: )`
It was working fine until yesterday. Suddenly SQL SERVER Service
did not run. When I wanted to run the service manually it showed 3417 error
. When I checked event log I saw this error:
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.`
After some googling I found out I can run it with /T902 switch
and try to fix the problem. But no solution worked for me. So I installed another instance of the same SQL SERVER 2017
and restored databases. Now the new installed instance has the same problem.
What could be the problem?
UPDATE Here is the full error log of SQL Server.
2018-09-17 13:06:47.29 spid6s Configuration option 'show advanced options' changed from 1 to 1. Run the RECONFIGURE statement to install.
2018-09-17 13:06:47.29 spid6s Configuration option 'show advanced options' changed from 1 to 1. Run the RECONFIGURE statement to install.
2018-09-17 13:06:47.29 spid6s Configuration option 'Agent XPs' changed from 1 to 1. Run the RECONFIGURE statement to install.
2018-09-17 13:06:47.29 spid6s Configuration option 'Agent XPs' changed from 1 to 1. Run the RECONFIGURE statement to install.
2018-09-17 13:06:47.29 spid6s Creating SSIS folders...
2018-09-17 13:06:47.30 spid6s Dropping procedure [dbo].[sp_syscollector_get_instmdw]
2018-09-17 13:06:47.30 spid6s Creating procedure [dbo].[sp_syscollector_get_instmdw]...
2018-09-17 13:06:47.30 spid6s Dropping procedure [dbo].[sp_syscollector_upload_instmdw]
2018-09-17 13:06:47.30 spid6s Creating procedure [dbo].[sp_syscollector_upload_instmdw]...
2018-09-17 13:06:47.30 spid6s Uploading data collector package from disk: c:\Program Files\Microsoft SQL Server\MSSQL14.SQL2017\MSSQL\Install\SqlTraceCollect.dtsx
2018-09-17 13:06:47.30 spid6s Uploading data collector package from disk: c:\Program Files\Microsoft SQL Server\MSSQL14.SQL2017\MSSQL\Install\SqlTraceCollect.dtsx
2018-09-17 13:06:47.30 spid6s Error: 2775, Severity: 17, State: 12.
2018-09-17 13:06:47.30 spid6s The code page 65001 is not supported by the server.
2018-09-17 13:06:47.30 spid6s Error: 912, Severity: 21, State: 2.
2018-09-17 13:06:47.30 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.
2018-09-17 13:06:47.30 spid6s Error: 3417, Severity: 21, State: 3.
2018-09-17 13:06:47.30 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.
2018-09-17 13:06:47.30 spid6s SQL Server shutdown has been initiated
2018-09-17 13:06:47.30 spid6s SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.
UPDATE
This line has something to tell. The code page 65001 is not supported by the server.
My recently windows updated to Version 1803 (OS Build 17134.285)
. After this update some applications texts has changed to unknown characters. Can this be the cause of the problem?