SCENARIO
In SharePoint Designer, When I tried to “Check In” a file inside, I got the below error:
WE CAN’T DO THAT FOR YOU BECAUSE THE FILE IS NO LONGER CHECKED OUT OR HAS BEEN DELETED
I already have tried to
- Close Share Point Designer and restart it again,
- Close SPD then clear cache from the following folder:
%USERPROFILE%\AppData\Local\Microsoft\WebsiteCache
%USERPROFILE%\AppData\Roaming\Microsoft\Web Server Extensions\Cache
Unfortunately, the “We can’t do that for you because the file is no longer checked out or has been deleted” still persists.
CAUSE
This problem might occur in case, the file title contains disallowed characters like “/” as shown below:
SOLUTION
- Right-click on the affected file > Select “Edit file in advanced mode“.
- Right-click again on the affected file > Select “properties“.
- The properties page should be shown.
- Remove URL > Change the title to an appropriate name by avoiding using the disallowed characters.
The file should be now checked in properly.
Reference of this POST