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

SharePoint 2010 / SQL Server 2008 R2

Sometimes (but not always) when a user uploads or directly saves a new file into a document library in my environment that document saves to the desired location but also shows up in the user's recycle bin as a <1KB item.

Why is this?

share|improve this question
    
When you say "directly saves" what method are you referring to? Is it possible this is an existent item that is being overwritten and the old file is going to the bin? –  RJ Cuthbertson Jan 10 '13 at 21:04
    
By "directly saves" I mean they have a brand new document, click Save As, and save that document into the SharePoint server via a mapped drive pointed at a document library. The file has never been saved to any local or remote location before this point. –  newuser Jan 10 '13 at 21:12
    
I suspect if this will help as this only happens "sometimes" but can you check if you doc lib has any event receivers attached to it using speventreceiverman.codeplex.com and also does it happens for a specific doc lib and whether it happens for specific types of documents ? :) –  Muhammad Raja Jan 17 '13 at 0:07
    
@TimeToShine - Can you give me a few details on how to do that? –  newuser Jan 17 '13 at 14:19
    
@JonnyP It was difficult to explain it in comments so I put it as an answer, if you couldn't find ny event receiver attached then we will try to find another solution. –  Muhammad Raja Jan 17 '13 at 20:12
add comment

1 Answer 1

It might help you with your question,

Select Site/Web where your document library is located using these two drop down menu lists which are auto populated when you open speventreceivermanager's exe file as shown in picture below,

enter image description here

Now select your document library from list of libraries on left side,

enter image description here

When you will click on your doc lib, you will see all of the available event receivers for that particular library and if any of event receiver has child nodes then it means library has a event receiver attached to it and then you can either remove that event receiver or look into it (you can note down name of it and then you know which receiver it is) to find out whats happening in the code (you will have to check event receiver's solution which will be somewhere saved by developer of ER)

enter image description here

You might be looking at item added or item adding event receivers specially.

share|improve this answer
    
Finally checked and there are no event receivers on the document library in question. –  newuser Jan 22 '13 at 22:20
add comment

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.