B
bostonnole
I am getting this WinIOError "Insufficient system resources exist to
complete the requested service" when I try to execute the following
code in an ASP.NET 1.1 application uploading a very large file (140
MB). Server is Windows 2003 Standard (SP1) with 1 GB memory running
IIS 6. There is plenty of free hard drive space.
STACKTRACE: at System.IO.__Error.WinIOError(Int32 errorCode, String
str) at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset,
Int32 count) at System.IO.FileStream.Write(Byte[] array, Int32 offset,
Int32 count) at System.Web.HttpPostedFile.SaveAs(String filename) at
WebSFTP.Viewer.PleaseWaitButton1_Click(Object sender, EventArgs e)
CODE:
Dim
fil As HttpPostedFile = attachment.PostedFile
fil.SaveAs(strSaveLocation & System.IO.Path.GetFileName(fil.FileName))
The exception is thrown on the SaveAs line above. Any one have any
idea what the problem is?
complete the requested service" when I try to execute the following
code in an ASP.NET 1.1 application uploading a very large file (140
MB). Server is Windows 2003 Standard (SP1) with 1 GB memory running
IIS 6. There is plenty of free hard drive space.
STACKTRACE: at System.IO.__Error.WinIOError(Int32 errorCode, String
str) at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset,
Int32 count) at System.IO.FileStream.Write(Byte[] array, Int32 offset,
Int32 count) at System.Web.HttpPostedFile.SaveAs(String filename) at
WebSFTP.Viewer.PleaseWaitButton1_Click(Object sender, EventArgs e)
CODE:
Dim
fil As HttpPostedFile = attachment.PostedFile
fil.SaveAs(strSaveLocation & System.IO.Path.GetFileName(fil.FileName))
The exception is thrown on the SaveAs line above. Any one have any
idea what the problem is?