Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8150647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T15:07:40+00:00 2026-06-06T15:07:40+00:00

I have a custom Sharepoint 2010 web part that runs the user through a

  • 0

I have a custom Sharepoint 2010 web part that runs the user through a series of steps in a registration process. At each step, when whatever required input is completed, the user clicks the Continue button which is a standard server side button control. The code behind does some validation and DB updates before calling Response.Redirect which refreshes the same page with updated session data.

(Note: the session data is kept in the URL as an encrypted query string parameter, not by the conventional Session object)

This solution works fine in my single server test environment, but as soon as I deploy it to a load balanced stage or production environment some requests simply time out without receiving a response after clicking Continue (ERR_TIMED_OUT).

  1. The Webpart log shows that the webpart is in fact calling Response.Redirect with a valid URL
  2. This is no server resource issue. The timeout can be set to a minute or more, no response is received.
  3. Only happens when deployed to load balanced servers
  4. Everything works fine when I complete a registration on one of the load balanced servers – which leads me to believe there is a problem with load balancing and server sessions. I know that when interacting with a load balanced web application from one of the server nodes in the NLB, all requests will go to that particular server.

I know I have faced a similar issue before, but it is several years ago and I cannot remember what the solution was.

        try
        {
            // get clean URL without query string parameters
            string url;
            if (string.IsNullOrEmpty(Request.Url.Query))
                url = Request.Url.AbsoluteUri;
            else
                url = Request.Url.AbsoluteUri.Replace(Request.Url.Query, "");

            // add encrypted serialized session object
            url += "?" + Constants.QueryStringParameterData + "=" + SessionData.Serialize(true);

            _log.Info("Redirecting to url '" + url + "'..");
            Response.Redirect(url);
        }
        catch (Exception) { }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T15:07:41+00:00Added an answer on June 6, 2026 at 3:07 pm

    OK, the problem has been resolved.

    It turned out to be UAG that was doing something in the background, and the way I discovered it was that the links that triggered the postbacks got changed from

    http://some_url.com/sites/work/al2343/page.aspx

    to

    http://some_other_url.domain.com/uniquesigfed6a45cdc95e5fa9aa451d1a37451068d36e625ec2be5d4bc00f965ebc6a721/uniquesig1/sites/work/al2343/page.aspx

    (Take note of the “uniquesig” in there)

    This was the URL the browser actually tried to redirect to, but because of whatever the issue was with UAG the navigation froze.

    I don’t know how they fixed it, but at least the problem was not in my component.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Background: I have a built-in-house custom SharePoint 2010 web part, inheriting from System.Web.UI.WebControls.WebParts.WebPart ,
I have a SharePoint 2010 web application that I'd like to use a custom
I have a custom sharepoint web part that is throwing the following exception: System.Security.SecurityException:
I have a Java client that consumes SharePoint 2010 standard web services (sitedata.asmx, permissions.asmx,
I have a custom Sharepoint 2010 Web Template and I would like to set
I have created a custom SharePoint web service that was deployed to, and successfully
I have a Sharepoint 2010 feature that contains several custom actions in it. I
I have a custom navigation menu for my SharePoint intranet web application which is
We have a sharepoint based application that uses a custom database for storing metadata/files
As part of our branding of Sharepoint 2010, we'll be modifying some custom HTML

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.