Manually configuring IIS Settings

Manually configuring IIS Settings

Some settings for the Web Portal can also be manually updated directly via IIS. This may be required when relocating your HelpMaster database, 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 SQL Server instance name e.g. SQLServer\Express or (local).
  • Initial Catalog” is the name of the HelpMaster database e.g. HelpMaster Sample.
{
  "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