Manually update IIS settings

Manually update IIS settings

Some settings for the Web Portal can also be manually updated directly via IIS. This may be required when performing maintenance, or for testing etc.

Updating the database connection string

The HelpMaster database connection string is located in the “appsettings.json” file that is located in the root folder. Open this file with Notepad (or similar) and adjust the settings.

  • “Data Source” is the same of the SQL Server.
  • Initial Catalog” is the name of the HelpMaster database.
{
  "ConnectionStrings": {
    "DefaultConnection": "Data Source=(local);Initial Catalog=HelpMaster Sample;Integrated Security=SSPI;Application Name=HelpMaster Web Portal;"
  },
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "AllowedHosts": "*"
}

Manually updating the IIS Application Pool account

Set IIS application pool identity

Set IIS application pool identity

Ensure that this account is part of the IIS_IUSRS group on that machine. This permission is required so that the service account can create and write Windows event logs for IIS.

The HelpMaster Service Account group membership

The HelpMaster service account that is used for the IIS Application pool must be part of the local IIS_IUSRS group on the same machine as IIS. This is required so that the account can create and write IIS event logs.

HelpMaster service account IIS_IUSRS