Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Weird UpdatePanel status 500 server error

Weird UpdatePanel status 500 server error

Scheduled Pinned Locked Moved ASP.NET
wpfsysadmintoolshelpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dani kenan
    wrote on last edited by
    #1

    Hi, I have a main page with an update panel and within it a wizard control. The main page is assigned a Master page in which a script manager resides. The wizard buttons are implemented as image buttons inside navigation templates and each of the 3 wizard steps is implemented by a dedicated user control. On each step-control, I have several textboxes and dropdown lists. Some of the controls generate (Async) PostBack to the server. The wizard navigation also generates AsyncPostBack since the whole wizard is inside the updatepanel. The application was tested thoroughly and it causes no problems for clients with relatively good connection. Alas when used by remote clients with slower connection (we assume this is the commonality between those reporting the error), the navigation between pages sometime shows the following error: "Sys.WebForms.PagerequestManagerServerErrorException: An Unknown error occurred while processing the request on the server. The status code returned from the server was 500" Please note: error was manifested only for some client, only some times and only in the navigation, not in the inter-step updates. I have used fiddler and saw that the http response from the server is actually with status 200 but it contains the raw response text is something like "0|error|500||" I tried to log errors on the ScriptManager.AsyncPostBackError event but it seems not to be called. Any suggestions??? 10x in advanced

    L 1 Reply Last reply
    0
    • D dani kenan

      Hi, I have a main page with an update panel and within it a wizard control. The main page is assigned a Master page in which a script manager resides. The wizard buttons are implemented as image buttons inside navigation templates and each of the 3 wizard steps is implemented by a dedicated user control. On each step-control, I have several textboxes and dropdown lists. Some of the controls generate (Async) PostBack to the server. The wizard navigation also generates AsyncPostBack since the whole wizard is inside the updatepanel. The application was tested thoroughly and it causes no problems for clients with relatively good connection. Alas when used by remote clients with slower connection (we assume this is the commonality between those reporting the error), the navigation between pages sometime shows the following error: "Sys.WebForms.PagerequestManagerServerErrorException: An Unknown error occurred while processing the request on the server. The status code returned from the server was 500" Please note: error was manifested only for some client, only some times and only in the navigation, not in the inter-step updates. I have used fiddler and saw that the http response from the server is actually with status 200 but it contains the raw response text is something like "0|error|500||" I tried to log errors on the ScriptManager.AsyncPostBackError event but it seems not to be called. Any suggestions??? 10x in advanced

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Set ValidateRequest to "false" in your page directive. Hope this will address your problem.

      J 1 Reply Last reply
      0
      • L Lost User

        Set ValidateRequest to "false" in your page directive. Hope this will address your problem.

        J Offline
        J Offline
        JeevaBharathi
        wrote on last edited by
        #3

        No, I am getting the same error even after setting validate =false. Why this is occuring? Can anyone please provide me a exact solution to solve this problem permenently? Thanks in advance.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups