大佬,为啥安装部署成功后,扫描不了点击破解程序,提示无法启动CxEngineService,手动启动服务也报错。CheckMarx可以登录,可以创建项目,但是扫描就直接失败了,错误信息:No engine can be assigned to this scan, please check the log for more information我是安装在Win2012上的,IIS8,4核8G内存。
然后WebClient日志里面出现比较多的错误: ERROR - CxWebClient had shut down due to 'HostingEnvironment initiated shutdown | HostingEnvironment 导致关闭' ERROR - System.Net.WebException: 请求因 HTTP 状态 503 失败: Service Unavailable。 在 System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) 在 System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) 在 CxWebClientApp.CxWebServices.CxPortalWebService.Logout(String sessionID) 在 CxDataGate.Logout(String i_SessionID)
以及Web Service日志: ERROR - Bootstrapper - Error while initializing bootstrapper, failed to load assembly C:\Program Files\Checkmarx\Checkmarx Web Services\CxWebInterface\bin\x64\p4bridge.dll.
System.BadImageFormatException: The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018) 在 System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence) 在 System.Reflection.Assembly.LoadFile(String path) 在 Checkmarx.Facade.Bootstrapping.Bootstrapper.TryLoadAssembly(String assemblyName)
ERROR - Bootstrapper - Error while initializing bootstrapper, failed to load assembly C:\Program Files\Checkmarx\Checkmarx Web Services\CxWebInterface\bin\x86\p4api.net.dll.
System.BadImageFormatException: Could not load file or assembly 'p4api.net.dll' or one of its dependencies. 不是有效的 Win32 应用程序。 (Exception from HRESULT: 0x800700C1) 文件名:“p4api.net.dll” 在 System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence) 在 System.Reflection.Assembly.LoadFile(String path) 在 Checkmarx.Facade.Bootstrapping.Bootstrapper.TryLoadAssembly(String assemblyName)
ERROR - Bootstrapper - Error while initializing bootstrapper, failed to load assembly C:\Program Files\Checkmarx\Checkmarx Web Services\CxWebInterface\bin\x86\SharpSvn-DB44-20-win32.dll.
System.BadImageFormatException: The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018) 在 System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence) 在 System.Reflection.Assembly.LoadFile(String path) 在 Checkmarx.Facade.Bootstrapping.Bootstrapper.TryLoadAssembly(String assemblyName) ERROR - Bootstrapper - Error while initializing bootstrapper, failed to load assembly C:\Program Files\Checkmarx\Checkmarx Web Services\CxWebInterface\bin\x86\SharpSvn-Sasl21-23-win32.dll.
System.BadImageFormatException: The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018) 在 System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence) 在 System.Reflection.Assembly.LoadFile(String path) 在 Checkmarx.Facade.Bootstrapping.Bootstrapper.TryLoadAssembly(String assemblyName)
ERROR - Bootstrapper - Error while initializing bootstrapper, failed to load assembly C:\Program Files\Checkmarx\Checkmarx Web Services\CxWebInterface\bin\x86\SharpSvn.dll.
System.BadImageFormatException: Could not load file or assembly 'SharpSvn.dll' or one of its dependencies. 不是有效的 Win32 应用程序。 (Exception from HRESULT: 0x800700C1) 文件名:“SharpSvn.dll” 在 System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence) 在 System.Reflection.Assembly.LoadFile(String path) 在 Checkmarx.Facade.Bootstrapping.Bootstrapper.TryLoadAssembly(String assemblyName)
ERROR - Error getting message with id 12100 and languageId 1033
ERROR - Unexpected error occurred at CxServiceFacadeExecutor
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Practices.Unity.resources, Version=4.0.0.0, Culture=zh-CN, PublicKeyToken=6d32ff45e0ccc69f' or one of its dependencies. 系统找不到指定的文件。 文件名:“Microsoft.Practices.Unity.resources, Version=4.0.0.0, Culture=zh-CN, PublicKeyToken=6d32ff45e0ccc69f” ---> System.IO.FileNotFoundException: Could not load file or assembly 'file:///C:\Program Files\Checkmarx\Checkmarx Web Services\CxWebInterface\bin\x64\Microsoft.Practices.Unity.resources.dll' or one of its dependencies. 系统找不到指定的文件。 文件名:“file:///C:\Program Files\Checkmarx\Checkmarx Web Services\CxWebInterface\bin\x64\Microsoft.Practices.Unity.resources.dll” 在 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) 在 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) 在 System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark) 在 System.Reflection.Assembly.LoadFrom(String assemblyFile) 在 Checkmarx.CxInfraSructures.EnviormentManagment.EnviormentMatchingResolver.CurrentDomain_AssemblyResolve(Object sender, ResolveEventArgs args) 在 System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)
WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
ERROR - Bootstrapper - Error while initializing bootstrapper, failed to load assembly C:\Program Files\Checkmarx\Checkmarx Web Services\CxWebInterface\bin\x64\p4bridge.dll.
System.BadImageFormatException: The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018) 在 System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence) 在 System.Reflection.Assembly.LoadFile(String path) 在 Checkmarx.Facade.Bootstrapping.Bootstrapper.TryLoadAssembly(String assemblyName)
ERROR - Bootstrapper - Error while initializing bootstrapper, failed to load assembly C:\Program Files\Checkmarx\Checkmarx Web Services\CxWebInterface\bin\x86\p4api.net.dll.
System.BadImageFormatException: Could not load file or assembly 'p4api.net.dll' or one of its dependencies. 不是有效的 Win32 应用程序。 (Exception from HRESULT: 0x800700C1) 文件名:“p4api.net.dll” 在 System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence) 在 System.Reflection.Assembly.LoadFile(String path) 在 Checkmarx.Facade.Bootstrapping.Bootstrapper.TryLoadAssembly(String assemblyName)
ERROR - Unexpected error occurred at CxServiceFacadeExecutor
System.BadImageFormatException: The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018) 在 System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence) 在 System.Reflection.Assembly.LoadFile(String path) 在 Checkmarx.Facade.Bootstrapping.Bootstrapper.TryLoadAssembly(String assemblyName)
2022-09-08 17:47:58,082 [33] ERROR - Failed to get engine logs for scan request id:1000000