Some VSS operations can only be performed on a file that is checked out. This error has the following causes and solutions:
Check out the file before checking it in. If you have made changes to a file, see the Advanced options in the Check Out dialog box, and then under Replace Writable, select Skip to check out the file to you without replacing the changes in your working folder.
Check out the file.