• Lens
  • NEWBIE
  • 0 Points
  • Member since 2013

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

Hi,

 

I've been trying to login to my sandbox with flex toolkit and it is day number 3 with no success I looked at many threads with people having this issue, but I was not able to find a solution to my problem.

 

I tried with the token and with out, also with test.salesforce.com and w / o technically everything that I could. Also I checked and my username and password are correct since I was able to login to sandbox with these credentials.

 

Here is my code snippet:

 

var lr:LoginRequest = new LoginRequest();
                lr.username = "kiril@mail.com.kirilsand";
                lr.password = "myPasswordLsuKA6tMDPQcobimbnqRd9sY";
                //lr.server_url = "https://tapp0.salesforce.com/service/Soap/17.0";
                //lr.server_url = "test.salesforce.com";
               
                lr.callback = new AsyncResponder(logedInToSand, loginToSandFault);
               
                //trace("lr = " + ObjectUtil.toString(lr));
                //apexTest.serverUrl = "test.salesforce.com";
               
                apexTest.login(lr);

 

 

Any help will be appreciated. I alway get the fault exception username or password invalid or user locked out.

 

Thanks in advance. 

 

  • January 18, 2010
  • Like
  • 0