Question

Issue Encountered While Installing Middle Tier Server and Required PowerShell Modules

  • 17 September 2023
  • 4 replies
  • 101 views

Badge +3

I encountered while attempting to install the Middle Tier Server and the necessary PowerShell modules required for communication with the server. The installation process involves executing the command . \main.ps1 -resource 'INIT'.

During the execution of this command, I encountered the following warning messages:

WARNING: MSG: UnableToDownload «https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409» «» 
WARNING: Unable to download the list of available providers. Check your internet connection.

 

 

 

PackageManagement\Register-PackageSource : Module Repository 'localPSRepository' exists. At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:4211 char:17 + ... $null = PackageManagement\Register-PackageSource @PSBoundParamete ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ResourceExists: (Microsoft.Power...erPackageSource:RegisterPackageSource) [Register-PackageSource], Exception + FullyQualifiedErrorId : PackageSourceExists, Microsoft.PowerShell.PackageManagement.Cmdlets.RegisterPackageSource

It appears that there may be issues related to downloading resources and registering package sources. I would appreciate your guidance and support in resolving this matter, as it is crucial for the successful installation and operation of the Middle Tier Server.

If there are any recommended troubleshooting steps or if you require additional information from my end to assist in diagnosing and resolving this issue, 


4 replies

Userlevel 5
Badge +12

Hi Sahu,

The error message is:

"UnableToDownload «https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409» «» 
WARNING: Unable to download the list of available providers. Check your internet connection."

Are you able to access https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409 from the Windows Management PC? You can use curl if available:

curl -L "https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409"

Please check with your network admin to understand if there are any relevant network restrictions.

Best regards,
Ben

Badge +3

@Ben Monroe Thanks for review .Its now working.

PS D:\ifs\ifsroot> curl -L "https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409"
Invoke-WebRequest : A parameter cannot be found that matches parameter name 'L'.
At line:1 char:6
+ curl -L "https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409"
+      ~~
    + CategoryInfo          : InvalidArgument: (:) [Invoke-WebRequest], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

Badge +3

@Ben Monroe How do we know which specific port is being blocked? Are there specific parameters and methods that should be taken into consideration when checking for blocked ports on a network?

Thanks

Amal

 

Userlevel 5
Badge +12

Hi Amal,

> How do we know which specific port is being blocked?

>  Are there specific parameters and methods that should be taken into consideration when checking for blocked ports on a network?

In general, no outgoing ports are blocked by default. Someone (the network admin) has to actively decide to block outgoing ports. This is done via a firewall, either by software or a dedicated hardware. Each firewall has means to monitor or log blocked traffic. You should check with your network admin for such details.

Reply