• Gerald Wang
  • 0 Points
  • Member since 2016

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 3

We tried to upgrade to TSL1.2 using
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
conn = new SalesforceConnection(userNAME, passWORD, secTOKEN);

in our .NET Console Application to connect to Salesforce and we are getting the error below when  initializing the connection.

INVALID_LOGIN: Invalid username, password, security token; or user locked out.

Can you please let me know what am i doing wrong here and please suggest a fix for this?

Thanks in Advance.
Facing problem "TLS 1.0 has been disabled in this organization. Please use TLS 1.1 or higher when connecting to Salesforce using https.","errorCode":"UNSUPPORTED_CLIENT"

How can i resolve this issue kindly help me