技术文章 - CS411256

如何解决 ThingWorx 安装程序与 Microsoft SQL Server 之间的连接问题

已修改: 12-Sep-2025   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • ThingWorx Platform 9.3 to 9.6
  • Microsoft SQL Server

说明

  • ThingWorx安装程序无法连接到位于单独服务器上的Microsoft SQL Server (mssql)
  • 安装ThingWorx Flow时, ThingWorx FlowMicrosoft SQL Server之间的连接问题
  • bitrock_installer_xxxx.log包含以下错误:
Program ended with an error exit code
  • 当使用xxxxx.exe --debuglevel 4执行安装程序以启用调试日志记录时,bitrock 日志显示以下消息:
Executing sqlcmd -S ****\****,**** -U **** -k -h -1 -Q "****"
Script exit code: 1

Script output:
 parse "sqlserver://<db_username>:<db_password>@<db_hostname>%5C<db_instance_name>:<db_port>?app+name=sqlcmd": invalid URL escape "%5C"

Script stderr:
 Program ended with an error exit code
  • 尽管遵循了CS318590 ,但仍然收到错误脚本输出:
sqlserver://***": invalid URL escape "%5C
  • 无法安装 ThingWorx Flow,错误为" Failed to validate the SQL Server connection and administration privileges. Check the information you entered "
  • 已根据文章CS349383在其他服务器上使用 SQL Server 正确设置排序规则,但仍出现安装程序错误: <DBname> is not set with the correct Collation property. Check the information you entered.


这是文章 411256 的 PDF 版本,可能已过期。最新版本 CS411256