Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 1881

maxAllowedContentLength IIS 8.5

$
0
0

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?

<security>
<requestFiltering >
<requestLimits maxAllowedContentLength="2147483647">
</requestLimits>
</requestFiltering>
</security>

Thanks.

Özgür

Update: <serverRuntime uploadReadAheadSize="2147483647" /> is not permitted I think. How can I set uploadReadAheadSize in 8.5.


Viewing all articles
Browse latest Browse all 1881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>