Synchronizing table: Item -> Run-time error '-2147217833 (80040e57

Dec 09, 2005 3 Replies

Hi, This question is about the RMS Synchronize Offline Database feature, few months ago it use to work fine, but now it is doing this:



after close the POS, and when: Synchronize Offline Database > Synchronizing table: Item (it syncs nice the Alias and the Customer table, but is breaks when Item table and returns this message:)



Microsoft Store Operations POS Run-time error '-2147217833 (80040e57)': String or binary data would be truncated.


I tried this:



1- Since the POS client its a firewalled windows xp SP2 machine, I make 2 exeptions: I opened port 1433 with subnet scope, also enabled the C:\Program Files\Microsoft SQL Server\MSSQL\binn\sqlservr.exe with subnet scope. and it makes no difference
2- I tried to create the database locally for testing but it cant be the same machine as the offline database. Things are the same.
3-I verified the data integrity of Item table and it seems to be ok, no duplicated items, no null lookup fields, etc. Things are the same.
4- I analize the source and target columns lenght and i fixed a difference of size in SubDescription3 field, but it makes no difference, the error code is the same and the halt of proccess persist like a nightmare

Thanks for readint this post


Well, number 4 on your list would have been my bet - a column definition change on the main database.

You can create a new local database for the offline, and it will be populated with everything it needs at the next Z-report, assuming it doesn't fail again. The local offline database doesn't need to keep any historical data, so creating a new one and starting over is fine.

thats it, i altered the pictureName field to 100 lenght, because my picture is a yahoo store url (too long), so i have to alter the offline field too.

Thanks!

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required