WS-Trust MEX endpoint returns System.InvalidOperationException.

Follow
    Applies to:
  • SecureAuth Identity Platform
  • Legacy SecureAuth IdP
Deployment model:
  • Cloud
  • Hybrid
  • On Premises
  • Version Affected:  [All Versions]

    Description:  

    WS-Trust MEX endpoint (https://idp.example.com/SecureAuthXX/webservice/wstrust.svc/mex) returns below error:

    The ServiceHostBase object returned from the CreateServiceHost method of type 'SecureAuth.IdentityModel.WSTrust.SASecurityTokenServiceConfiguration' is null.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.InvalidOperationException: The ServiceHostBase object returned from the CreateServiceHost method of type 'SecureAuth.IdentityModel.WSTrust.SASecurityTokenServiceConfiguration' is null.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

     

    Cause:  

    The issue occurs due to multiple HTTP/HTTPS bindings in IIS default web site.

    Resolution:  

    Delete any additional HTTP/HTTPS bindings in IIS default web site and keep only one binding with HTTP and/or HTTPS scheme.

     

    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

    Comments

    0 comments

    Please sign in to leave a comment.