BizTalk 2013 R2 CU8安装
BizTalk 2013 R2 CU 8 instalaltion
在将 Microsoft BizTalk Server 2013 R2 累积更新 8 安装到一个 BizTalk 组时,由于 MQSeries 和 Microsoft.BizTalk.GlobalPropertySchemas 中的某些问题,安装失败。事件日志中未发现任何错误或问题。即使在另一台 BizTalk 服务器(安装几乎相同)上也是成功的。请参考下面的日志信息。请分享要调查的提示。
Creating Process to execute script: "C:\Windows\system32\cmd.exe" /c BtsDeploySystemAssemblyTask.exe /assembly:MQSeries /version:3.0.1.0 HRESULT=0
Execution of Script "C:\Windows\system32\cmd.exe" /c BtsDeploySystemAssemblyTask.exe /assembly:MQSeries /version:3.0.1.0 failed. HRESULT=0x80004005
****************************** Processing MQSeries migration from Registry to Database ******************************
Server = SQL\BTS Database = BizTalkMgmtDb
Taking Backup of tables
Getting Id of MQSeries
SQL Exception occured. An error occured while adding MQSeries
Incorrect Assembly no. and/or Version no. mentioned. Exiting.
Incorrect Assembly no. and/or Version no. mentioned. Exiting.
HRESULT=0
Failed to apply patch. HRESULT=0x80004005
Apply patch: Server="SQL\BTS", Database="BizTalkMgmtDb", Script="C:\ProgramData\Microsoft\E-Business Servers Updates\Updates\Uninstall4052527\CAWrapper.exe".
"C:\ProgramData\Microsoft\E-Business Servers Updates\Updates\Uninstall4052527\CAWrapper.exe" 2 3.11.297.2 SQL\BTS BizTalkMgmtDb EXE "BtsDeploySystemAssemblyTask.exe /assembly:Microsoft.BizTalk.GlobalPropertySchemas" HRESULT=0
Creating Process to execute script: "C:\ProgramData\Microsoft\E-Business Servers Updates\Updates\Uninstall4052527\CAWrapper.exe" 2 3.11.297.2 SQL\BTS BizTalkMgmtDb EXE "BtsDeploySystemAssemblyTask.exe /assembly:Microsoft.BizTalk.GlobalPropertySchemas" HRESULT=0
Execution of Script "C:\ProgramData\Microsoft\E-Business Servers Updates\Updates\Uninstall4052527\CAWrapper.exe" 2 3.11.297.2 SQL\BTS BizTalkMgmtDb EXE "BtsDeploySystemAssemblyTask.exe /assembly:Microsoft.BizTalk.GlobalPropertySchemas" failed. HRESULT=0x80004005
CAWrapper: Argument count: 6
CAWrapper: cuNum: 2, btsVer: 3.11.297.2, servername: SQL\BTS, databasename: BizTalkMgmtDb, command: EXE
CAWrapper: cmdArg#0: BtsDeploySystemAssemblyTask.exe /assembly:Microsoft.BizTalk.GlobalPropertySchemas
CAWrapper: Entering isDbVersionLower
CAWrapper: Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=BizTalkMgmtDb;Data Source=SQL\BTS
CAWrapper: No DB Version info found so assuming DB Version is lower.
CAWrapper: DB Version in SQL\BTS, BizTalkMgmtDb is lower so need to run command.
CAWrapper: Entering callEXE
CAWrapper: Calling BtsDeploySystemAssemblyTask.exe with args /assembly:Microsoft.BizTalk.GlobalPropertySchemas
****************************** Processing Microsoft.BizTalk.GlobalPropertySchemas migration from Registry to Database ******************************
Server = SQL\BTS Database = BizTalkMgmtDb
Taking Backup of tables
Getting Id of Microsoft.BizTalk.GlobalPropertySchemas
SQL Exception occured. An error occured while adding Microsoft.BizTalk.GlobalPropertySchemas
Multiple entries of assembly available. Version is not mentioned
Multiple entries of assembly available. Version is not mentioned
CAWrapper: Call to BtsDeploySystemAssemblyTask.exe returned
CAWrapper: Failure calling BM.exe. ExitCode was 1
CAWrapper: Exiting...
HRESULT=0
Failed to apply patch. HRESULT=0x80004005
Abort distributed transaction.
Failed to patch one or more BizTalk databases. See log for details. (HRESULT=0x80004005)
The custom action returned -2147467259.
One of the custom actions failed. The installation cannot continue. See log for details.
在对 BizTalk 管理数据库 (BizTalkMgmtDb) 使用 SQL Profiler 进行一些调查后,我发现 bts_assembly 中存在一些重复记录。删除重复的(没有对 bts_item table 的引用)后,CU 安装没有任何问题。
在将 Microsoft BizTalk Server 2013 R2 累积更新 8 安装到一个 BizTalk 组时,由于 MQSeries 和 Microsoft.BizTalk.GlobalPropertySchemas 中的某些问题,安装失败。事件日志中未发现任何错误或问题。即使在另一台 BizTalk 服务器(安装几乎相同)上也是成功的。请参考下面的日志信息。请分享要调查的提示。
Creating Process to execute script: "C:\Windows\system32\cmd.exe" /c BtsDeploySystemAssemblyTask.exe /assembly:MQSeries /version:3.0.1.0 HRESULT=0
Execution of Script "C:\Windows\system32\cmd.exe" /c BtsDeploySystemAssemblyTask.exe /assembly:MQSeries /version:3.0.1.0 failed. HRESULT=0x80004005
****************************** Processing MQSeries migration from Registry to Database ******************************
Server = SQL\BTS Database = BizTalkMgmtDb
Taking Backup of tables
Getting Id of MQSeries
SQL Exception occured. An error occured while adding MQSeries
Incorrect Assembly no. and/or Version no. mentioned. Exiting.
Incorrect Assembly no. and/or Version no. mentioned. Exiting.
HRESULT=0
Failed to apply patch. HRESULT=0x80004005
Apply patch: Server="SQL\BTS", Database="BizTalkMgmtDb", Script="C:\ProgramData\Microsoft\E-Business Servers Updates\Updates\Uninstall4052527\CAWrapper.exe".
"C:\ProgramData\Microsoft\E-Business Servers Updates\Updates\Uninstall4052527\CAWrapper.exe" 2 3.11.297.2 SQL\BTS BizTalkMgmtDb EXE "BtsDeploySystemAssemblyTask.exe /assembly:Microsoft.BizTalk.GlobalPropertySchemas" HRESULT=0
Creating Process to execute script: "C:\ProgramData\Microsoft\E-Business Servers Updates\Updates\Uninstall4052527\CAWrapper.exe" 2 3.11.297.2 SQL\BTS BizTalkMgmtDb EXE "BtsDeploySystemAssemblyTask.exe /assembly:Microsoft.BizTalk.GlobalPropertySchemas" HRESULT=0
Execution of Script "C:\ProgramData\Microsoft\E-Business Servers Updates\Updates\Uninstall4052527\CAWrapper.exe" 2 3.11.297.2 SQL\BTS BizTalkMgmtDb EXE "BtsDeploySystemAssemblyTask.exe /assembly:Microsoft.BizTalk.GlobalPropertySchemas" failed. HRESULT=0x80004005
CAWrapper: Argument count: 6
CAWrapper: cuNum: 2, btsVer: 3.11.297.2, servername: SQL\BTS, databasename: BizTalkMgmtDb, command: EXE
CAWrapper: cmdArg#0: BtsDeploySystemAssemblyTask.exe /assembly:Microsoft.BizTalk.GlobalPropertySchemas
CAWrapper: Entering isDbVersionLower
CAWrapper: Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=BizTalkMgmtDb;Data Source=SQL\BTS
CAWrapper: No DB Version info found so assuming DB Version is lower.
CAWrapper: DB Version in SQL\BTS, BizTalkMgmtDb is lower so need to run command.
CAWrapper: Entering callEXE
CAWrapper: Calling BtsDeploySystemAssemblyTask.exe with args /assembly:Microsoft.BizTalk.GlobalPropertySchemas
****************************** Processing Microsoft.BizTalk.GlobalPropertySchemas migration from Registry to Database ******************************
Server = SQL\BTS Database = BizTalkMgmtDb
Taking Backup of tables
Getting Id of Microsoft.BizTalk.GlobalPropertySchemas
SQL Exception occured. An error occured while adding Microsoft.BizTalk.GlobalPropertySchemas
Multiple entries of assembly available. Version is not mentioned
Multiple entries of assembly available. Version is not mentioned
CAWrapper: Call to BtsDeploySystemAssemblyTask.exe returned
CAWrapper: Failure calling BM.exe. ExitCode was 1
CAWrapper: Exiting...
HRESULT=0
Failed to apply patch. HRESULT=0x80004005
Abort distributed transaction.
Failed to patch one or more BizTalk databases. See log for details. (HRESULT=0x80004005)
The custom action returned -2147467259.
One of the custom actions failed. The installation cannot continue. See log for details.
在对 BizTalk 管理数据库 (BizTalkMgmtDb) 使用 SQL Profiler 进行一些调查后,我发现 bts_assembly 中存在一些重复记录。删除重复的(没有对 bts_item table 的引用)后,CU 安装没有任何问题。