Versions Compared

Key

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

...

Error

Description

Resolution

HTTP Error 500.19 — Internal Server Error — The requested page cannot be accessed because the related configuration data for the page is invalid.

  1. The application website folder is inaccessible because of insufficient permissions. Grant Read permission to the IIS_IUSRS group on the publish folder so that it can access the Web.config file.

  2. Ensure the user account used for the IIS Application Pool has permission to run processes and access files.

  3. Files may be blocked in windows due to coming from internet. Unblock files using gci cthis PowerShell command. Your file path may very based on the installed location.

    1. gci C:\inetpub\wwroot\ACMMobilePortal | Unblock-File

Login page is rendering but not able to login even as administrator

When attempting to login, even with a valid administrator entry in the Portal DB table ConfigurationAdministrators, the website will say that unlicensed access is denied for non administrators.

The user account that is assigned to the IIS application pool will need to be given permission to access the Portal SQL DB.

Unable to Decode License File (DecryptString CryptAcquireContext Error: Wind32Code=2)

MS: ERROR_FILE_NOT_FOUND2L

The license file can be opened and read via the file system, but the crypto process to decode the bytes fails with this error. The process is stopped and the license contents are reported as empty or missing.

The profile of the user is not loaded and cannot be found. This happens when the application impersonates a user, for example, the IUSR_ComputerName account.

The user account that is assigned to the IIS application pool may have to be changed to one that correctly loads the crypto.

...