Error trying to upload word .doc document to Sharepoint 3.0 Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))
We have recently moved our shrepoint WSS 3.0 site to a new server running WSS3.0 on Server 2008 R2. Since the migration everything is as it was and working ok execpt we are now unable to upload word .doc files to the site. When we try to attach a .doc file we get : Error - Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION)) Other file types ie .pdf .ptxt etc can be uploaded ok but .doc fails. I have checked blocked file types in Central administration but .doc isn't listed. Any ideas. Thanks in advance James
October 25th, 2010 4:27pm

Here is the full error we receive: Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION)) Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [COMException (0x80020009): Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))] Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish) +0 Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish) +411 [SPException: Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))] Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish) +534 Microsoft.SharePoint.SPListItem.AddOrUpdateItem(Boolean bAdd, Boolean bSystem, Boolean bPreserveItemVersion, Boolean bNoVersion, Boolean bMigration, Boolean bPublish, Boolean bCheckOut, Boolean bCheckin, Guid newGuidOnAdd, Int32& ulID, Object& objAttachmentNames, Object& objAttachmentContents, Boolean suppressAfterEvents) +3021 Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents) +682 Microsoft.SharePoint.SPListItem.Update() +186 Microsoft.SharePoint.WebControls.SaveButton.SaveItem(SPContext itemContext, Boolean uploadMode, String checkInComment) +1826 Microsoft.SharePoint.WebControls.SaveButton.SaveItem() +104 Microsoft.SharePoint.WebControls.SaveButton.OnBubbleEvent(Object source, EventArgs e) +476 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +70 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981 Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4955 Server Error in '/' Application. Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))
Free Windows Admin Tool Kit Click here and download it now
October 25th, 2010 5:02pm

We have near the identical situation with WSS3.0 MOSS2007 on Win2003 Where-as a SharePoint site administrator wants to change the filename of a file that was submitted incorrectly. In most cases, she can do that fine. Occasionally, she gets the following error suggesting that the file is still checked-out or locked by the owner. SharePoint is suppose to allow the admin to override check-outs or to discard check-outs, but it is not doing it in this case. The Stack Trace we get is near identical to what you've posted save for the ComException. This has been an extablished system without this error for quite some time, but has only recently been displayed. Our work-around has been for the person to call the user that has the file open and have them close it. This is a band-aid at this moment. I'm hoping to see this as a new issue and that there will be or is some MS focus on the issue. -Steve
October 25th, 2010 8:03pm

We have the same problem on a Sharepoint site in our production environment. The only "fix" we have managed to find is to either make the user only save files as docx when saving them to sharepoint, or to diasable property promotion/demotion on the spweb object on that site. http://msdn.microsoft.com/en-us/library/aa979617%28office.12%29.aspx
Free Windows Admin Tool Kit Click here and download it now
November 22nd, 2010 5:09am

Thank you i tried disable property promotion/demotion and the problem resolved as follows: run this code in the sharepoint server. note:you shoud add the site url that has the document library problem. using (SPSite spSite = new SPSite(tbSiteURL.Text)) { spSite.RootWeb.ParserEnabled = false; spSite.RootWeb.Update(); using (SPWeb spWeb = spSite.OpenWeb()) { spWeb.ParserEnabled = false; spWeb.Update(); MessageBox.Show(spWeb.ParserEnabled.ToString()); } } Mostafa Abdellah
December 6th, 2010 11:59pm

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

Other recent topics Other recent topics