• EnOfir
  • NEWBIE
  • 0 Points
  • Member since 2005

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

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

  • September 24, 2005
  • Like
  • 0