views:

236

answers:

0

I am running Windows XP pt-BR (Portuguese - Brazil), a WCF service on a Windows Service container with HTTP Binding.

I also wrote a test WCF client. And since I made a small modification on the service I am getting a MessageSecurityException. "An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail."

The inner exception is in Portuguese. I want to receive it in English, so I can google it. But nothing that I have done worked:

  1. I already inserted the lines below in every method of the server and client:

    Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("en-US"); Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");

  2. I changed my Windows' Regional Settings to en-US, with me living in US, with my keyboard input language to en-US.

What else can I do to get this innerException in English?

UPDATE I solved my original problem without translating the Exception