If object does not get checked out then you have one more option to make it possible. That is from visual studio. so, here are the steps as follows…
Generally, You get following error when you attempt to check out.
This error occurred because either you had synchronized your workspace with the files that were not in consistent state or you had checked-in your files which had some errors in .xpo code, like a node was missing etc.
To fix this error, open visual studio, go to Team Explorer (Menus-> View-> Team Explorer), and connect to your project with the TFS. After connecting to the project, just locate the file that you want to check out. Right click the file, and click “Check out for Edit“.
Now go back to AOT, right click on that file, and click “Undo Check-out“. Now you can check this file out successfully by clicking on the file and clicking “Check-out“.
As simple as that…
Thanks & Happy Daxing..