Missing prerequisites

Symptoms

  • IIS Application pool gets started, but the out-of-process dotnet.exe fails to start.
  • No log is sent from the app.
  • Misleading entries in the Windows Event Log, for example:

    Application '/LM/W3SVC/#/ROOT/idenapi' with physical root 'C:\Program Files\Itron\Platform\Identity\IdentityApi\' failed to start process with commandline 'dotnet .\Iden.dll' with multiple retries. Failed to bind to port '#####'.

  • The Itron Platform installer rolls back with similar errors:

    Info: WaitForEndpointAsync: 'https://azr-mts2-app9.itron.com:20800/ idenapi/api/v3/diagnostics/dependencies' response status code: 'BadGateway'. Info: WaitForEndpoint: The final response status code is: 'BadGateway'. Info: WaitForEndpoint: WaitForEndpoint finished with the following result: 'Failure'.

Possible Causes

  • URL Rewrite is missing.
  • .Net Core Hosting Bundle is missing or is the wrong version.
  • Path variable is incorrect and does not contain the path for dotnet.exe.

Resolution

Reinstall (uninstall and install) prerequisites.