Forum Discussion

Stefan291123's avatar
Stefan291123
Copper Contributor
Aug 30, 2023

Error VS403316 while using migration tool when migrating from ADO Server2022.0.1 to ADO Service

Dear Community

 

i want to migrate a collection from Azure DevOps Server 2022.0.1 to Azure DevOps Services.

When i use the official migration tool i have error VS403316 in the "validate" process.

Official Microsoft description for this error is:

--------------------------------------------------------------------------------------------------------

VS403316

Inconsistencies were detected in some Team Foundation version control (TFVC) files within your collection.

VS403316: An inconsistency was detected in some TFVC files for this collection. The inconsistency needs to be corrected prior to running an import to Azure DevOps Services. Please reach out to https://aka.ms/AzureDevOpsImportSupport for assistance with addressing this issue.

Work with Azure DevOps Services https://aka.ms/AzureDevOpsImportSupport. Open a support ticket and they'll work with you to resolve the error.

---------------------------------------------------------------------------------------------------------------

I opened a ticket with Microsoft Azure Support but i would like to know if anybody knows what kind of error this is because there is not much to find online.
I was able to fix 8 errors with missing privileges already with the tool TfsSecurity.exe but about error VS403316 there is nothing to find.

Does someone know what this error means and maybe fixed it already ?

1 Reply

  • Yes, this error indicates inconsistencies in Team Foundation Version Control (TFVC) files within your collection:

    • Missing file chunks in the TFVC database (tbl_content table stores files in 1MB chunks).
    • Corrupted TFVC metadata due to prior database issues or incomplete repairs.
    • SQL-level corruption—especially if DBCC CHECKDB was run with REPAIR_ALLOW_DATA_LOSS, which can remove chunks and trigger this error.

     

    You may consider:

     

    1. Restore from a clean backup:
      • If you suspect corruption, restoring from a backup taken before any repair operations may help.
    2. Identify and remove corrupted files:
      • This is risky but technically, if restoring isn’t viable, you may need to locate the affected TFVC files and delete them manually 

Resources