Troubleshooting: Decrypt Web Config Page Fails to Load

Follow
    Applies to:
Deployment model:
  • On Premises
  • Version Affected: 9.x
     
     

    Overview

    Clicking Tools > Decrypt Web Config in the Web Admin Console shows the standard Custom Error page instead of the expected list of realms. With Custom Errors turned off for SecureAuth0, the real error shown is "Object reference not set to an instance of an object".

     

    Cause

    One of the SecureAuth<realm> folders in D:\SecureAuth\ is missing its web.config file.

     

    Resolution

    The web.config only goes missing when an administrator has accidentally moved it, so check whichever realm was most recently being worked on first.

    To get a full list of folders missing a web.config instead:

    1. RDP into the IdP.
    2. Open an Admin PowerShell.
    3. Run:
      GCI "D:\SecureAuth" -Directory | ?{(gci $_.FullName -Filter "web.config").count -eq 0}
    4. This returns a list of folders where the web.config is missing.

    An alternative method that also locates missing IIS applications is covered in How To: Find Missing Realm Folders, IIS Applications, or web.config Files.


     

    SecureAuth Knowledge Base Articles provide information based on specific use cases and may not apply to all appliances or configurations. Be advised that these instructions could cause harm to the environment if not followed correctly or if they do not apply to the current use case.

    Customers are responsible for their own due diligence prior to utilizing this information and agree that SecureAuth is not liable for any issues caused by misconfiguration directly or indirectly related to SecureAuth products.

    0 out of 0 found this helpful

    Comments

    0 comments

    Please sign in to leave a comment.