You need to sign in to do that
Don't have an account?
Login failed - Urgent
Hi,
I"m trying to use login (partner web service), but on some computers it fails while on the others it work ok
The error message is: "The underlying connection was closed: Could not establish trust relationship with the remote server"
What may be the problem? Can't I relay on the web service for all computers?
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
Both computers are connected to the same network and both are XP pro. I"m also looking in the differences between them.
I think it may be in the definitions of the web service.
Can i send you a small project of the Login to examine?
Thanks
Can i sent you a small project in .net with the login process?
I think it may be connected to the web service definitions.
Thanks
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?