InstallUtil - incorrect appbase -
11-22-2006
, 10:23 AM
Hello,
I'm having problems trying to run the following command:
installutil -i Company.Service.exe.
When I try to run it I get this exception:
System.ComponentModel.Win32Exception - "The system cannot find the file
specified".
The service "Company.Service.exe" depends on the private assembly "Some.dll".
Using fuslogvw.exe I get the following binding information:
"The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.
Assembly manager loaded from:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\msco rwks.dll
Running under executable
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Inst allUtil.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: User = MyDomain\me
LOG: DisplayName = Some, Version=2.6.0.0, Culture=neutral,
PublicKeyToken=8ffa52167d0c9a3d
(Fully-specified)
LOG: Appbase = file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = InstallUtil.exe
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: No application configuration file found.
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\conf ig\machine.config.
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Some.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Some/Some.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Some.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Some/Some.EXE.
LOG: All probing URLs attempted and failed."
The problem is that InstallUtil is looking for the assembly in the .NET
framework folder when it should be looking in my application folder.
Anyone has any idea about what may be going on? What am I missing here?
Thanks in advance. |