on 2010 Sep 10 2:17 PM
It's being thrown as an exception by ULConnection.Synchronize() in a C# SQL Anywhere 12 UltraLite.Net Windows Mobile application.
Does it mean that the MobiLink client can't find the MobiLink server? Nothing is showing up in the MobiLink server -ot file.
Is there any way to get more diagnostic information about this exception?
Based on an example from our documentation:
public void Sync()
{
try
{
_conn.Synchronize( this );
_inSync = false;
}
catch( ULException uEx ){
if( uEx.NativeError == ULSQLCode.SQLE_MOBILINK_COMMUNICATIONS_ERROR )
{
MessageBox.Show(
"StreamErrorCode = " +
_conn.SyncResult.StreamErrorCode.ToString() +
"\\r\\n"
+ "StreamErrorContext = " +
_conn.SyncResult.StreamErrorContext + "\\r\\n"
+ "StreamErrorID = " +
_conn.SyncResult.StreamErrorID + "\\r\\n"
+ "StreamErrorSystem = " +
_conn.SyncResult.StreamErrorSystem + "\\r\\n"
);
}
else
{
MessageBox.Show(uEx.Message);
}
}
catch(System.Exception ex )
{
MessageBox.Show(ex.Message);
}
}
Full documentation page: http://dcx.sybase.com/index.html#1200en/uldotnet/error-af-development.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.