ORA-20101: Wrong user name or password

Moderator: Moderator

ORA-20101: Wrong user name or password

Postby Infigo » Wed Dec 09, 2015 1:49 am

Hi, ;)

When connecting to an account using the following code block:
Code: Select all
string iUserID = "MyUsername";
string iPassword = "MyPassword";
string iURL = "http://www.fxcorporate.com/Hosts.jsp";
string iConnection = "Demo";
session = fxcore2.O2GTransport.createSession();
session.useTableManager(fxcore2.O2GTableManagerMode.Yes, null);
statusListener = new iSessionStatusListener(session, xSessionID, xPin);
session.subscribeSessionStatus(statusListener);
statusListener.Reset();
session.login(iUserID, iPassword, iURL, iConnection);


If I set the code declaration
Code: Select all
iConnection = “Demo”

Then I can log in top any account that is a demo account. No Problem.

When I, however set the code declaration
Code: Select all
iConnection = “Real”
and I try to log in to my real account using the ForeConnect API I get an error message in the SessionStatusListener Class under the code block:
Code: Select all
public void IO2GSessionStatus.onLoginFailed(string rerror)
{
   mError = true;
   mFailed = true;
   mLastError = Error;
}


The error Message reads as follow:
Code: Select all
19915;DAS 19915: ZDas Exception
ORA-20101: Wrong user name or password
ORA-06512: at "U10R12.API", line 429
ORA-06512: at line 1


I have checked and rechecked I am using the correct User Name and Password and I can logon to the FXCM Trading station using this User Name and Password with no problems.
Please tell me what I can do the get a work around for this issue.
Thank you for your help
Infigo
 
Posts: 2
Joined: Wed Dec 09, 2015 1:23 am

Re: ORA-20101: Wrong user name or password

Postby Georgiy » Thu Dec 10, 2015 2:38 am

Hello Infigo,

Make sure that iURL is correct (check that url is used in TS for real connection).
Demo and Real urls can be different.
Georgiy
FXCodeBase: Initiate
 
Posts: 150
Joined: Tue Jul 29, 2014 4:49 am

Re: ORA-20101: Wrong user name or password

Postby Infigo » Tue Jan 05, 2016 4:30 am

No, that’s not it I am using the same credentials as always and as with my FXCM Trading station and still I cannot log in. I don’t get it. I can log into a demo account fine but not my real account. It keeps on saying that the Username or Password is wrong. But it’s not I have rechecked it several times. I have even uninstalled all FXCM software and the ForexConnect API and reinstalled it and still I am having this problem. Does anyone else have a similar problem or is it just me?
Infigo
 
Posts: 2
Joined: Wed Dec 09, 2015 1:23 am

Re: ORA-20101: Wrong user name or password

Postby Julia CJ » Tue Jan 19, 2016 7:17 am

Hello Infigo,

Please, send us the o2g_transport.log file so we could investigate the problem.

To get this file, do the following:
1. Copy the attached file to the folder where your program is located.
2. Run the program. The o2g_transport.log file will appear in the same folder.
Attachments
forexconnect.log4cplus.zip
Attached file
(619 Bytes) Downloaded 787 times
Julia CJ
 


Return to ForexConnect API

Who is online

Users browsing this forum: No registered users and 3 guests