|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
IIS File upload
Hello there,
I am trying to uoload a file using asp programatically. But if the file is greater than 97 kb then its displaying an error message. Where as if I try to execute the program in 2000 server then its working fine. Please help if there is any special configuration for 2003 as I am using 2003 server. With regards Anirban |
|
#2
|
|||
|
|||
|
I think I read somewhere there is a size limit on uploads and that there is a setting somewhere you can change. I don't have 2003 to check though.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
I am having this problem as well. Has anyone learned of a fix for this in the 2 years since this thread was created?
|
|
#4
|
|||
|
|||
|
Hi,
I think this might help to resolve this issue, modify the value in the AspMaxRequestEntityAllowed property in the IIS metabase, set the maximum number of bytes that are permitted in the entity body of an ASP request. To do this, follow these steps: 1. At a command prompt, type the following command, and then press ENTER: cd drive:\inetpub\adminscripts Note In this command to change folders, drive is a placeholder for the hard disk where IIS is installed. 2. At a command prompt, type the following command, and then press ENTER: cscript adsutil.vbs set w3svc/ASPMaxRequestEntityAllowed size Note In this command, size is a placeholder for the largest file size upload that you want to allow. The maximum value is 1,073,741,824 bytes. Set this value to the lowest possible value that allows for the functionality that you want. 3. At a command prompt, type the following command, and then press ENTER: iisreset Check out these:- http://support.microsoft.com/kb/327659/en-us http://support.microsoft.com/kb/295626/en-us Jeethu Joseph IIS/Asp.Net Engineer Microsoft |
|
#5
|
|||
|
|||
|
That worked! Thanks!
|
|
#6
|
|||
|
|||
|
Quote:
Ha Ha !!!!!!! so for the past 2 years what were you doing?? Jeethu Joseph |
|
#7
|
||||
|
||||
|
Quote:
|
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > IIS File upload |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|