Getting error while uploading a document in a library

Hi,

I'm getting a weird error while uploading the document in the library. And I don't get it all the times but most of the times.

It reads:

The file <library name>/<file name> has been modified by i:0#.<user-id> on <datetime stamp>

How to resolve this ? I have referred many articles on this one, but none helped.

Thanks for your response in advance.

Regards

February 6th, 2015 8:43pm

Hi Prajk,

Based on your description, I recommend to check if there are any ItemAdded event receiver or workflows which are triggered when an item is created to update the document properties in the library.

If there is any ItemAdded event receiver on the library, I recommend to wait for ItemAdded to finish before the ListFieldIterator control residing on EditForm.aspx loads (Its the ListFieldIterator which displays the Items fields ).

http://blogs.msdn.com/b/manuj/archive/2009/09/22/itemadded-event-on-document-library-the-file-has-been-modified-by-on-error.aspx

If there is any workflow on the library, I recommend to add a Pause for Duration step at the beginning of the workflows.

If above cannot work, please check ULS log for detailed error message.

For SharePoint 2013, by default, ULS log is at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS.

Best regards.

Free Windows Admin Tool Kit Click here and download it now
February 9th, 2015 2:01am

Hello Prajk,

If you're trying to upload a document with the same name and title as the checked out one then you'll get that error.

So first publish all the documents in that library and the edit/upload your document

February 9th, 2015 3:24am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics