FactoryLogix Learning

FactoryLogix website error troubleshooting

KB ARTICLE

Overview

The following errors may occur immediately after installing the FactoryLogix Website (FactoryLogix Online). Each issue and its resolution are described below.

ERR_SSL_KEY_USAGE_INCOMPATIBLE

When navigating to the server address and port, the browser displays ERR_SSL_KEY_USAGE_INCOMPATIBLE:


This site can't be reached
The webpage at https://<serveraddress> might be temporarily down or it may have moved permanently to a new web address.
ERR_SSL_KEY_USAGE_INCOMPATIBLE


This error occurs when the SSL server certificate configured in IIS is a self-signed certificate created within IIS Manager. To resolve this, create a new self-signed certificate using PowerShell instead.

  1. Open PowerShell as Administrator.

  2. Run the following command, replacing the placeholder values with your DNS name and friendly name:

  3. After the certificate is created, configure it as the SSL certificate under Site Binding in IIS Manager.


New-SelfSignedCertificate -DnsName <YourDnsName> -FriendlyName <YourFriendlyName> -CertStoreLocation cert:\LocalMachine\My

HTTP Error 500.19 - Internal Server Error

This error indicates that required Microsoft prerequisites have not been installed.

  1. Download and install the ASP.NET Core Runtime Hosting Bundle from https://dotnet.microsoft.com/en-us/download/dotnet.

  2. Open an elevated command prompt and run IISRESET to restart IIS. The website should now load correctly.

Invalid login attempt

This error indicates a problem with the appsettings.json configuration file. The default file must be updated in four places.

The file is located at C:\inetpub\wwwroot\FactoryLogixWebsite\appsettings.json. Open this file using a text editor launched with elevated (administrator) privileges.

Setting key

Required value

Key

A unique random string of 32 or more characters.

Audience

The URL of the FactoryLogix Website in IIS, e.g. https://localhost:<port>. Update the port to match the binding configured in IIS.

AppServiceServerName

The name of the FactoryLogix Application Server.

DefaultDatabaseConnectionName

The name of the database connection as configured on the Application Server.