locked
Exception while uninstalling service RRS feed

  • Question

  • All,
     
    When i unistall my service it is giving the following error.


    [log]

    Microsoft (R) .NET Framework Installation utility Version 2.0.50727.42
    Copyright (c) Microsoft Corporation.  All rights reserved.



    The uninstall is beginning.
    See the contents of the log file for the D:\source\bin\debug\MyService.exe assembly's progress.
    The file is located at D:\source\bin\debug\MyService.InstallLog.
    Uninstalling assembly 'D:\source\bin\debug\MyService.exe'.
    Affected parameters are:
       logtoconsole =
       assemblypath = D:\source\bin\debug\MyService.exe
       logfile = D:\source\bin\debug\MyService.InstallLog
    Unable to create an instance of the MyService.ProjectInstaller installer type.
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
    The inner exception System.IO.FileNotFoundException was thrown with the following error message: Could not find file 'C:\Program Files\Microsoft Visual Studio 8\VC\StagerService.xml'..
    An exception occurred during the uninstallation of the System.Configuration.Install.AssemblyInstaller installer.
    System.InvalidOperationException: Unable to create an instance of the MyService.ProjectInstaller installer type.
    The inner exception System.Reflection.TargetInvocationException was thrown with the following error message: Exception has been thrown by the target of an invocation..
    The inner exception System.IO.FileNotFoundException was thrown with the following error message: Could not find file 'C:\Program Files\Microsoft Visual Studio 8\VC\StagerService.xml'..
    An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete.

    The uninstall has completed.
    An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete.
    [/log]


    Praveen
    • Moved by justingrant Thursday, August 21, 2008 7:29 AM moving to appropraite forum (Moved from MSDN and TechNet Search Feedback to .NET Base Class Library)
    • Moved by Zhi-Xin Ye Tuesday, August 26, 2008 11:17 AM off topic (Moved from .NET Base Class Library to Off-Topic Posts (Do Not Post Here))
    Wednesday, August 20, 2008 5:44 AM

Answers