[Solved] I'm locked out of documents

Issues with installing under all versions of MS Windows
Post Reply
ajijicjal
Posts: 5
Joined: Wed Jul 04, 2018 8:45 pm

[Solved] I'm locked out of documents

Post by ajijicjal »

[SOLVED] When I try to open one of my documents I get a message saying the document is locked for editing by (me). How do I unlock it?
Last edited by robleyd on Sat Jul 07, 2018 2:55 am, edited 2 times in total.
Reason: Tagged [Solved] [robleyd, Moderator]
OpenOffice 4.1.5 on Windows 10
FJCC
Moderator
Posts: 9277
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: I'm locked out of documents

Post by FJCC »

Close all of your OpenOffice files. Set Windows to show hidden files and folders. You can do this by typing Hidden Files in the search box and following the link to Shows Hidden Files and Folders. Go to the folder where your locked file is and look for files whose name starts with .~lock. After you delete those files, the lock should be removed from your files. These .~lock files are written as a normal part of opening a file but they should be deleted when the file is closed. If the problem returns, we'll have to investigate why that is happening.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
ajijicjal
Posts: 5
Joined: Wed Jul 04, 2018 8:45 pm

Re: I'm locked out of documents

Post by ajijicjal »

O.K. That got me into the document but when I typed something and then tried to save it I got the dreaded input/output error.
OpenOffice 4.1.5 on Windows 10
FJCC
Moderator
Posts: 9277
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: I'm locked out of documents

Post by FJCC »

Have you tried saving with another name or copying all of the document content to another file?
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
ajijicjal
Posts: 5
Joined: Wed Jul 04, 2018 8:45 pm

Re: I'm locked out of documents

Post by ajijicjal »

Yes, I've tried both of those and I get an error message saying "File not found".
OpenOffice 4.1.5 on Windows 10
FJCC
Moderator
Posts: 9277
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: I'm locked out of documents

Post by FJCC »

Sounds like OpenOffice is badly confused. I don't know of any way to fix this that does not involve closing the program, which will possibly cause the loss of your document. Can you copy all of the text to another application, like Notepad? That will not save your formatting but at least your text will be available. Then shutdown OpenOffice and restart it. If that does not fix the problem, try resetting the user profile. To do that, shutdown OpenOffice, open any folder and enter
%appdata%\openoffice\4
in the address bar near the top. That will take you to a folder containing a folder called user. Rename that to user_old and restart OpenOffice.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
ajijicjal
Posts: 5
Joined: Wed Jul 04, 2018 8:45 pm

Re: I'm locked out of documents

Post by ajijicjal »

I copied the text from one of my documents to WordPad and was able to save it as a document with a different name and I have been able to edit and save in that program. So I guess I'll just copy all of my relevant documents over to that program. Thanks for all your help. Once I get all that done I'm going to try your last fix suggestion and see if it works.
OpenOffice 4.1.5 on Windows 10
User avatar
robleyd
Moderator
Posts: 5086
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: I'm locked out of documents

Post by robleyd »

If you have Windows Defender activated, see this topic for a possible solution.
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
ajijicjal
Posts: 5
Joined: Wed Jul 04, 2018 8:45 pm

Re: I'm locked out of documents

Post by ajijicjal »

[SOLVED] The Windows Defender was what was causing the problem. Thanks for the help guys!
OpenOffice 4.1.5 on Windows 10
Post Reply