I am trying to read values from document after that the file was edited in Office Web Apps. Problem is, that this document is locked by Sharepoint (SPFile.LockType - Shared). I tried to Check Out and Check In the file and read it afterward, but this "solution" isn't reliable. Sometimes document doesn't contains new values. I think it is related with this issue http://support.microsoft.com/kb/899709/en

  • More information would be helpful...
    – BlueBird
    Commented Oct 9, 2013 at 13:01
  • I made webpart which provides url to xlviewer (eg. localhost/_layouts/xlviewer.aspx?id=/Documents/…). Before this url is hit the file is checked out. After the file was edited it is automatically checked in. At last I'm trying to open it and read data with OpenXML. That is all.
    – Jiri H.
    Commented Oct 11, 2013 at 10:19

1 Answer 1


This problem also could be due to another person opening the document. Verify that the check out requirement is not enabled on your library. This will prevent multiple users from opening and modifying a document.

  • Without checking in/out it takes more time to get updated document. After the document is checked in, I'm trying to open it programmatically and parse it.
    – Jiri H.
    Commented Oct 11, 2013 at 5:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.