Microsoft KB Archive/827928

= Delete Event Runs Even Though the File or Folder in the Document Library Is Not Deleted =

Article ID: 827928

Article Last Modified on 9/26/2007

-

APPLIES TO


 * Microsoft Windows SharePoint Services

-





SYMPTOMS
When you delete files or folders in the document library of your Microsoft Windows SharePoint Services Web site, you may find that a delete event runs even though the delete operation does not succeed. For example, a delete event runs when you try to delete a file that a different user has already checked out.



CAUSE
This problem occurs because the document library is configured to use event handlers. In that case, a delete event runs even though the file or folder in the document library is not deleted.



STATUS
Microsoft has confirmed that this is a problem in Windows SharePoint Services.



MORE INFORMATION
When you enable document library events for a document library, you can bind an event handler to that document library. When you do so, you can create custom programs that use document library events to perform automated actions. Before you can use document library events to write code, you must first enable event handlers at the virtual server level. For more information about how to create custom programs for use with document library events, see the Microsoft Windows SharePoint Services Software Development Kit (SDK). To do so, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?familyid=1c64af62-c2e9-4ca3-a2a0-7d4319980011&displaylang=en

For more information about Windows SharePoint Services, visit the following Microsoft Web site:

http://technet.microsoft.com/windowsserver/sharepoint/bb684453.aspx

Keywords: kbpending kbbug KB827928

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.