TF400889 Long path error received from TFS

Can someone please help me with this? I tried to use the long path tool but they want me to pay to delete the folder. However, I cannot find the file the system is complaining about. I went to the folder

Error

C: \ Users \ Casey \ Desktop \ Workspace \ LegalHoldings \ Sprint \ Sprint5 \ Expunctions \ LegalHoldings.Expunctions.Service.External \ ServiceReferences \ FillingReviewMDEService \ LegalHoldings.Expunctions.Service.External.FilingReviewMDEService.GetFees.datculationsResourceR

This file:

FilingReviewMDEService.GetFeesCalculationsResponse.datasource

Doesn't exist in the folder?!?!?!

I don't know what to do, I've read a lot on the internet, but most people suggest using the long path tool, but I remember that this problem was in the past, but I can't remember how I solved it. I figured it had something to do with inviting the dev team and resetting some paths.

All help would be greatly appreciated

+3


source to share


3 answers


Not sure if you are even using the data-binding functions for which the file was created .datasource

, but disabling that in the service help setting manually by editing the file .svcmap

will fix your problem.

enter image description here

After editing, make sure you use the function Update Referenceto get rid of the unwanted file:

enter image description here



The second step should be to not map $/

to your user profile in your workspace mapping, but $LegalHoldings/Sprints/Sprint5/Expunctions

for something like C:\Workspace\Sprint5

, in particular, that would drastically reduce the path depth needed for your project.

If TFS still has pending changes for this file, you can use the utility tf

from your workspace folder

C:\Users\Casey\Desktop\Workspace\LegalHoldings> tf undo $LegalHoldings/Sprints/Sprint5/Expunctions/LegalHoldings.Expunctions.Service.External/ServiceReferences/FillingReviewMDEService/LegalHoldings.Expunctions.Service.External.FilingReviewMDEService.GetFeesCalculationsResponse.datasource

      

to get rid of the pending change.

+2


source


Usually these problems can be solved by shortening the paths above the tree.

It looks like your local path is the problem, so try mapping your code to shorter root folders (e.g. C: \ code, not c: \ users \ Casey \ desktop \ workspace ...)



Alternatively, you can rename some of the middle-level folders in the tfs structure to shorten the paths. But this is more extreme and probably unnecessary in this case.

+4


source


In VS / TFS 2012, I found this useful:

[Open TFS Explorer] → [Right Click Root Folder] → Advanced → "Remove Mapping ..."

enter image description here

Then you can change the path:

enter image description here

NTN

+4


source







All Articles