Forum Discussion

Ed Hansberry's avatar
Ed Hansberry
Bronze Contributor
Jan 11, 2017

Files [READ ONLY] but no indication they are, so cannot save changes

I have the latest (ends in .1212) client and am still seeing an issue that has been there since the initial release back in Sept/Oct.

 

I can open a file in Excel, either from the MRU list in Excel, using the File|Open menu, or double-clicking on a file in Windows Explorer. (Win10).

 

The file opens and there is no yellow bar that says it is read only with the [EDIT] button to use the file. The title bar in Excel with the file name doesn't say [READ ONLY].

 

You only find out it is read only when you try to save, and Excel tells you you cannot and then offers to save a copy.

 

The fix is to close and reopen the file. Then the yellow EDIT bar comes up. But of course you've lost any changes.

 

This never happened with the old Groove client, so this is something unique to this new much improved client.

 

I've reported this through official channels via the REPORT A PROBLEM menu in OneDrive but nothing ever substantive comes from it. "Run a /reset command", "reinstall", "resync the library", "oh yeah, we know about that, thanks"

 

But we are getting close to release and I'd love to see this fixed.

  • Luke Gatchell's avatar
    Luke Gatchell
    Copper Contributor

    This is exactly what I have seen since using the /takeover and utilizing the new NG OneDrive. Here are the specifics:

     

    I did the onedrive.exe /takeover option and it shut down Groove, and took over syncing the sites that were already on my machine. I noticed it retained the folder name of "Sharepoint" under the hood, even thought it looks like (in File Explorer) that the folder name is our company name (like "Contoso"). It spent the next 30 minutes or so re-syncing things, so even though the process says that nothing will need to be downloaded, apparently quite a bit actually did need to be (not sure why).

     

    It eventually completed, and had errors because it doesn't appear to like to sync empty folders. Is that a problem that will be fixed? If we have a placeholder folder, why does the entire file structure need an overlay of a red "X"?

     

    What i'm seeing now is that whenever I open an Excel doc either by double-clicking on it in Explorer, or by first opening Excel, and then selecting it from my recent list of items, it will open the document, but no longer gives me the option at the top (in the yellow bar) that says "READ-ONLY  We opened this workbook read-only from the server.", and then a button to "Edit Workbook". Prevoiusly, all opened Excel files would do this, and although some people found it annoying, it was actually a great step to prevent accidental changes of the files.

     

    Actually, I should say sometimes it gives me that message, but almost always when it does, clicking on "Edit Workbook" comes back with "We are having problems contacting your server...check with IT" or something like that. And that message just continually comes up with no resolution. You have to close and re-open the file and hope for a different result this time.

     

    And then when you open the file and it does not show the yellow bar with the READ ONLY, I go ahead and make changes to the file, and attempt to save it, and then it tells me that it's read-only and cannot be saved! And there is now no way to "Edit Workbook", so the only choice is to lose all changes, or save it under another name, copy over the original file, etc. A real pain.

     

    Does the "Use Office 2016 to sync Office files that I open" setting have anything to do with this? I just attempted to uncheck that, and after restarting OneDrive, I am now randomly seeing the "READ ONLY...Edit Workbook" message when I open certain files, and when I click "Edit Workbook" it does seem to be working. But, it is still often opening the file without that message...and then I'm stuck having to save the file before I do anything to "test" if it's read-only (not ideal, because it updates the file date/time even when I haven't done anything).

     

    Are there known bugs like this still in the works? So far, I'm not planning to move our team from Groove if this unreliableness continues...

     

    Is there any chance a fix is in the works for this? I don't know if the fix is with the client, or something on the server side...

     

     

    • Ed Hansberry's avatar
      Ed Hansberry
      Bronze Contributor

      Months later I continue to see the same thing Luke. I have to close the file and reopen, and sometimes close Excel and reopen, which is a real pain if I have multiple files open and am in the middle of a project.

       

      And if you make changes you need to save and this happens, you have to save the file as a different name in a different location, then name it the same as the old file, close Excel, then copy the newer version on top of the older version.

       

      If you save as a different name, the delete the old and rename the new, you lose all saved history for that file in the Sharepoint/OneDrive/Group file system.

       

      This needs to be fixed. This is still on .1212.

       

      We are seeing this for those that ran /takeover and for those that installed the new Sharepoint Onedrive client fresh.

      • Luke Gatchell's avatar
        Luke Gatchell
        Copper Contributor

        Last night I re-checked the box under settings "Use Office 2016 to sync Office files that I open". Initially, several Excel docs I opened all gave me the READ ONLY prompt, when I clicked "Edit Workbook", it actually worked! Then I went to the other site I have synced (I have 3) and opened an Excel doc, and this time, no READ ONLY prompt. And yes, when I attempted to save, it told me it couldn't contact the server so I would have to save it under another name.

         

        Today I was mostly getting the READ ONLY yellow bar, and when clicking "Edit Workbook" I was getting the "Can't contact server" message. I'd close the doc and re-open it, until I got it to open without the READ ONLY message in the yellow bar. Then I could make a test change, and save it, and watch it do the "upload to sharepoint" in the status bar at the bottom...and then be ok. Sometimes it would fail and I'd have to re-open, but once it updated successfully, it would always update from that point on until I closed it.

         

        I also noticed that opening it from the "Recent Files" list (opening Excel first, rather than double-clicking on it in the file explorer) would almost never give me the READ ONLY yellow bar, and it would almost always fail to save ("Can't contact server"). I'd have to close it, and then open it from file explorer...sometimes a few times...in order for it to work.

         

        Would be nice if anyone from MS could weigh in. Is there anywhere to see a list of reported bugs or at least what they are currently working on? Have you guys submitted this through the Report a Problem menu when you right-click on the System Tray menu? I'm about to do that...

  • Thank you Ed for the meticulous documentation of this issue.  We see the same behavior:  not every open of a file, but a lot of them, result in unexpected read-only.  It seems to happen most frequently when opening through the MRU menu.  Using the latest NGSC and Office suite.  Would love to hear from Microsoft on this.

    • Luke Gatchell's avatar
      Luke Gatchell
      Copper Contributor

      This morning I stopped syncing the one site that I used, deleted the "SiteName - Documents" folder (after backing it up), and re-synced the entire site (by browsing to the site in my browser, and clicking on the Sync icon).

       

      It synced the entire thing, and now every single Excel doc I click on shows the READ ONLY yellow bar (which is good!), BUT when I click "Edit Workbook" it says "We're having trouble connecting to the server. If this keeps happening, contact your help desk". If I browse to the file on Office 365 within the browser, and click on it, it opens. Then if I click Edit in Excel, it opens in Excel, but the exact same thing happens...I get the yellow bar, and clicking on "Edit Workbook" gives me the same message.

       

      As Dale pointed out, I used to see this issue more from the MRU menu as well...now it happens from the MRU or from File Explorer, or from sharepoint within the browser.

       

      The only way I've been able to edit my documents is to go to the OneDrive settings and uncheck the "Use Office 2016 to sync Office files that I open" checkbox on the Office tab. That allows me to open the file...and so far, if I make changes and save it, it works. Although I'm concerned about whether I'm stepping on another user when I do so...or if I'm going to get the random "we can't save your changes because the file is ready only" popup (even though it doesn't tell me that when it initially opens).

       

      I thought doing a re-sync would work. Maybe I need to re-sync ALL my sites? What about deleting the OfficeCache folder under AppData? Is that still necessary, or was that more related to Groove? I have not tried that yet.

       

      Also, I'm considering wiping out my Office entries in the Windows Credential Manager. Perhaps something is out of sync there? Clearly the message I'm getting is bizarre because my machine clearly can connect to the server, or none of this would by syncing, etc.

       

      Oh, I also when to File / Info in Excel, and it kept telling me I had local changes that could not be synced with the server, and I told it to discard them and get the latest from the server, and it closed the doc, but then just left me with a blank Excel shell. It never grabbed the latest doc, but also gave me no messages.

       

      I also tried going to File / Account and under "Add a Service" re-entered my Office 365 credentials to connect to "Office 365 Sharepoint", but it didn't seem to make a difference. (It was already showing "Sites - CompanyName" under Connected Services, but I thought I'd try anyway.)

       

      I also agree...I'd love to hear from Microsoft on this.

    • Ed Hansberry's avatar
      Ed Hansberry
      Bronze Contributor

      I would love to hear from MS too, but no clue how to get them engaged. :-(

    • Mikeal Long's avatar
      Mikeal Long
      Copper Contributor

      Dale and Ed- 

      Is it possible that the files that are doing this are created in a version prior to Office 2016 and they have to be converted before they act correctly?

      • Ed Hansberry's avatar
        Ed Hansberry
        Bronze Contributor

        No, because for us the problem stopped about 6-8 months ago, so clearly a OneDrive code fix either removed the issue or severely mitigated it.

  • Does it happen with libraries that require check out, or libraries with required columns or metadata?

    • Ed Hansberry's avatar
      Ed Hansberry
      Bronze Contributor

      These are just standard Sharepoint libraries. We've not modified the defaults for whatever Office 365 (business) requires. We do NOT have anything requiring checkout.

       

      Note: as stated in the OP, the fix is to close and reopen the file, then it works fine, so that seems to indicate a bug and not a setting as a setting would not be overridden by closing/reopening.

       

      Unless the setting was "Require user to open, close, then open the file before actually being able to use." :smileyfrustrated:

  • Jeffery Guy's avatar
    Jeffery Guy
    Copper Contributor
    How do you remove the Read-Only so you can edit the file. Most spreadsheets are a work in progress where you publish and then change the sheet.
    • Ed Hansberry's avatar
      Ed Hansberry
      Bronze Contributor

      You cannot. Once this happens, the only fix is to close and reopen the file. If you've mace changes, you have to save the file with a different name, close it, then delete the old file, rename the new file to the old name, and open it.

       

      Of course, you lose all history of the old file when you do this.

       

      This is still happening today even though MS has released the new client out of beta, and still no repsonse from them. 

  • Any progress or fixes on this issue? Some customers are getting this problem with the new Onedrive

    • Ed Hansberry's avatar
      Ed Hansberry
      Bronze Contributor

      We constantly get this issue here. SUPER frustrating. The good news is the Fast Ring Excel version largely eliminates this. The bad news is, it is test only and has other bugs, so we don't dare roll it out wide.

      • IT aanspreekpunt's avatar
        IT aanspreekpunt
        Copper Contributor

        To fix this:

         

        you must go to the onedrive settings > office tab

        uncheck the collaboration option. The read only/save problems dissapear.

         

         

  • Experienced this today with Excel files when opening them from Ms Teams. I have the latest updates of OD and Excel. I had wanted to start a new conversation about this, when this thread was shown up. Thank you for all the valuable information that has been posted. I'll untick the collaboration setting in the OD client as a temporary solution.

     

    Thanks and keep us posted if there is any update to the status of this bug.

    • Pete Stevens's avatar
      Pete Stevens
      Copper Contributor

      I have just started getting this problem with Excel:

      (Excel 2016 - Office365 - version 1701 Build 7766.2096)

      Windows Insider 16251

      Onedrive 2016 Build 17.3.6955.0712

       

      I have spreadsheet that I can open and hit the save button at say midday and then a couple of hours later save and get the unable to save message. So it's not set to read only as I have saved it earlier in the day!!

       

  • JS's avatar
    JS
    Copper Contributor

    We've seen this issue with multiple customers. It's really disappointing MS has not addressed this with more urgency. We're losing customers left and right to Box and Dropbox due to issues like these.

    • Ed Hansberry's avatar
      Ed Hansberry
      Bronze Contributor

      Just curious - what version of OneDrive and Office are you running? I've not seen this problem here for at least 6-7 months, so it seems fixed for me.

      • JS's avatar
        JS
        Copper Contributor

        Just saw this issue this morning with a customer using:

         

        Win 10 (10.0.16299.192)

        OneDrive Client (17.3.7294.0108)

        Office 2016 (1708 8431.2153)

         

        This customer is going through a file share migration to SharePoint Online and Win 7 update to Win 10. A lot of variables in play, but the behavior is consistent regarding the Excel files opening in read-only. Opens normally if the “Use Office 2016 to sync…” is unchecked.

         

        I saw this in the following recent post, so I assumed it’s still being looked at:

         

        https://support.office.com/en-us/article/why-did-my-file-open-read-only-3ab4b792-da50-4b38-8628-14c64e1f1d15

         

         

Resources