c#


The page was not displayed because the request entity is too large when redirecting one page to another after 90 sec


I am getting above error while redirecting from one page to another after 90 seconds. The page is loading successfully at first time but getting issue after 90 seconds in postback.
I found some solution like increase the size of uploadReadAheadSize to 1048576, but problem is same code is running successfully on one server but same has issue on other server.
Here are config using in WCF binding and client's end web config file.
WCF bindings
<wsHttpBinding>
<binding maxReceivedMessageSize ="2147483647"
closeTimeout="00:05:00"
openTimeout="00:05:00"
receiveTimeout="00:10:00"
sendTimeout="00:05:00" >
<readerQuotas maxDepth ="2147483647"
maxStringContentLength ="2147483647"
maxArrayLength ="2147483647"
maxBytesPerRead ="2147483647"
maxNameTableCharCount ="2147483647" />
</binding>
</wsHttpBinding>
Client's End web config
<system.serviceModel>
<diagnostics performanceCounters="Off" wmiProviderEnabled="false">
<endToEndTracing activityTracing="true" messageFlowTracing="false" propagateActivity="true" />
<messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="500" maxSizeOfMessageToLog="262144"></messageLogging>
</diagnostics>
<bindings>
<wsHttpBinding>
<binding name="WSEndPoint" closeTimeout="00:10:00" openTimeout="00:10:00"
receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false"
transactionFlow="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
allowCookies="false" >
<readerQuotas maxDepth ="2147483647" maxStringContentLength ="2147483647" maxArrayLength ="2147483647" maxBytesPerRead ="2147483647" maxNameTableCharCount ="2147483647" />
<reliableSession ordered="true" inactivityTimeout="00:10:00"
enabled="false" />
</binding>
</wsHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:53400/CustomerService.svc"
binding="wsHttpBinding" bindingConfiguration="WSEndPoint" contract="CustomerService.ICustomerService"
name="WSEndPoint">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
</client>
</system.serviceModel>
In IIS log Found error code 413 for the page when I am getting above error.

Related Links

How can i loop in treeView1 SelectedNode to the last childe node and go back to the level 0?
MissingMemberException was unhandled EntitySet X object has no attribute Y
Is there a way to bind to the UIElement children in an ItemsControl?
Convert to JSON Array, not regular object
Changing WCF endpoint
EF 6.0 with TPH and TPC inheritance
Editable Combo box loses selected value when the item source is changed
Unity Gui fontSize dont change
Wpf binding update regularly
Unity and auto-mocking with NSubstitute (or something else)
VB.NET form should inherit C# project form
Code to Change the TCP/IP configuration of the computer to DHCP
How to get MAC address for both Wireless and Ethernet using C#?
MySqlException: Reading from the stream has failed when trying to connect to database
Code First circular 0..1 mapping?
detecting usb-device insertion and removal in c#

Categories

HOME
asp.net
mediarecorder
collision-detection
annyang
google-my-business-api
openbsd
solidity
desktop-application
hdf5
minimum
md2
orange
sonarlint
openoffice-basic
rndis
aws-certificate-manager
priority-queue
traveling-salesman
stack-trace
boosting
javapns
storefront
strategy-pattern
scip
realloc
oracle-bpm-suite
libconfig
google-cloud-powershell
autodesk-data-management
colorbox
xmldom
stanford-nlp-server
jscoverage
sharpssh
business-catalyst
multi-select
group
spring-social-twitter
joystick
settext
require-handlebars
instaparse
weblogic-maven-plugin
hotkeys
aws-kms
boost-propertytree
jmh
android-progressbar
factorization
abstract
oryx
wonderware
clear
database-project
edgar
pushwoosh
uinavigationitem
cloud-storage
cyberduck
litedb
euro
web-standards
genome
sicstus-prolog
kss
growl
cocos2d-x-2.x
slimscroll
acrofields
svg-android
thucydides
myrrix
kendo-window
nsnumber
violation
azure-pack
qgraphicsscene
mandelbrot
magicsuggest
cloudmade
vline
dnsbl
nsregularexpression
junit-rule
mail-gem
virtual-printer
sessiontracking
service-layer
jqtransform
javah
onunload
chromebug
miniport
system-analysis
html-help-workshop
unauthorized
scalable

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile