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