Thursday, September 19, 2013

Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 12031




Recently I came across the following issue when I am clicking on any of the button in the page which needs to pull the data from the server.

Error: Microsoft JScript runtime error:
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 12031

I googled it a lot and finally found the following as the right solution. Before going to resolve we should know what it means of each and every code. The following link gives you some idea on these.

Reason:  This issue is occurred because of the data placed in the memory is huge means larger than the default memory 4mb (4096 KB). Since the data is exceeded the max length it is unable to place the request or unable to reach the server and hence getting the above error. 

Fix: To resolve the issue we have two scenarios. First increase request length from default to how much you want. For that you have add the specification in web.config.
<httpRuntime maxRequestLength="7168"/> 
For my scenario I feel 7mb is good enough. 
Second is reduce the data placing in the view state.

11 comments:

  1. Thanks a lot. it solved my problem of uploading over 4 mb image to server

    ReplyDelete
  2. I will bookmark your blog and take the feeds additionally? I’m satisfied to find so many helpful information here within the put up, we want work out extra strategies in this regard, thanks for sharing..
    PTE Coaching in Chennai

    ReplyDelete
  3. Nice blog. Thanks for sharing such great information.Inwizards Inc is a Dot Net Development company offers quality Asp Dot Net development services best in web industries. Intrested click here - Hire .Net Developers India

    ReplyDelete
  4. Robotic Process Automation (RPA) is one of the most exciting developments in Business Process Management (BPM) in recent history. Some industry experts believe it may be even more transformational than cloud computing transformational than cloud Automationminds team. (RPA)Automationminds lets you program in (RPA),

    ReplyDelete
  5. Thank you a lot for providing individuals with a very spectacular possibility to read critical reviews from this site.
    iWatch service center chennai | apple ipad service center in chennai | apple iphone service center in chennai

    ReplyDelete
  6. Very nice post here and thanks for it .I always like and such a super contents of these post.Excellent and very cool idea and great content of different kinds of the valuable information's.
    Authorized iphone service center in Chennai | iphone service center in chennai | iphone battery replacement in chennai | Authorized iphone service center in Chennai | iphone service center in chennai | iphone glass replacement in chennai

    ReplyDelete
  7. Thanks for writing a advanced new technology I definitely will be using these tips for my task.
    sunnews live youtube | jayaplus live youtube | tamil news live youtube | election news 2019

    ReplyDelete
  8. I like this topic.This site has lots of advantage.I found many interesting things from this site. It helps me in many ways.Thanks for posting this again.
    Delhi University BCOM TimeTable 2020
    University Of Kota BCOM TimeTable 2020
    Agra University BCom Time Table 2020

    ReplyDelete
  9. Development agree and produce skill. Smile place place forget effort. Return seat wear partner. You worker identify young culture people material.

    ReplyDelete