Overview
Sometimes a situation may occur where user cannot check in an object, let's say it is a document, he or she has previously checked out. Often this situation is originated from the fact that the document was checked out while using another device. This can happen if there are multiple RDS or Citrix computers as the M-Files Desktop client computers and shared client cache has not been enabled for all of them.
Symptoms
A small red sign appears on the document icon which usually indicates that the document has been checked out to someone else when you are actually using the same user account that you used on the other device. You cannot check in the document from this device which shows the small red sign.
'Checked out to' property of this document should show the username followed by the device name in brackets. If user has multiple computers, this device name helps the user to see which device, usually computer name, contains the recent changes.
Cause and Reason
When a document is checked out, the M-Files Server registers both the username and the computer name. Each client device usually has its own client cache (exception: shared client cache) and this prevents doing check in from another device which does not have the recent changes in its client cache. However, you should be able to use the Undo Checkout command, but you would lose the recent changes.
This issue is similar when user is editing the same document in M-Files Web and tries to continue editing or do a check in with M-Files Desktop client or vice versa. This happens because the two clients use a different client cache.
Solution
Most of the time you should be able to return to the device that was in use when check out was performed. You should do the check-in from this device and after which you could continue using another device.
If you have multiple RDS or Citrix computers as the M-Files Desktop client computers, you should utilize the shared client cache. The following link leads to a document which should have all necessary information about how to enable the shared client cache:
https://kb.cloudvault.m-files.com/Default.aspx?#3ECA226F-7B54-428B-B539-DE443E6134EC/object/E45D2BEC-4D3E-4031-BE44-5CB04B5D22D9/latest
When all possible client computers have enabled the shared client cache in these RDS or Citrix environments, this problem of document being checked out to another computer should not arise. Of course, all documents that have been checked out earlier should be checked in in one way or another (Undo Checkout is one of the possibilities but you might lose some changes with that option).
