Xml Serialization issue in AssertionConsumerService page ONLY in production

Hi,

We have two environments have got same settings (application settings). It staging it works fine but in production we are getting below error:

Request information:

Request URL: https://produrl:443/Sso/SAML/AssertionConsumerService

Request path: /Sso/SAML/AssertionConsumerService

User host address:

User:

Is authenticated: False

Authentication Type:

Thread account name:



Thread information:

Thread ID: 12

Thread account name:

Is impersonating: False

Stack trace: at System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type)

at System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context)

at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo()

at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder)

at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder)

at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)

at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)

at System.Web.Util.AltSerialization.WriteValueToStream(Object value, BinaryWriter writer)

Can you please guys help with this?

Thanks,
Muhammad Masood

Hi Muhammad
Please enable SAML trace and send the generated log file as an email attachment to our support email address, also mentioning your forum post.
http://www.componentspace.com/Forums/17/Enabing-SAML-Trace

[quote]
ComponentSpace - Thursday, July 21, 2016
Hi Muhammad
Please enable SAML trace and send the generated log file as an email attachment to our support email address, also mentioning your forum post.
http://www.componentspace.com/Forums/17/Enabing-SAML-Trace
[/quote]

We have enabled it but tracing is not getting produced. I am using old ddl and I am loading configuration programmatically.

Thanks,
Muhammad Masood

Make sure the file permissions are set so the application pool process has write permission to the log folder.
The stack trace you showed doesn’t include our code.
Is that the full stack trace?
If not, could you include the full stack trace including the call into our API?