HighTechTalks DotNet Forums  

InstallUtil Error

Dotnet VJSharp microsoft.public.dotnet.vjsharp


Discuss InstallUtil Error in the Dotnet VJSharp forum.



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

Default InstallUtil Error - 09-24-2004 , 01:47 PM






Hello

I have been working on a service application in J# for a while now.
Since we are starting to test it, we are attempting to install it on a
test box. The first test went fine (as far as installing as a
service) but now it will not install at all. When I am trying to test
a new version I first uninstall the service (InstallUtil /u ...) and
then try to install the new one. This procedure worked for a few
version tests but now it no longer wants to install the service (BTW,
all boxes are up to date patch wise).

Here is the output from the console when trying to install the
service:

--------------------------------------------------------------------------------

Microsoft (R) .NET Framework Installation utility Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.


Running a transacted installation.

Beginning the Install phase of the installation.
See the contents of the log file for the c:\program
files\myservice\myservice.exe assembly's progress.
The file is located at c:\program
files\myservice\myservice.InstallLog.
Installing assembly 'c:\program files\myservice\myservice.exe'.
Affected parameters are:
assemblypath = c:\program files\myservice\myservice.exe
logfile = c:\program files\myservice\myservice.InstallLog
An exception occurred while trying to find the installers in the
c:\program files\myservice\myservice.exe assembly.
System.Reflection.ReflectionTypeLoadException: One or more of the
types in the assembly unable to load.
Aborting installation for c:\program files\myservice\myservice.exe.

An exception occurred during the Install phase.
System.InvalidOperationException: Unable to get installer types in the
c:\program files\myservice\myservice.exe assembly.
The inner exception System.Reflection.ReflectionTypeLoadException was
thrown with the following error message: One or more of the types in
the assembly unable to load..

The Rollback phase of the installation is beginning.
See the contents of the log file for the c:\program
files\myservice\myservice.exe assembly's progress.
The file is located at c:\program
files\myservice\myservice.InstallLog.
Rolling back assembly 'c:\program files\myservice\myservice.exe'.
Affected parameters are:
assemblypath = c:\program files\myservice\myservice.exe
logfile = c:\program files\myservice\myservice.InstallLog
An exception occurred while trying to find the installers in the
c:\program files\myservice\myservice.exe assembly.
System.Reflection.ReflectionTypeLoadException: One or more of the
types in the assembly unable to load.
Aborting installation for c:\program files\myservice\myservice.exe.
An exception occurred during the Rollback phase of the
System.Configuration.Install.AssemblyInstaller installer.
System.InvalidOperationException: Unable to get installer types in the
c:\program files\myservice\myservice.exe assembly.
The inner exception System.Reflection.ReflectionTypeLoadException was
thrown with the following error message: One or more of the types in
the assembly unable to load..
An exception occurred during the Rollback phase of the installation.
This exception will be ignored and the rollback will continue.
However, the machine might not fully revert to its initial state after
the rollback is complete.

The Rollback phase completed successfully.

The transacted install has completed.

--------------------------------------------------------------------------------

Any insight / ideas / solutions would be greatly appreciated.

Thanks,
Vomish

Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default Re: InstallUtil Error - 09-27-2004 , 02:11 PM






"Lars-Inge Tønnessen [VJ# MVP]" <http://emailme.larsinge.com> wrote

Quote:
I'm reading:
"An exception occurred while trying to find the installers in the
c:\program files\myservice\myservice.exe assembly."

Are you sure you did not forget anything? It's easy to forget something...

Does the logfile say anything ?
"logfile = c:\program files\myservice\myservice.InstallLog"


Regards,
Lars-Inge Tønnessen
Ooops!

Yes something was missing and I have since fixed the problem.

Thanks for the reply, sorry to have wasted your time.

Vomish


Reply With Quote
  #3  
Old   
Umm Ok so Help
 
Posts: n/a

Default RE: InstallUtil Error - 08-12-2005 , 01:24 PM



Ok so you 'fixed' the problem...How? 'Something was missing' doesn't really help the rest of us who have the problem...

From http://www.developmentnow.com/g/47_2004_9_0_0_250498/InstallUtil-Error.htm

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com

Reply With Quote
  #4  
Old   
AT
 
Posts: n/a

Default Re: InstallUtil Error - 08-15-2005 , 10:40 AM



Umm Ok so Help wrote:
Quote:
Ok so you 'fixed' the problem...How? 'Something was missing' doesn't really help the rest of us who have the problem...

From http://www.developmentnow.com/g/47_2004_9_0_0_250498/InstallUtil-Error.htm

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com
It has been a while since this happened but I will try to remember...

There was an incorrect/missing reference to an external dll that had
been moved. Once I re-mapped all of my project references (the
solution is made up of several separate projects which compile into
dll's), I was able to re-compile and install my service without error.


Hope this helps!



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 - 2013, Jelsoft Enterprises Ltd.