119

When attempting to check in code through TFS in visual studio 2012 or 2013 sometimes results in displaying an error message "Value was either too large or too small for a UINT32" error message. What is causing this, and how can I fix this?

CindyH
  • 123
Martijn
  • 3,342

2 Answers2

199

This seems to be a bug in the dialog. This seems to consistently happen when you try to check in code that hasn't been saved, confusing the feature to a sufficient degree to throw up its hands in the air with this error.

The solution is simple: save your files before committing them.

Martijn
  • 3,342
0

Another possible Scenario: this happens after reverting to older file versions from TFS and then changing a file and trying to checkin.

Solution : update to latest version before checkin

Sam
  • 1