Error code 1053

Failure

After installing or reinstalling the DCA and Cloud Connector agent, the agent services do not start via Windows or the NDD Orbix portal.

When attempting to start the services, the following error is displayed:

Error 1053: The service did not respond to the start or control request in a timely manner.

Cause

There are two possible causes:

Cause 1: Microsoft .NET Runtime was not installed correctly

The Microsoft .NET Runtime, a prerequisite for the DCA and Cloud Connector agent to function, was not installed correctly during the installation process.

Cause 2: corrupted appsettings.json file

The configuration file (appsettings.json) or the data read from it may be corrupted. In this case, the application attempts to interpret invalid data as text, resulting in:

  • a failure to read the appsettings.json file;

  • the process generating a .NET exception;

  • the service closing during startup;

  • Windows returning error 1053.

File corruption can occur due to:

  • An interrupted update.

  • An unexpected shutdown of the computer during writing.

  • A disk or file system failure.

  • Files being blocked or replaced by antivirus software.

  • Partially overwritten installation files.

Solution

Follow the procedure based on the identified cause.

Cause 1 (Microsoft .NET Runtime was not installed correctly)
  1. Completely uninstall the DCA and Cloud Connector agent and its services, as instructed at Remove the DCA and Cloud Connector agent on Windows

  2. Restart the computer

  3. Install the DCA and Cloud Connector agent again, as instructed at Install the DCA and Cloud Connector agent on Windows

Se a falha persistir após a reinstalação:

If the failure persists after reinstallation:

  1. Manually install the latest version of the Microsoft .NET Runtime

  2. Open Windows Services, locate the NDD - DCA and Cloud Connector service, and start it

  3. In the NDD Orbix portal, locate the NDD - DCA and Cloud Connector service and restart it, as instructed at Start, stop or restart service

Cause 2 (corrupted appsettings.json file)

All of the commands below must be run in the Command Prompt opened as an administrator.

  1. Verify that the appsettings.json files exist in all installation folders:

    1. Run the command powershell -command "Get-ChildItem 'C:\Program Files (x86)\NDD TECH' -Recurse -Filter appsettings.json"

  2. Verify that the agent’s appsettings.json file can be read correctly (valid JSON):

    1. Run the command powershell -command "Get-Content 'C:\Program Files (x86)\NDD TECH\DCA and Cloud Connector\Printer Network Agent\appsettings.json' -Raw | ConvertFrom-Json"

    2. Verify that the command returns the file’s properties (Version, WorkFolder, AgentSdkSettings, etc.)

    3. If a JSON error is returned, the file is invalid

  3. Check the last few lines of the agent logs:

    1. Run the command powershell -command "Get-Content 'C:\NDD TECH\Workfolder\dca-local-logs-*.log' -Tail 30"
      If there is only one log file, replace *.log with the full name of the file. Example: powershell -command "Get-Content 'C:\NDD TECH\Workfolder\dca-local-logs-20260730.log' -Tail 30"

    2. Verify that the command returns normal startup messages

    3. If it returns unreadable characters (��, random symbols, or a large quantity of binary characters), this indicates that the log file is corrupted or that there was a failure in the reading of its contents

  4. Check for any failures logged in Event Viewer:

    1. Run the command wevtutil qe Application /q:"*[System[(Provider[@Name='Application Error'])]]" /f:text /c:10

    2. Check if the command returns an NDD executable failure (Application Error / Event ID 1000)

If the appsettings.json files are invalid, the logs show signs of corruption, or the service continues to close with error 1053, perform a reinstallation:

  1. Completely uninstall the DCA and Cloud Connector agent and its services, as instructed at Remove the DCA and Cloud Connector agent on Windows

  2. Manually remove any remaining installation folders:

    1. C:\Program Files (x86)\NDD TECH\

    2. C:\Local Disk\NDD TECH\

    3. C:\NDD TECH\ (WorkFolder), if applicable;

  3. Install the DCA and Cloud Connector agent again, as instructed at Install the DCA and Cloud Connector agent on Windows

After reinstallation, the appsettings.json files and logs are recreated, eliminating any corrupted files that may have remained from the previous installation.

Last updated: