When you try to check-in or shelve files in Microsoft Team Foundation Server (TFS) sometimes the following error message appears:
Value was either too large or too small for a UInt32.
Cause:
There is an unsaved file in the IDE.
Solution:
Click Save All in the tool bar and try to check-in the files again.