I 30 MB daha büyük bir bayt dizisi geçmek her, hata olsun,IIS7 - bir 404.13 ile başarısız webRequest istek parametreleri boyutu 30mb
[WebMethod]
public int myWebMethod(string fileName, Byte[] fileContent)
Ancak basit WebMethod sahip aştığında
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0"> </compilation>
<authentication mode="Windows" />
<httpRuntime useFullyQualifiedRedirectUrl="true"
maxRequestLength="102400" requestLengthDiskThreshold="102400"
/>
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" />
</system.web>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="104857600"/>
</requestFiltering>
</security>
</system.webServer>
</configuration>
Etrafa aradık
ve inci en yaygın nedeni şu şekildedir:
HTTP Error 404.13 - Not Found The request filtering module is configured to deny a request that exceeds the request content length.
Benim web.config olduğunu Sorun, varsayılan olarak 30MB olmak üzere maxAllowedContentLength
özelliğidir. Bununla birlikte, bunu httpRuntime
için maxRequestLength
özelliğinin yanı sıra 100mb olarak ayarladım.
Yukarıda denediğim özelliklerden birini belirlemeyen bir çözüm bulamıyorum. Kaçırdığım bir şey var mı?
Bu benim 7'de de oluyor: Gerçekten bunun bir çözüm bulunmayan bir IIS hatası olduğuna inanıyorum. SO: http://stackoverflow.com/questions/16365483/iis-7-5-mercurial-setup-ignoring-maxallowedcontentlength IIS Forumları: http://forums.iis.net/post/set/1043/1197751/2049386 – jocull
Benim için buradaki problem gerçekten SSL ile - normal HTTP üzerinden her şey beklendiği gibi cevap veriyor. Ancak, SSL açıldıktan sonra askıda kalmaya başlar. – jocull
Burada belgelenen SSL ile bir IIS uyumsuzluğu var mümkündür: https://bitbucket.org/tortoisehg/thg/issue/2593/cant-push-over-30mb-to-iis-via-https - Keşfetmek için ne acı !!! – jocull