473,398 Members | 2,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Insufficient system resources exist to complete the requested service

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?

Apr 13 '06 #1
2 12593
Update -
I have tried increasing the IIS metabase setting
AspMaxRequestEntityAllowed from "204800" to "3145728" and this did not
help at all.

Apr 20 '06 #2
Hi,
I'm having an almost identical problem as you except my file size is 130
MB. I've increased the metabase setting and also tested on IIS 5 and 6,
I get the same error. If you come across a resolution please could you
update this message - I will do the same.

Joe

*** Sent via Developersdex http://www.developersdex.com ***
Apr 26 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Scott | last post by:
Not sure if this is the right place to post this or not, but I am in the process of trying to find a Web Hosting/Isp Billing system that is reasonable in price and uses Access or SQL Server for a...
3
by: Bert | last post by:
I am sertainly no SQL expert so I am looking for a bit of help (actually quite desperate). The extra CPU and 1GB of RAM to be added to a server (Compaq DL380 G2: 1.4 GHz PIII with a Gig of RAM)...
0
by: Markus Poehler | last post by:
Hi my program should run on terminal server. I open Acrobat process and I have to kill them at some points in my application. This fails cause of insufficient rights on terminal server. the...
2
by: Chris Fink | last post by:
I am using the System.IO.File class to determine if a file exists on a network share. The File.Exists method keeps returning false, even though the file does exist. The MSDN documentation...
1
by: T8 | last post by:
I have a asp.net (framework 1.1) site interfacing against SQL 2000. It runs like a charm 99% of the time but once in a while I get the following "unspecified error". Sometimes it would resolve by...
7
by: Peter Afonin | last post by:
Hello, I'm using this code to access a network share from an asp.net page: Dim dir As DirectoryInfo = New DirectoryInfo("\\10.0.0.150\FormLib\") Dim files() As FileInfo = dir.GetFiles("*.eps")...
0
by: LBT | last post by:
Good day experts and seniors, I have a window service written to process raw data file and save the file content into database. At the last stage of the processing, the file will be moved to...
0
by: Kirk | last post by:
I'm trying to use a Web Service to be a Remoting client of an existing ..NET 2.0 server. But I get the following error when I try to use System.Runtime.Remoting.Channels.Http in my WebService. ...
0
by: Lou | last post by:
I have an application that uses "System.IO.Pipes" After my app runs for about an hour of sending and receiving data asynchronously from a named pipe the app hangs and cpu goes to 98% and the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.