![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
How do I deal a "protocol error" on a very large 9.0.2.3124 initial download? The dbmlsync log snippet below shows that the failure happened during the download of one of the largest tables. Notice the long times and the large stream size. I have told the client (1) try rerunning, (2) try a later EBF and (3) call tech support. Does anything else come to mind? Breck I. 07/12 10:23:43. Synchronization Started I. 07/12 10:23:43. 1: -c I. 07/12 10:23:43. 2: ************************************************** **** I. 07/12 10:23:43. 3: -e I. 07/12 10:23:43. 4: adr=host=192.168.47;lt=OFF I. 07/12 10:23:43. 5: -q I. 07/12 10:23:43. 6: -vnosu I. 07/12 10:23:43. 7: -x I. 07/12 10:23:43. Adaptive Server Anywhere MobiLink Synchronization Version 9.0.2.3124 ... I. 07/12 17:17:27. COMMIT I. 07/12 20:07:57. Download stream: received 1195949857 bytes from MobiLink Server. I. 07/12 20:07:57. Processing download stream ... ... I. 07/12 20:08:01. Downloading into table: xxx I. 07/12 20:08:02. # rows inserted/updated into table xxx : 315 I. 07/12 20:08:02. # rows deleted in table xxx : 0 I. 07/12 20:08:02. Downloading into table: yyy E. 07/12 20:20:49. Protocol error |
#3
| |||
| |||
|
|
Do you have any embedded NULL characters in char or varchar columns that are being downloaded? This will cause a protocol error. If you know the problem is happening on table yyy, then a SQL statement similar to the following ( on the product table in the asademo.db ) will find you your embedded NULL character, assuming you include all the character columns in your select. select id, locate( name, '\x00' ) as c1, locate( description, '\x00' ) as c2, locate( size, '\x00' ) as c3, locate( color, '\x00' ) as c4 from product where c1 > 0 or c2 > 0 or c3 > 0 or c4 > 0 It's unlikely that an EBF has fixed this BTW. -- Reg Domaratzki, Sybase iAnywhere Solutions Sybase Certified Professional - Sybase ASA Developer Version 8 Please reply only to the newsgroup iAnywhere Developer Community : http://www.ianywhere.com/developer iAnywhere Documentation : http://www.ianywhere.com/developer/product_manuals ASA Patches and EBFs : http://downloads.sybase.com/swd/base.do -> Choose SQL Anywhere Studio -> Set filter to "Display ALL platforms IN ALL MONTHS" Breck Carter> wrote in message news:44b6477e.4870.1681692777 (AT) sybase (DOT) com... How do I deal a "protocol error" on a very large 9.0.2.3124 initial download? The dbmlsync log snippet below shows that the failure happened during the download of one of the largest tables. Notice the long times and the large stream size. I have told the client (1) try rerunning, (2) try a later EBF and (3) call tech support. Does anything else come to mind? Breck I. 07/12 10:23:43. Synchronization Started I. 07/12 10:23:43. 1: -c I. 07/12 10:23:43. 2: ************************************************** **** I. 07/12 10:23:43. 3: -e I. 07/12 10:23:43. 4: adr=host=192.168.47;lt=OFF I. 07/12 10:23:43. 5: -q I. 07/12 10:23:43. 6: -vnosu I. 07/12 10:23:43. 7: -x I. 07/12 10:23:43. Adaptive Server Anywhere MobiLink Synchronization Version 9.0.2.3124 ... I. 07/12 17:17:27. COMMIT I. 07/12 20:07:57. Download stream: received 1195949857 bytes from MobiLink Server. I. 07/12 20:07:57. Processing download stream ... ... I. 07/12 20:08:01. Downloading into table: xxx I. 07/12 20:08:02. # rows inserted/updated into table xxx : 315 I. 07/12 20:08:02. # rows deleted in table xxx : 0 I. 07/12 20:08:02. Downloading into table: yyy E. 07/12 20:20:49. Protocol error |
#4
| |||
| |||
|
|
Do you have any embedded NULL characters in char or varchar columns that are being downloaded? This will cause a protocol error. If you know the problem is happening on table yyy, then a SQL statement similar to the following ( on the product table in the asademo.db ) will find you your embedded NULL character, assuming you include all the character columns in your select. select id, locate( name, '\x00' ) as c1, locate( description, '\x00' ) as c2, locate( size, '\x00' ) as c3, locate( color, '\x00' ) as c4 from product where c1 > 0 or c2 > 0 or c3 > 0 or c4 > 0 It's unlikely that an EBF has fixed this BTW. -- Reg Domaratzki, Sybase iAnywhere Solutions Sybase Certified Professional - Sybase ASA Developer Version 8 Please reply only to the newsgroup iAnywhere Developer Community : http://www.ianywhere.com/developer iAnywhere Documentation : http://www.ianywhere.com/developer/product_manuals ASA Patches and EBFs : http://downloads.sybase.com/swd/base.do -> Choose SQL Anywhere Studio -> Set filter to "Display ALL platforms IN ALL MONTHS" Breck Carter> wrote in message news:44b6477e.4870.1681692777 (AT) sybase (DOT) com... How do I deal a "protocol error" on a very large 9.0.2.3124 initial download? The dbmlsync log snippet below shows that the failure happened during the download of one of the largest tables. Notice the long times and the large stream size. I have told the client (1) try rerunning, (2) try a later EBF and (3) call tech support. Does anything else come to mind? Breck I. 07/12 10:23:43. Synchronization Started I. 07/12 10:23:43. 1: -c I. 07/12 10:23:43. 2: ************************************************** **** I. 07/12 10:23:43. 3: -e I. 07/12 10:23:43. 4: adr=host=192.168.47;lt=OFF I. 07/12 10:23:43. 5: -q I. 07/12 10:23:43. 6: -vnosu I. 07/12 10:23:43. 7: -x I. 07/12 10:23:43. Adaptive Server Anywhere MobiLink Synchronization Version 9.0.2.3124 ... I. 07/12 17:17:27. COMMIT I. 07/12 20:07:57. Download stream: received 1195949857 bytes from MobiLink Server. I. 07/12 20:07:57. Processing download stream ... ... I. 07/12 20:08:01. Downloading into table: xxx I. 07/12 20:08:02. # rows inserted/updated into table xxx : 315 I. 07/12 20:08:02. # rows deleted in table xxx : 0 I. 07/12 20:08:02. Downloading into table: yyy E. 07/12 20:20:49. Protocol error |
![]() |
| Thread Tools | |
| Display Modes | |
| |