HighTechTalks DotNet Forums  

InstallUtil - incorrect appbase

Dotnet Framework (CLR) microsoft.public.dotnet.framework.clr


Discuss InstallUtil - incorrect appbase in the Dotnet Framework (CLR) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Carlos Santos
 
Posts: n/a

Default 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.



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.