This topic contains 2 replies, has 2 voices, and was last updated by  Chris Danks 1 year, 5 months ago.

  • Author
    Posts
  • #6540
     Chris Danks 
    Member

    HI

    I’ve upgraded 3 client servers from WebsitePanel to MSPControl

    however I am having issues with check for updates

    Server 1 error:
    Can not get the latest verion number

    
    System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Can not install chocolatey. Result: at MSPControl.Providers.Upgrade.UpgradeHelper.InstallChoco(ProxySettings proxySettings) at MSPControl.Providers.Upgrade.UpgradeHelper.MakeSureChocoInstalled(ProxySettings proxySettings) at MSPControl.Providers.Upgrade.UpgradeHelper.GetLatestVersionNumber(ProxySettings proxySettings) at MSPControl.EnterpriseServer.SystemController.GetLatestVersionNumber() at MSPControl.EnterpriseServer.esSystem.GetLatestVersionNumber() --- End of inner exception stack trace ---

    Server 2 error:

    System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Can not install chocolatey. Result: Downloading specific version of Chocolatey: 0.10.3 Getting Chocolatey from https://chocolatey.org/api/v2/package/chocolatey/0.10.3. Downloading 7-Zip commandline tool prior to extraction. Extracting C:\Users\WPENTE~1\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip to C:\Users\WPENTE~1\AppData\Local\Temp\chocolatey\chocInstall... Installing chocolatey on this machine WARNING: Setting ChocolateyInstall Environment Variable on USER and not SYSTEM variables. This is due to either non-administrator install OR the process you are running is not being run as an Administrator. Creating ChocolateyInstall as an environment variable (targeting 'User') Setting ChocolateyInstall to 'C:\ProgramData\chocolatey' WARNING: It's very likely you will need to close and reopen your shell before you can use choco. Installation of Chocolatey to default folder requires Administrative permissions. Please run from elevated prompt. Please see https://chocolatey.org/install for details and alternatives if needing to install as a non-administrator. At C:\Users\WPEnterpriseServer\AppData\Local\Temp\chocolatey\chocInstall\tools\ chocolateysetup.psm1:211 char:5 + throw "Installation of Chocolatey to default folder requires Administrative ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ + CategoryInfo : OperationStopped: (Installation of...-administra tor.:String) [], RuntimeException + FullyQualifiedErrorId : Installation of Chocolatey to default folder req uires Administrative permissions. Please run from elevated prompt. Please see https://chocolatey.org/install for details and alternatives if needing to install as a non-administrator. at MSPControl.Providers.Upgrade.UpgradeHelper.InstallChoco(ProxySettings proxySettings) at MSPControl.Providers.Upgrade.UpgradeHelper.MakeSureChocoInstalled(ProxySettings proxySettings) at MSPControl.Providers.Upgrade.UpgradeHelper.GetLatestVersionNumber(ProxySettings proxySettings) at MSPControl.EnterpriseServer.SystemController.GetLatestVersionNumber() at MSPControl.EnterpriseServer.esSystem.GetLatestVersionNumber() --- End of inner exception stack trace ---

    0
    Be the first one to like this.
    Please wait...
    #6549
     Alexander 
    Member

    Plese grant Local Administrator priviledges for the Server App Pool user.

    0
    Be the first one to like this.
    Please wait...
    #6551
     Chris Danks 
    Member

    didnt help 🙁

    I also just tried:

    Downloaded MSP Installer
    Remove Portal
    once uninstalled, went to IIS and also removed the Portal site + app pool
    opened MSPC installer again and this time installed Portal

    Once reinstalled logged back in and again this error:

    System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Can not install chocolatey. Result: Downloading specific version of Chocolatey: 0.10.3 Getting Chocolatey from https://chocolatey.org/api/v2/package/chocolatey/0.10.3. Downloading 7-Zip commandline tool prior to extraction. Extracting C:\Windows\TEMP\chocolatey\chocInstall\chocolatey.zip to C:\Windows\TEMP\chocolatey\chocInstall... Installing chocolatey on this machine Exception calling "SetEnvironmentVariable" with "3" argument(s): "Requested registry access is not allowed." At C:\Windows\TEMP\chocolatey\chocInstall\tools\chocolateyInstall\helpers\funct ions\Set-EnvironmentVariable.ps1:67 char:12 + return [Environment]::SetEnvironmentVariable($Name, $Value, $Scope) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecordE xception + FullyQualifiedErrorId : SecurityException at MSPControl.Providers.Upgrade.UpgradeHelper.InstallChoco(ProxySettings proxySettings) at MSPControl.Providers.Upgrade.UpgradeHelper.MakeSureChocoInstalled(ProxySettings proxySettings) at MSPControl.Providers.Upgrade.UpgradeHelper.GetLatestVersionNumber(ProxySettings proxySettings) at MSPControl.EnterpriseServer.SystemController.GetLatestVersionNumber() at MSPControl.EnterpriseServer.esSystem.GetLatestVersionNumber() --- End of inner exception stack trace ---

    0
    Be the first one to like this.
    Please wait...
Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Chocolately errors’ is closed to new replies.

©2018 MSPControl | Privacy Policy

Log in with your credentials

or    

Forgot your details?

Create Account