I've just upgraded a site from an old win 2000 server to a new win 2008 64bit server.
This site accepts image uploads from a desktop application via a POST of XML data where the image is base64 encoded into one of the xml elements. The page that receives the POST data is Classic ASP.
Since moving to the new server, only small images can be uploaded successfully.
Max allowed content length is set to 30000000 bytes. So I should be able to POST just under 30MB.
I can't POST xml of an encoded image of anything around 1mb and higher.
The error occurs when loading the XML on the server-side (this happens using a VB dll).
There was never a problem with large file sizes on the old win 2000 server and this code has not changed.
The error I get is:
Error Code : -2147467259
File Position : 262165
Line : 3541
Line Position : 56
Source Text : cvr92x0lnpkUw/0gfuvKqXTYYptY8+3q74Jhls7eSfHnfunql4J026mu
So that looks like the POST is getting cut off somewhere in the middle of the XML.
Any Ideas on what to set apart from the Max allowed content length in IIS - I'm setting that for the site in IIS under Request Filtering.