SAP Knowledge Base Article - Public

1864841 - "Fatal Error : At least one port in the range 4520-4539 must be open for the installation to proceed" occurred while installing BI 4.x client tools.

Symptom

  • Following error occurred while installing BI 4.x Client Tools on Windows:
    Fatal Error: At least one port in the range 4520-4539 must be open for the installation to proceed. Please ensure that no application or firewall is blocking this range.
    FatalError.png
  • Blocked port 4520 may also cause the following error: Microsoft Visual C++ Runtime Library Runtime Error!
  • Setup engine logs may also show:
    Action execution process terminated with non-zero exit code: 1.
    Error: Attempt to create a connection failed. Moving on to next action

Environment

  • SAP BusinessObjects Business Intelligence Platform 4.0 Client Tools
  • SAP BusinessObjects Business Intelligence Platform 4.1 Client Tools
  • SAP BusinessObjects Business Intelligence Platform 4.2 Client Tools
  • SAP BusinessObjects Business Intelligence Platform 4.3 Client Tools
  • SAP Crystal Reports 2011
  • SAP Crystal Reports 2013
  • SAP Crystal Reports 2016
  • SAP Crystal Reports 2020

Reproducing the Issue

  1. Download and extract BI 4.x Client tools setup.
  2. Right click on setup.exe and choose "Run As Administrator".
  3. The error message appears.

Cause

Multiple causes for this error:

  1. There is a local Windows or any other third party firewalll enabled on the system and the ports 4520-4539 are blocked.
  2. The Installation is running from compressed folder or network drive.
  3. The communication is being redirected from the expected port (4520) to another port

    Expected extract from the working logs:

    Found free listening port for action agent server: 4520
    AgentServer listening on port socket:4520 for remote action process
    Main thread is waiting for listening socket to be ready...
    Server accepted actionagentproc connection
    AgentServer connected to: 127.0.0.1:4520

    Seen output in the failing logs (port highlighted may be any number):
    Found free listening port for action agent server: 4520
    AgentServer listening on port socket:4520 for remote action process
    Main thread is waiting for listening socket to be ready...
    Action execution process terminated with non-zero exit code: 1.
    Server accepted actionagentproc connection
    AgentServer connected to: 127.0.0.1:20009
    Error: Attempt to create a connection failed. Moving on to next action



Resolution

  1. Make sure to use the Right click on setup.exe and choose "Run As Administrator"
  2. Extract the installation to local hard drive C:
  3. Disable Windows firewall temporarily or open ports in the range 4520-4539 bi-directionally on the firewall. 
    For example Windows 7 firewall settings can be changed using following steps:
    1. Click on Start->Administrative Tools.
    2. Open Windows Firewall Settings.

      If there is any third party firewall enabled on the local machine then it needs to be disabled temporarily or the above mentioned ports should be opened on the firewall with the help of an administrator
    3. Note,  Remote Desktop Services (TermService) also could block the ports. The RDC needs to be disabled temporarily as well.
  4. Disable the port forwarding on the environment

See Also

1638102 - Installation Best Practices for Crystal Reports - Master KBA

Keywords

port, in, the, range, 4520-4539, 4520, 4539, must, be, open, install, bi, 4.0, 4.1, 4.2,4.3 client, tools, fatal, error, CRE, CR4Ent, CR4E, CR, 2011, 2013, 2016,2020 , KBA , BI-BIP-INS , Installation, Updates, Upgrade, Patching , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem

Product

SAP Crystal Reports 2011 ; SAP Crystal Reports 2013 ; SAP Crystal Reports 2016

Attachments

FatalError.png