Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Sep 2002
    Posts
    180
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Documents switching to ReadOnly (2002)

    I've got an app which sets up documents containing subdocuments. When the document is all set up, it is not a ReadOnly document, but periodically, when clients attempt to save the document, they get an error saying that one of the subdocuments is ReadOnly and the document can't be saved. Does anybody have any thoughts on what might cause this? Is it possible that, the autorecovery mechanism periodically locks the file for a moment, and turns it temporarily to ReadOnly?

    Dan

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Documents switching to ReadOnly (2002)

    Hi Dan:
    This will happen frequently after a crash, if you don't clear out the temp files. When Word starts, it creates an owner file named ~$filename.doc. It prevents anyone else from modifying that document while it's open (only one person can do so at a time). When Word crashes, the file is often not deleted. When you try to open it the next time, it's opened as Read-Only. While this may not be the problem, it's one cause. See the first step in <post#=197827>post 197827</post#>.
    Hope this helps,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •