when InstallUtil.exe is trying to install the service on server. InstallUtil tries to communicate (the RPC call) with the service control manager (a component that is part of Windows) to install the service. That is where the error is occurring.
we have servers as windows server 2008 R2 virtual server
System.ComponentModel.Win32Exception: The RPC server is unavailable
at System.ServiceProcess.ServiceInstaller.Install(IDictionary stateSaver)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at InfinX.Common.Configuration.Install.ServiceProjectInstaller.Install(IDictionary stateSaver)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.Configuration.Install.AssemblyInstaller.Install(IDictionary savedState)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.Configuration.Install.TransactedInstaller.Install(IDictionary savedState)
Please let us know what should we do. its not coming everytime sometimes it comes and sometimes it went fine. your earler help is highly appriciated.
In 1.6 we change the way we invoke Powershell scripts, making it more robust than 1.5. This instability when calling PS scripts on 1.5 is most likely what its causing this erratic behavior.
The update will be necessary only if your servers don’t have .Net 4.0. The Octopus upgrade itself doesn’t require a reboot. The hotfix on the other hand:
(quote from MS)
This update does not require a system restart after you apply the update unless the files that are being updated are locked or are being used. However, this update restarts all Internet Information Services (IIS)-related services when you install this update.