Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Error displays sometime like below ,
An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail.


Interesting post i found but not productive as i dint understood much ,
http://blogs.microsoft.co.il/blogs/mcs/archive/2008/06/24/the-limitations-of-wcf-sessions-part-1-transport-level-dependence.aspx
HE Mentioned like:
"However, when using WsHttpBinding, the seams under WCF’s transport-level abstraction layer start to crack. The exception is of type “System.ServiceModel.Security.MessageSecurityException” and the message is:
'An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail

please help
Posted
Comments
Richard MacCutchan 29-Jun-12 13:36pm    
Well, unless you show us the detail we cannot guess what the problem is.
[no name] 29-Jun-12 14:10pm    
Help with what? There is no question detailed here.

1 solution

System.Exception has an InnerException Property
http://msdn.microsoft.com/en-us/library/system.exception.innerexception.aspx[^]

Maybe whatever is happening you can catch the exception, find out the specific type, cast to that type, and check for a property called FaultException.
 
Share this answer
 
Comments
meeran1234 30-Jun-12 13:06pm    
hi ,
i receive this error not all the time sometimes only i get its quite hard why its performing like that . how can we trap this error as its more common message . We need to know the route cause of this error .
Nathan Stiles 30-Jun-12 13:54pm    
Well if this is a thrown exception then you need to catch that. Log as much information as you can. Find the type of the exception cast to the type and try to read values from all the poerpeties explore all the methods vfariables etc etc.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900