Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

share|improve this question
    
More information would be helpful... –  BlueBird Oct 9 '13 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. Oct 11 '13 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.

share|improve this answer
    
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. Oct 11 '13 at 5:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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