Could not load file or assemble ''ComponentSpace.SAML2' Version=2.5.0.12

SAML authentication fails due to below

Could not load file or assembly ‘ComponentSpace.SAML2, Version=2.5.0.12, Culture=neutral, PublicKeyToken=7c51d97b3a0a8ff9’ or one of its dependencies. The system cannot find the file specified.

Assuming your application compiles successfully, please ensure the ComponentSpace.SAML2 DLL is published along with your application. Normally this means the DLL is in your application’s bin folder.

Also, you should consider upgrading at some stage. Version 2.5.0.12 is seven years old. You’ll find the release notes at:

https://www.componentspace.com/documentation/saml-for-asp-net/ComponentSpace%20SAML%20for%20ASP.NET%20Release%20Notes.pdf