I'm trying to use the following command to set uploadReadAheadSize in IIS 8.5 on Windows Server 2012 R2:
appcmd.exe set config -section:system.webServer/serverRuntime/uploadReadAheadSize:"491521" /commit:apphost
But I keep getting this error:
ERROR ( message:Can not set attribute "uploadReadAheadSize" to value "491521 "..
Reason: Not a valid unsigned integer . )
From this page the maximum should be 4GB so my integer is valid. (Admittedly this goes back to IIS 6.0 so not sure how relevant it is now.)
This page on the other hand suggests that the property may have been replaced/deprecated or something, but it's not clear from the error message or anything I can find on the Googles.
I'm no expert in IIS so there may be a simple/obvious answer to this, but I'd be grateful if anyone can share some more concrete info...
UPDATE: also posted in IIS forums
The UploadReadAheadSize property establishes the number of bytes a Web server will read into a buffer and pass to an ISAPI extension. This occurs once per client request. The ISAPI extension receives any additional data directly from the client.
Under the Management section, double-click Configuration Editor. In the Section dropdown, select system. webServer > serverRuntime. Increase the uploadReadAheadSize value and click Apply in the Actions section.
Open IIS Manager and on the server node, under Management, select the Configuration Editor. Then navigate to system. webServer and select serverRuntime. Then change the appConcurrentRequestLimit field to a higher value.
Runtime servers are the workhorses of your Interact implementation. The runtime servers listen and respond to requests from the touchpoint through the Interact API. When your touchpoint requests an offer, it is the runtime server that responds with the offer. Interact works with server groups.
Four years later... The clue was in the error message: "491521 " is not a valid unsigned integer. Note the space at the end of the integer before the quote marks.
Turns out the command I was running had a double space between the value and the /commit. Change to a single space and the command works fine.
Interestingly it's the same command I've been using for years and I've just confirmed it still works fine with the double space in Server 2008 R2!
How to set the maxAllowedContentLength to 500MB while running on IIS7?
Try this. Looks like you need to set it below 4294967295(in bytes)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With