I have a project we're converting from nd3 to nd4 and the database
connectivity (Sybase) is being done by configuring a connection object and
firing off a data object's execute method and passing that connection
object.

Its failing with a system error code of 28.

Anyone have any idea why I'm getting this error code or what it pertains to?

Also, what is going on here? Does the data object's sql get completely
overhauled to some sort of sql to establish a connection? Does it matter
that the selected table/column is not the syslogin table or that there is an
apparently useless where clause in the data object's wizard.

Here's the code snippet

CSpDBConnection conn  = new CSpDBConnection ( "SYBASE", "SYB_MPD",
                login, password, "MPD", false, CSpider.getSessionId());

CSpDBSQLRequest request = new CSpDBSQLRequest ();
request.setDBConnection(conn);

CSpSelect  doLogin = (doLogin) CSpider.getDataObject( "doLoginCheck" );

loginCheck.execute(request);

if (loginCheck.succeeded()) {
     ....  // we're not succeeding
} else {
     ....  // we land here!!!
}

Thanks,

Paul Gentile
Cardinal Group International
[EMAIL PROTECTED]

_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to