I have one asp.net page which seems to return a very big content (5,648,733 bytes and that is
mostly consumed by VIEWSTATE) ending with a 504 Gateway timeout error. I am tracking the http
request/response by using Fiddler.
And basically, when I post-back the same page -by clicking a button- the post-back fails with thoose errors shown in IE and in FF:
Internet Explorer cannot display the webpage –> in IE
The connection to the server was reset
while the page was loading. –> in FF
Question: Can this be because of the big size injected in VIEWSTATE; and if yes, what is the main
reason so that it loads the page but cannot post the page back after?
I wonder if you are hitting the MaxRequestLength of the application; Default is 4MB.