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" ?>
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.