Version Affected: All
Description:
When attempting to load a realm, you get an error stating there was a problem. By turning Custom logging Off, the error states "Compiler Error Message: BC30451: 'DatabaseFactory' is not declared. It may be inaccessible due to its protection level."
Cause:
This error is normally caused by files missing in the realm's folder D:\SecureAuth\SecureAuthXXX
Resolution:
Save a copy of the web.config and copy a working realm folder over top of the non-working. Once copied, re-copy the web.config file back in so you have your proper settings. An IISRESET or an Application Pool recycle needs be done, to refresh the .Net cache.
Special Considerations (optional as needed):
If said realm is a member of the default Application Pool, a recycle will refresh all realms of that Application Pool. It is better to create a new Application Pool, move said realm to it, recycle, and then move it back to the Application Pool it was part of originally.
To properly create a new application pool, see this article:
https://support.secureauth.com/hc/en-us/articles/360019647812-How-to-add-Application-Pools-in-IIS
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.
Comments
Please sign in to leave a comment.