You need to sign in to do that
Don't have an account?
Login error - Could not establish trust relationship
Hi,
I"m trying to use login (partner web service), but on some computers it fails while on the others it work ok. The computers are connected to the same network and their os is XP pro.
The error message is: "The underlying connection was closed: Could not establish trust relationship with the remote server"
What may be the problem?
I understand that it may be the binding so what is missing?
This is an urgent problem since the basic operation of application: "Login" doesnt work well
I can send a small login project to inspect and test, by responding with a given email address.
below is code which calls the login:
binding = New sforce.SforceService
'// Time out after a minute
binding.Timeout = 60000
' Set Client Id
binding.CallOptionsValue = New sforce.CallOptions
binding.CallOptionsValue.client = CLIENT_ID
Try
loginRes = binding.login(UserName, Password)
Catch ex As System.Web.Services.Protocols.SoapException
...
Catch ex As Exception
...
End Try
Thanks in advance
We found the solution in a strange way:
The computers, which failed with the login, had a wrong date (the computer's date had a date of march 2005 instead of september).
We changed it to the date of today and, amazingly enough, the login work.
So we know it works but we dont know why!
Do the web service has a date check?