I saw this error mentioned earlier but the fix was sent via e-mail and not posted. I'm attempting to perform a preproduction upgrade of TFS 2013 to 2017 and am receiving this error.
[2017-04-17 13:20:58Z][Error] 1 error(s) occurred while executing upd_MigrateTestResultsOnPrem.sql script.
Failed batch starts on line: 1.
Error: 1946, Level: 16, State: 3, Batch Line: 214, Script Line: 214
Message: Operation failed. The index entry of length 904 bytes for the index 'ix_TestCaseReference' exceeds the maximum length of 900 bytes.
You could submit a new problem here, visual studio team will give you a response.
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com.