Upgrade Attempts to 8.9+ Without .Net 4.8 Causes 404 Error on Assets > Computers
search cancel

Upgrade Attempts to 8.9+ Without .Net 4.8 Causes 404 Error on Assets > Computers

book

Article ID: 291656

calendar_today

Updated On:

Products

Carbon Black App Control (formerly Cb Protection)

Issue/Introduction

  • Upgrade from prior version (8.8.x and below) to 8.9.x fails because .Net 4.8 is missing
  • After failed attempt, Assets > Computers gives 404 Error Stating:
    • Requested URL: https://<servername>:443/computers.php
    • Physical Path: C:\Program Files (x86)\Bit9\Parity Console\WebUI\html\Computers.php
  • Computers.php does not exist in html\computers.php

Environment

  • App Control Server: 8.9.x+

Cause

Improper installer logic causes a redirect to be created even though computers.php does not yet exists (in 8.9 we renamed hosts.php to computers.php)

Resolution

There are two ways to correct this

Option I: Install .NET Runtime

Install .NET Runtime Version 4.8 and then re-attempt the upgrade

 

Option II: Rename Computers or Hosts page accordingly

  1. Log in to the application server as the Carbon Black Service Account.
  2. Launch Services (services.msc) and temporarily stop the following services:
    • Carbon Black App Control Reporter
    • Carbon Black App Control Server
  3. In File Explorer navigate to the Parity Console\WebUI\html\ directory, by default:
    C:\Program Files (x86)\Bit9\Parity Console\WebUI\html\
  4. Locate the relevant hosts file (typically there would be only one option) and create a backup. Examples:
    C:\Program Files (x86)\Bit9\Parity Console\WebUI\html\hostsOld.php
    C:\Program Files (x86)\Bit9\Parity Console\WebUI\html\hosts.php

    Copy in place and rename accordingly:

    C:\Program Files (x86)\Bit9\Parity Console\WebUI\html\hostsOld-backup.php
    C:\Program Files (x86)\Bit9\Parity Console\WebUI\html\hosts-backup.php
  5. Rename the original hosts file (typically there would be only one option) to Computers.php. Examples:
    C:\Program Files (x86)\Bit9\Parity Console\WebUI\html\hostsOld.php
    C:\Program Files (x86)\Bit9\Parity Console\WebUI\html\hosts.php

    Rename the relevant file found to match:
    C:\Program Files (x86)\Bit9\Parity Console\WebUI\html\Computers.php
  6. From an administrative command prompt issue the command: iisreset
  7. Start the Reporter and Server services.
  8. Log in to the Console and verify Assets > Computers loads properly.
  9. If an Agent was temporarily stopped, load and start the service again.