Version Affected: 19.07.01 Post Upgrade
After upgrade to 19.07.01 from IDP version 9.2. we are getting this error about castle.core.dll does not match the assembly reference.
File Sync left turned on the affected before kicking off the upgrade process.
Using the VM snapshot, revert to the old version of IDP. Turn off File sync and start the upgrade process again.
Special Considerations (optional as needed):
Explanation- So that error message is basically a mismatch between the version stated in the web.config and the actual DLL version
Because if you check the Actual castle.core.dll file, you would find it is on 4.4.0 however the castle.core reference in the web.config is 4.1.x.
There are two main ways this could happen- 1). If Filesync being left on during an upgrade (Primary overwrites the newly updated web.config from the upgrader with the old version from the primary) OR upgrading without blind copy which leaved the SecureAuth0 web.config with references to the new DLL but the old DLL is still in place
Hope this would help in castle.core.dll error related issues. Happy upgrading:)
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.