Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Status
colourGreen
titleAvailable in 9.7.7 and above

...

Missing appsettings.Production.json

Log message

Unhandled exception. System.IO.FileNotFoundException: The configuration file 'appsettings.Production.json' was not found and is not optional. The expected physical path was 'C:\Program Files (x86)\VFC Integrator\appsettings.Production.json'.

Cause

The appsettings.Production.json file is not present in the installation folder of the Integrator.

Solution

The appsettings.Production.json configuration file must be present in the installation folder of the Integrator. Rerun the installation process or add the file to the folder manually.

Invalid JSON in appsettings.Production.json

Log message

Unhandled exception. System.IO.InvalidDataException: Failed to load configuration from file 'C:\Program Files (x86)\VFC Integrator\appsettings.Production.json'. ---> System.FormatException: Could not parse the JSON file.

Cause

Empty or corrupted appsettings.Production.json file.

Solution

Check the appsettings.Production.json configuration file contains valid configuration details.

Invalid JSON in appsettings.Production.json

Log message

Unhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 'uriString')

Cause

Empty or corrupt appsettings.Production.json file.

Solution

Check the appsettings.Production.json configuration file contains valid configuration details.

Missing VFC API user name

Log message

Appsettings Config Error:VFC API Username shouldn't be empty

Cause

The VFC API user name value is empty.

Solution

Enter a valid user name in the appsettings.Production file.

Missing VFC API password

Log message

Appsettings Config Error:VFC API Password shouldn't be empty

Cause

The VFC API password value is empty.

Solution

Enter a valid password in the appsettings.Production file.

Invalid WfeApiKey values

Log message

System.Net.Http.HttpRequestException: WfeApiKey Id or Value not valid

Cause

The values for WfeApiKey contain invalid data.

Solution

Check the values in the WfeApiKey parameter of the appsettings.Production file match the details of the External API key created for the WFE tenant.

...