XML schema errors


I am working with an SSO, where I act as a service provider (SP).

When the client tries to connect, our site receives the request (SAML) in an XML schema and this schema is generating the following error.

One or more configuration XML schema validation errors occurred.
ComponentSpace.SAML2.Exceptions.SAMLSchemaValidationException: One or more configuration XML schema validation errors occurred.
at ComponentSpace.SAML2.Configuration.SchemaValidator.ValidateConfiguration (XmlDocument xmlDocument)
at ComponentSpace.SAML2.Configuration.SAMLConfigurationFile.Load (String fileName)
at ComponentSpace.SAML2.SAMLController.Initialize ()
at ComponentSpace.SAML2.InternalSAMLServiceProvider..ctor ()
at ComponentSpace.SAML2.SAMLServiceProvider.ReceiveSSO (HttpRequest httpRequest, Boolean & isInResponseTo, String & partnerIdP, String & authnContext, String & userName, IDictionary & attributes, String & relayState)
at XXXXX.XXXXXX.aspx.Page_Load (Object sender, EventArgs e) in


I validated with other XML sent previously and they are the same.

Can you help me?

This is an issue with the saml.config file rather than any SAML messages received.
Under the Examples\Utility folder there’s a ValidateConfig console application project that you may run for more information about the errors.
Also, I suggest comparing your saml.config with that of our example projects.
You’re welcome to send your saml.config to support@componentspace.com if there’s still an issue.