I have a process that creates folders in a SharePoint document library using the SPFolderCollection.Add method.

Sporadically, the Add method fails with a:

Exception ('COMException') message:

Cannot create folder "sites/GTS01/GTSArchive/4F2311C51CD501CEE10080000A144153".

Stack Trace:

at Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrDeleteUrl(String bstrUrl, String bstrDirName, Boolean bAdd, UInt32 dwDeleteOp, Int32 iUserId, Guid& pgDeleteTransactionId)

at Microsoft.SharePoint.Library.SPRequest.AddOrDeleteUrl(String bstrUrl, String bstrDirName, Boolean bAdd, UInt32 dwDeleteOp, Int32 iUserId, Guid& pgDeleteTransactionId)

Exception ('SPException') message:

Cannot create folder "sites/GTS01/GTSArchive/4F2311C51CD501CEE10080000A144153".

Stack Trace:

at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)

at Microsoft.SharePoint.Library.SPRequest.AddOrDeleteUrl(String bstrUrl, String bstrDirName, Boolean bAdd, UInt32 dwDeleteOp, Int32 iUserId, Guid& pgDeleteTransactionId)

at Microsoft.SharePoint.SPFolderCollection.AddInternal(String strUrl, Int32 userId)

At this point, I cannot claim that the folder doesn't already exist in the document library - it shouldn't exist, but I can't be confident of that at this point.

I've requested the ULS log at the time of the error.

I am also requesting information on any scheduled backup routines or content crawling, thinking it may block additions to the library.

Any other steps I could take?

link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.