IIS 7 and Above
maxAllowedContentLength IIS 8.5
Last post Feb 24, 2014 06:49 AM by oakdemirci
Feb 24, 2014 04:41 AM|oakdemirci|LINK
I could not find references about IIS 8.5.
I have a WCF service using "basic authentication", I can upload upto 400 mb files with ssl. I have a Certificate Authority and generate certs for clients. Whenever I add clientCredentialType="Certificate" attribute I got "The remote server
returned an error: (413) Request Entity Too Large." error.
I googled and add <serverRuntime uploadReadAheadSize="2147483647" />to web.config file. This time I get 500.19 error.
Setting maxAllowedContentLength seems the solution for this, but I can not find a reference. Is IIS 7 reference still applicable for this attr?
Update: <serverRuntime uploadReadAheadSize="2147483647" /> is not permitted I think. How can I set uploadReadAheadSize in 8.5.
Feb 24, 2014 05:24 AM|Rovastar|LINK
Most IIS7 and 8 parameters are the same.
As a wild guess to see if this works for your application, have you tried it?!
Feb 24, 2014 06:49 AM|oakdemirci|LINK
Using web.config didnot work, but the instructions above worked.