Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component

Index of Chilkat Blog Posts

October 8, 2007

IIS 6.0 HTTP Post Size Limitation

Question: Is there a size limitation for the AspXml.LoadRequest method? I am trying to read an HTTP POST XML payload and write it to a file with the following code:

set xml_obj = Server.CreateObject("AspXml.AspXml")

It works on small files, but on larger files all that gets written to the output file (filename) is:

  <?xml version="1.0" encoding="utf-8" ?>
  <unnamed />

If you are using IIS 6.0, this may be the problem:

AspMaxRequestEntityAllowed Metabase Property (IIS 6.0)

The AspMaxRequestEntityAllowed property specifies the maximum number of bytes allowed in the entity body of an ASP request. If a Content-Length header is present and specifies an amount of data greater than the value of AspMaxRequestEntityAllowed, IIS returns a 403 error response. This property is related in function to MaxRequestEntityAllowed, but is specific to ASP request. Whereas you might set the MaxRequestEntityAllowed property to 1 MB at the general World Wide Web Publishing Service (WWW Service) level, you may choose to set AspMaxRequestEntityAllowed to a lower value, if you know that your specific ASP applications handle a smaller amount of data.

Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, Windows 7, and Windows 95/98/NT4.