Version Affected: All
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."
This error is normally caused by files missing in the realm's folder D:\SecureAuth\SecureAuthXXX
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:
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.