Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Closed Thread
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rating: Thread Rating: 15 votes, 4.73 average. Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old August 28th, 2006, 03:38 AM
bithika bithika is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2005
Posts: 2 bithika User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 52 m 14 sec
Reputation Power: 0
Smile AspMaxRequestEntityAllowed - increasing the value in IIS 6.0

Hello Friends

My site is under a shared hosting plan on Windows 2003 Server.

Problem:
a) File upload greater than 200KB not possible due the settings of AspMaxRequestEntityAllowed value.

My Questions:
1) My hosting provider is apprehensive of changing the settings. Does the change in the AspMaxRequestEntityAllowed value on the higher side (10 MB) really be a threat to security? Advice.

2) Why does the same problem does not arise when I am using the Asp upload component?

Can you please help me out and provide a solution to this ASAP?

Thanks,
Bithika

Reply With Quote
  #2  
Old August 30th, 2006, 09:12 PM
markoc's Avatar
markoc markoc is offline
Contributing User
ASP Free Regular (2000 - 2499 posts)
 
Join Date: Nov 2003
Location: UK
Posts: 2,166 markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 3 Weeks 21 h 31 m 35 sec
Reputation Power: 238
AspMaxRequestEntityAllowed - increasing the value in IIS 6.0

the MetaBase.xml file on win 2003 is the file that contain's the PURE ASP UPLOAD limit in the AspMaxRequestEntityAllowed entry which is set to 2048 bytes by default. Also if there are large file u need to also change the value for AspBufferingLimit, which is set at 4MB.

nearly all ISP hosts won't change these values.

your ISP will probably have a preferred upload component u can use as these have greater security settings avaiable that can be set to stem hacking.

with an ASPupload components they don't use the MetaBase.xml file as a reference point, the upload file is controlled/uploaded by the installed components rules.

but for ur reference here is how u change the limit:

Make sure the IIS web server is not restricting the size of ASP uploads. IIS 6
(Windows Server 2003) has a limit of 200 KB for ASP requests in general and file
uploads in particular. To remove this limitation in IIS 6 you need to edit the Metabase
file, which can be found at c:\Windows\System32\Inetsrv\MetaBase.xml.

Follow these steps: go to IIS and right click the server, select properties, and check
the box "Allow changes to MetaBase configuration while IIS is running"; if after this
step the metabase file is still locked, try turning off IIS or even restarting the machine
in safe mode; open the file in an editor; the variable AspMaxRequestEntityAllowed
limits the number of bytes in the page request (by default 200KB); change the value
to 1073741824 (unlimited) or to a limit of your choice; check whether the same
variable shows up in other places in the file.
Comments on this post
kanenas.net agrees!
Dr_Rock agrees: Just the info I needed
__________________
Hope this advise helps.

If so please show your appreciation by adding reputation points (click gauge image on top right of this post and score).

Reply With Quote
Closed Thread

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > AspMaxRequestEntityAllowed - increasing the value in IIS 6.0


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT