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”
- 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