• AssafGot
  • NEWBIE
  • 0 Points
  • Member since 2009

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

Hi

 

Unfortuneately I have stumbled at the first hurdle, but I am sure there is an easy explanation. Using eclipse .4.2 i am trying to create a new salesforce.com project and get an error when trying to login. I can login manually absolutely fine via the web. The password includes the security token. but i get a dialog

 

" Uable to connect to hostname www.salesforce.com:

 

invalid Username, password, security token or user is locked out.

 

Any ideas?

System.Web.Services.Protocols.SoapException: INVALID_LOGIN: Invalid username, password, security token; or user locked out.
Hello please respond me ASAP.
 
Today our Sandbox is refreshed.i AM GETTING THIS ERROR with all l the applications (custom integrations)  which uses .Net
 
We are using .Net1.1. This needs to be fixed ASAP. Please advise
 
Do i need to reset the username (Before the userid did not have .test at the end. After the sandbox refresh the userid have .test at the end)
 
Please advise ASAP.
 
i am passing target_url(Enterprise url) as a parameter from salesforce

private bool login()

{

binding = new SforceService();

binding.Url = target_url;

lr = binding.login("username", "password");

binding.SessionHeaderValue = new SessionHeader();

binding.SessionHeaderValue.sessionId = lr.sessionId;

binding.Url = lr.serverUrl;

try

{

sForce.GetUserInfoResult ui = binding.getUserInfo();

String Id = ui.userId;

return true;

}

catch (Exception ex)

{

Response.Write(ex.Message + " ");

return false;

}

}

  • October 24, 2008
  • Like
  • 0