Article ID: 111119, created on Apr 13, 2011, last review on May 9, 2014

  • Applies to:
  • H-Sphere 3.4

Symptoms

Upgrade to H-Sphere 3.4.x on Windows server fails with the error:

Parallels H-Sphere Web Hosting package --   HsInstaller: Exception occured during executing "CheckHostServices" method: System.IO.FileNotFoundException: Could not load file or assembly 'Utils.General, Version=3.4.280.3916, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'Utils.General, Version=3.4.280.3916, Culture=neutral, PublicKeyToken=null'
   at Psoft.HSphere.HostingServices.AspNetService1_1.IsServiceAvailable()
   at Psoft.HSphere.HostingServices.HostingService.IsAvailableStrict(String serviceId) in c:\build\working_dir\Release_win32_trunk\winbox\.NET\Main\Core\HostingServices\HostingService.cs:line 134
   at ManagedCheck.CheckReqHostServices.Check(Int32 installHandle)

Resolution

Add utils to probing PrivatePath in hsphere.exe.config file located in HSphere\bin\. The file content will look like this:

<configuration>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <probing privatePath="utils;refs;services;resources;" />
    </assemblyBinding>
  </runtime>
  <startup>
    <requiredRuntime version="v2.0.50727" safemode="true" />
  </startup>
</configuration>


Restart HSphere service on Windows server and try to upgrade again.

f213b9fa8759d57bee5d547445806fe7 f90e90e234d2835301363089f6b828e5 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF