0

我们有一个使用 .net 4.5 构建的 Windows 服务。当我尝试在我们的 UAT 机器上安装相同的服务时,开发机器上的情况很好,它给出了以下错误,我已经安装在这台 UAT 机器上。NET 4.5。在下面进一步下方之后,我粘贴了 Fusion Log 错误,请帮助。

C:\AuditServers\Services\AuditEngine\bin>ServiceInstall.bat Installing Service... Microsoft (R) .NET Framework Installation utility Version
4.0.30319.17929 Copyright (C) Microsoft Corporation.  All rights reserved.

Exception occurred while initializing the installation: System.IO.FileNotFoundException: Could not load file or assembly 'file:///D:\Dat a\AuditServer\Services\AuditEngine\bin\Audit.Services.AuditEngine.exe' or one of its d ependencies. The system cannot find the file specified.. Install Done. Press any key to continue . . .

融合日志

*** Assembly Binder Log Entry  (8/11/2013 @ 4:18:23 PM) ***

The operation failed. Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll Running under executable  C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe
--- A detailed error log follows. 

=== Pre-bind state information === LOG: User = WIN-30DJ1MGM28A\VM-User LOG: Where-ref bind. Location = D:\Data\AuditServer\Services\AuditEngine\bin\Audit.Services.AuditEngine.exe LOG: Appbase = file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/ LOG: Initial PrivatePath = NULL LOG: Dynamic Base = NULL LOG: Cache Base = NULL LOG: AppName = InstallUtil.exe Calling assembly : (Unknown).
=== LOG: This bind starts in LoadFrom load context. WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load(). LOG: Using application configuration file: C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe.Config LOG: Using host configuration file:  LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config. LOG: Attempting download of new URL file:///D:/Data/AuditServer/Services/AuditEngine/bin/Audit.Services.AuditEngine.exe. LOG: All probing URLs attempted and failed.

请有任何建议。谢谢

4

0 回答 0