dbTalk Databases Forums  

Mobilink error handling for errors -10280/-10058

sybase.public.sqlanywhere.mobilink sybase.public.sqlanywhere.mobilink


Discuss Mobilink error handling for errors -10280/-10058 in the sybase.public.sqlanywhere.mobilink forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jen
 
Posts: n/a

Default Mobilink error handling for errors -10280/-10058 - 01-27-2010 , 01:53 PM






SQLAnywhere client and server v. 10.0.1.3976

We recently had a client update before the server had the
changes they needed, and started getting this error (which
is expected for what happened) in the mlsrv log:

E. 2010-01-27 10:35:05. <116148> [-10280] The number of
columns in client table 'empl_timeclock' does not agree with
the number defined in ml_column
E. 2010-01-27 10:35:05. <116148> [-10058] Unable to open
upload_insert
I. 2010-01-27 10:35:10. <116148> ROLLBACK Transaction:
end_upload
I. 2010-01-27 10:35:10. <116148> ROLLBACK Transaction:
end_synchronization
I. 2010-01-27 10:35:10. <116148> COMMIT Transaction:
end_connection
I. 2010-01-27 10:35:10. <116148> Disconnected from
consolidated database
I. 2010-01-27 10:35:11. <116148> Synchronization failed


I have both report_error and report_odbc_error defined as
connection scripts. They call a stored proc that takes the
error and inserts it into a table, which fires a trigger
that sends us a formatted email. We do not have handle_error
or handle_odbc_error defined.

This behavior confuses me. Why didn't either report_error
or report_odbc_error pass us the [-10280] error we saw in
the log? Is this another type of error altogether that we
need to catch?

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.