We have an application, which consists of a set of controls written in C#, used to manage documents in SharePoint Portal Server 2003. Our users are reporting that they encounter problems uploading documents using our interface. This is the error they get while trying to upload documents. Note: The document is uploaded into SharePoint using the SharePoint API.
System.OutOfMemoryException: Exception of type System.OutOfMemoryException was thrown.
In addition, they are sporadically get the following error:
InnerException: System.Threading.ThreadAbortException: Thread was being aborted.
at Microsoft.SharePoint.SPWeb.a(String A_0, Object[,]& A_1, Object[,]& A_2, UInt32& A_3, UInt32& A_4)
at Microsoft.SharePoint.SPFolder.b()
at Microsoft.SharePoint.SPFolder.get_Files()
at SCDOT.Web.SharePoint.Utilities.UploadFile(String webSpace, String libraryPath, String fileName, Byte[ fileData)
at SCDOT.Web.SharePoint.Utilities.UploadFile(String webSpace, String libraryPath, String fileName, String filePath)
at SCDOT.EDMS.SharePoint.Controls.Interface.Base.Upload.Submit_Upload_Click(Object sender, EventArgs e)
Does anyone have any ideas or suggestions as to what could be causing the problem here?
Thanks in advance.