【问题标题】:while runing DQSinstaller.exe it fails with following description why?运行 DQS installer.exe 时失败并显示以下说明,为什么?
【发布时间】:2020-03-16 12:31:04
【问题描述】:

我已经安装了 sql server 2017 和 SSMS 2017 但是当我运行 dqsintaller.exe 它失败并出现错误 如下

请帮我解决问题,因为我是新手,仍在学习和解决问题的工作原理



[16/03/2020 4:38:38 pm]      * Clear the Code Member Table A_CODE_MEMBER.
[16/03/2020 4:38:38 pm] 
[16/03/2020 4:38:38 pm] (0 rows affected)
[16/03/2020 4:38:38 pm]  
[16/03/2020 4:38:38 pm]      * Clear the Code Group Table A_CODE_GROUP.
[16/03/2020 4:38:38 pm] 
[16/03/2020 4:38:38 pm] (0 rows affected)
[16/03/2020 4:38:38 pm]  
[16/03/2020 4:38:38 pm]      * Register assemblies T-SQL executable objects
[16/03/2020 4:38:38 pm]         - Creating assemblies T-SQL registeration stored procedure.
[16/03/2020 4:38:38 pm]  
[16/03/2020 4:38:38 pm]      * Creating the internal_core schema
[16/03/2020 4:38:38 pm]         - Registering Microsoft.Ssdqs.Infra T-SQL executable objects.
[16/03/2020 4:38:40 pm] HResult 0x197A, Level 16, State 1
[16/03/2020 4:38:40 pm] A .NET Framework error occurred during execution of user-defined routine or aggregate "RegisterAssembly": 
[16/03/2020 4:38:40 pm] System.TypeInitializationException: The type initializer for 'Microsoft.Ssdqs.Core.Startup.ServerInit' threw an exception. ---> Microsoft.Ssdqs.Infra.Exceptions.ServerException: Failed to initialize configuration. ---> Microsoft.Ssdqs.Infra.Log.LogMessageFormatException: Failed to init log configuration. ---> System.Data.SqlClient.SqlException: The locale identifier (LCID) 8192 is not supported by SQL Server.
[16/03/2020 4:38:40 pm] System.Data.SqlClient.SqlException: 
[16/03/2020 4:38:40 pm]    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
[16/03/2020 4:38:40 pm]    at System.Data.SqlClient.SqlInternalConnectionSmi.EventSink.DispatchMessages(Boolean ignoreNonFatalMessages)
[16/03/2020 4:38:40 pm]    at System.Data.SqlClient.SqlDataReaderSmi.InternalNextResult(Boolean ignoreNonFatalMessages)
[16/03/2020 4:38:40 pm]    at System.Data.SqlClient.SqlDataReaderSmi.NextResult()
[16/03/2020 4:38:40 pm]    at System.Data.SqlClient.SqlCommand.RunExecuteReaderSmi(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
[16/03/2020 4:38:40 pm]    at System.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)
[16/03/2020 4:38:40 pm]    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
[16/03/2020 4:38:40 pm]    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
[16/03/2020 4:38:40 pm]    at System.Data.SqlClient.SqlCommand.ExecuteReader()
[16/03/2020 4:38:40 pm]    at Microsoft.Ssdqs.Infra.Database.DBAccess.ExecCommand()
[16/03/2020 4:38:40 pm]    at Microsoft.Ssdqs.Infra.Database.Dao.DaoControllerBase`5.Execute()
[16/03/2020 4:38:40 pm]    at Microsoft.Ssdqs.Infra.Log.LLogger.InitLogWriter()
[16/03/2020 4:38:40 pm]    at Microsoft.Ssdqs.Infra.Log.LLogger.InitConfiguration()
[16/03/2020 4:38:40 pm] Microsoft.Ssdqs.Infra.Log.LogMessageFormatException: 
[16/03/2020 4:38:40 pm]    at Microsoft.Ssdqs.Infra.Log.LLogger.InitConfiguration()
[16/03/2020 4:38:40 pm]    at Microsoft.Ss...
[16/03/2020 4:38:40 pm] 
[16/03/2020 4:38:40 pm] 
[16/03/2020 4:38:40 pm] ERROR - An error occured, check message above
[16/03/2020 4:38:40 pm] 
[16/03/2020 4:38:40 pm] 
[16/03/2020 4:38:40 pm] Script process returned unexpected exit code: '1'.
[16/03/2020 4:38:40 pm] Action 'Register data quality assemblies and stored procedures' finished with errors, aborting installation.
[16/03/2020 4:38:40 pm] Starting installation rollback...
[16/03/2020 4:38:40 pm] Installation rollback completed successfully.
[16/03/2020 4:38:40 pm] DQS Installer finished with errors. Please see installation log file at C:\Program Files\Microsoft SQL Server\MSSQL14.SQLSERVER\MSSQL\Log\DQS_install.log

更改我的区域设置 ID 和区域设置名称后,我已成功安装 DQS 服务器。但是当我在 DQS 客户端应用程序中将服务器作为本地服务器输入时,再次出现相同的错误,请参阅以下快照

【问题讨论】:

  • SQL Server 不支持区域设置标识符 (LCID) 8192。正确设置您的语言环境
  • @Tschallacka 我如何设置我的语言环境?我将其设置为什么值?
  • 找到运行 SQL Server 的帐户,并设置该帐户的区域设置。如何更改语言环境因操作系统而异。
  • 请自行回答,而不是在问题中发布答案。只需在您的问题下方的答案中发布该信息即可。
  • @Tschallacka 我已经发布了答案,请标记是正确的,谢谢您的帮助。

标签: sql-server sql-server-2017 ssms-2017 data-quality-services


【解决方案1】:

经过 3 天的搜索和实施不同的技术,我找到了解决方案。解决方案非常简单但很棘手

首先打开cmd并以管理员身份运行

然后运行以下命令

WMIC current useraccount get name,sid

然后运行注册表编辑器并转到

HKEY_USER -> SID_as_Folder_Name -> 控制面板 -> 国际

在那里,您将根据您的本地看到您的语言环境和 LocaleName,您必须根据 SQL Server 语言环境更改它,例如在我的情况下,我 cahnged Locale = 1LocaleName = en-US .

然后卸载服务器并重新安装服务器,然后运行命令安装 DSQinstaller.exe 转到服务并选择 SQL 服务器服务

右键单击它并转到属性 选择登录选项卡并选择本地系统帐户单选选项。

然后以管理员身份运行 CMD 并找到您的 DQSinstaller 位置,就像我的情况一样

C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\Binn

然后执行以下命令

DQSInstaller.exe –upgradedlls –instance MSSQLSERVER

安装完成后打开 DSQ 客户端应用程序,如果您仍然收到我的问题详细信息中提到的错误,请在找到 SQL Server 实例后在 cmd 中运行以下命令 运行以下命令

DQSInstaller.exe -upgradedlls

完成升级后,您将能够成功连接到 DQS。

【讨论】:

    猜你喜欢
    • 2011-03-09
    • 1970-01-01
    • 2016-01-27
    • 2019-09-19
    • 1970-01-01
    • 1970-01-01
    • 2021-01-06
    • 2015-07-22
    • 2021-05-08
    相关资源
    最近更新 更多