• Goldwind
  • NEWBIE
  • 0 Points
  • Member since 2005

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 7
    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 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

After I"m a call to login, i get this error:

The underlying connection was closed: Could not establish trust relationship with the remote server

On some computers it login ok but on others it fails.

What can be the reason?

 

Hi,

From my application, I want to open a browser and present, for example a specific Lead's details.

I successfully, do it when the browser is already opened in SalesForce.com and login was done previously.

If I try to open the Lead when login was not done in browser, it will present me the login page.

Can I open a browser, do a login for it and present the Lead, from code? 

(I know i can do a login in code but it is for the web server access and doesnt related to the login on the Salesforce web page)

Thanks

Hi,

I have a base question:

There are 2 web services: Partner and Enterprise. Enterprise contains the strong type objects while the Partner web service does not.

1. When do i use each one of them?

2. If i"m a partner and wants to have the strong types objects, whats are my options?

 

Thanks

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

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

After I"m a call to login, i get this error:

The underlying connection was closed: Could not establish trust relationship with the remote server

On some computers it login ok but on others it fails.

What can be the reason?

 

Hi,

I have a base question:

There are 2 web services: Partner and Enterprise. Enterprise contains the strong type objects while the Partner web service does not.

1. When do i use each one of them?

2. If i"m a partner and wants to have the strong types objects, whats are my options?

 

Thanks

Could someone point me or possibly paste a sample of how to convert a file to base64 and upload to an opportunity under salesforce.com.

I've looked though previous questions in regards to this issue and most of them are quite old. Thank you