Hallo,SharePoint:「System.Runtime.InteropServices.COMException(0x81071003)」是什麼意思?
我有一些將文檔導入SharePoint(WSS 3.0 SP1)文檔庫的代碼。
這段代碼大部分時間沒有任何問題,但有時文檔不會被導入到文檔庫中,而是我得到這個令人討厭的異常。
Microsoft.SharePoint.SPException: Unable to update the information in the Microsoft Office document myFileName. ---> System.Runtime.InteropServices.COMException (0x81071003): Unable to update the information in the Microsoft Office document myFileName.
bei 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)
bei 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)
這個例外是什麼意思?爲什麼只有時纔會發生?
謝謝!
P.S:我問這個問題本來就ServerFault,here is the link
重複。它應該_migrated_到Stackoverflow,以便答案也移到這裏! – guerda 2009-08-03 08:10:54