![]() | |
![]() |
| | Thread Tools | Display Modes |
#51
| |||
| |||
|
|
Justin Wong wrote: Hi Tom, I have already read through that document before I attempted the sync. I have a feeling it's a problem with some libraries. Is there some way to get a more detailed error message? -85 is kinda generic. I use code like this for communication error reporting: if( uEx.NativeError == ULSQLCode.SQLE_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" ); } Tom |
#52
| |||
| |||
|
|
Justin Wong wrote: Hi Tom, I have already read through that document before I attempted the sync. I have a feeling it's a problem with some libraries. Is there some way to get a more detailed error message? -85 is kinda generic. I use code like this for communication error reporting: if( uEx.NativeError == ULSQLCode.SQLE_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" ); } Tom |
#53
| |||
| |||
|
|
Justin Wong wrote: Hi Tom, I have already read through that document before I attempted the sync. I have a feeling it's a problem with some libraries. Is there some way to get a more detailed error message? -85 is kinda generic. I use code like this for communication error reporting: if( uEx.NativeError == ULSQLCode.SQLE_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" ); } Tom |
#54
| |||
| |||
|
|
Justin Wong wrote: Hi Tom, I have already read through that document before I attempted the sync. I have a feeling it's a problem with some libraries. Is there some way to get a more detailed error message? -85 is kinda generic. I use code like this for communication error reporting: if( uEx.NativeError == ULSQLCode.SQLE_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" ); } Tom |
#55
| |||
| |||
|
|
Justin Wong wrote: Hi Tom, I have already read through that document before I attempted the sync. I have a feeling it's a problem with some libraries. Is there some way to get a more detailed error message? -85 is kinda generic. I use code like this for communication error reporting: if( uEx.NativeError == ULSQLCode.SQLE_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" ); } Tom |
![]() |
| Thread Tools | |
| Display Modes | |
| |