I have this problem on the WCF Rest service when the data is bigger than 1.2 MB then it "I" error in Chrome: 101 This webpage is not available ". Although "connection was reset" in Firefox, it will work on small data
WebConfig (binding configuration):
& lt; BasicHttpBinding & gt; & Lt; Binding name = "basicHttpBindingConfig" closeTimeout = "00:30:00" openTimeout = "00:30:00" receiveTimeout = "infinite" sendTimeout = "00:30:00" maxBufferPoolSize = "2147483647" maxReceivedMessageSize = "2147483647" maxBufferSize = "2147483647" & gt; & Lt; Readerkots Mksdepth = "2147483647" Mgstringkantentlength = "2147483647" Msrrylength = "2147483646" Maksbitsperread = "2147483647" Mksonmetablecrsunt = "2147483647" / & gt; & Lt; / Binding & gt; & Lt; / BasicHttpBinding & gt; & Lt; WebHttpBinding & gt; & Lt; Binding name = "webclientHttpBindingConfig" closeTimeout = "00:30:00" openTimeout = "00:30:00" receiveTimeout = "infinite" sendTimeout = "00:30:00" maxBufferPoolSize = "2147483647" maxReceivedMessageSize = "2147483647" maxBufferSize = "2147483647" & gt; & Lt; Readerkots Mksdepth = "2147483647" Mgstringkantentlength = "2147483647" Msrrylength = "2147483646" Maksbitsperread = "2147483647" Mksonmetablecrsunt = "2147483647" / & gt; & Lt; / Binding & gt; & Lt; / WebHttpBinding & gt; App Conflict (Binding Configuration):
& lt; BasicHttpBinding & gt; & Lt; Binding name = "basicBindingForBigArrays" maxBufferSize = "2147483647" maxBufferPoolSize = "2147483647" maxReceivedMessageSize = "2147483647" messageEncoding = "MTOM" & gt; & Lt; Readerkots Mksdepth = "2147483647" Mgstringkantentlength = "2147483647" Msrrylength = "2147483647" Maksbitsperread = "2147483647" Mksonmetablecrsunt = "2147483647" / & gt; & Lt; / Binding & gt; & Lt; / BasicHttpBinding & gt; & Lt; WebHttpBinding & gt; & Lt; Binding name = "webhtbbanding config" maxbufferscases = "2147483647" Maxbuffarpool Size = "2147483647" MaxRecevices = "2147483647" & gt; & Lt; Readerkots Mksdepth = "2147483647" Mgstringkantentlength = "2147483647" Msrrylength = "2147483646" Maksbitsperread = "2147483647" Mksonmetablecrsunt = "2147483647" / & gt; & Lt; / Binding & gt; & Lt; / WebHttpBinding & gt; I am struggling for hours at this time.
If you are running IIS, you need to make sure that the maximum HTTP post size is set :
& lt; HttpRuntime maxRequestLength = "8192" /> 8MG is the default but your case can be set at 1MB for information.
Comments
Post a Comment