Castle.core.dll mismatch error on Admin console page after upgrading to 19.07.01

    Applies to:
  • SecureAuth Identity Platform
Deployment model:
  • Hybrid
  • On Premises
  • 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.



    There are two main ways this could happen

    1. If the Filesync service is left running during an upgrade, the Primary overwrites the newly updated web.config from the upgrader with the old version from the primary.

    2. Upgrading without blind copy which leaved the SecureAuth0 web.config with references to the new DLL but the old DLL is still in place


    Using the VM snapshot, revert to the old version of IDP. Turn off File sync and start the upgrade process again.

    Special Considerations:  

    Explanation- The error message is because of a mismatch between the version specified in the web.config and the actual DLL version

    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.




    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



    Please sign in to leave a comment.