473,788 Members | 2,652 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problem with postback in load balancing

hi,
i am stuck up on this problem.

In a load balanced scenario the post back is not happening i.e. when a
control on the web form is clicked, the post back does not occur at the
server and server code does not get executed and it times out depending
on the IIS settings. For example, we have a simple web form with a
button. When the button is clicked, the code in the button click event
in the .cs should get executed. However this does not happen when the
form is executed through the load balancer URL. However, the same gets
executed on individual servers in the load balance cluster. The same
piece of code works perfectly when executed on any individual server.

regards,
Saurabh

Aug 28 '06 #1
4 3698
In your web.config, do you have a machinekey with validationkey and
decriptionkey set?

<system.web>
<machineKey validation="SHA 1" validationKey=" <64-byte key>" decryption="AES "
decryptionKey=" <32-byte key>"/>
</system.web>

This will allow all the servers in your web farm to decrypt each other's
postbacks.

Hope that helps.
-DJ
Aug 28 '06 #2
thanx DJ,
i am checking it. will get bet back to you with the result.
djmc wrote:
In your web.config, do you have a machinekey with validationkey and
decriptionkey set?

<system.web>
<machineKey validation="SHA 1" validationKey=" <64-byte key>" decryption="AES "
decryptionKey=" <32-byte key>"/>
</system.web>

This will allow all the servers in your web farm to decrypt each other's
postbacks.

Hope that helps.
-DJ
Aug 28 '06 #3
thanx DJ for the prompt response.
But we are still stuck up at the same level.
any more suggestions.
regards,
saurabh

ne************* @gmail.com wrote:
thanx DJ,
i am checking it. will get bet back to you with the result.
djmc wrote:
In your web.config, do you have a machinekey with validationkey and
decriptionkey set?

<system.web>
<machineKey validation="SHA 1" validationKey=" <64-byte key>" decryption="AES "
decryptionKey=" <32-byte key>"/>
</system.web>

This will allow all the servers in your web farm to decrypt each other's
postbacks.

Hope that helps.
-DJ
Aug 28 '06 #4
hmm, I can't think of anything else off the top of my head. post any extra
info that might be relevant. maybe check the event logs possibly.
<ne************ *@gmail.comwrot e in message
news:11******** **************@ i42g2000cwa.goo glegroups.com.. .
thanx DJ for the prompt response.
But we are still stuck up at the same level.
any more suggestions.
regards,
saurabh

ne************* @gmail.com wrote:
>thanx DJ,
i am checking it. will get bet back to you with the result.
djmc wrote:
In your web.config, do you have a machinekey with validationkey and
decriptionkey set?

<system.web>
<machineKey validation="SHA 1" validationKey=" <64-byte key>"
decryption="AES "
decryptionKey=" <32-byte key>"/>
</system.web>

This will allow all the servers in your web farm to decrypt each
other's
postbacks.

Hope that helps.
-DJ

Aug 28 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4856
by: yagish | last post by:
Hi Techies, Am really new with the Oracle 9i Forms and am searching for a way to perform Load Balancing in Oracle 9i Forms Application. Its not a J2EE application, so cannot go the OC4J way. I need Load Balancing at 2 levels - 1) Load Balancing of the Forms Server 2) Load Balancing of the Database
3
5165
by: Shabam | last post by:
When a web application becomes overloaded with traffic, one can offload it by load balancing and clustering the front end web servers. What happens when the back-end MSSQL database becomes overloaded? Does MYSQL offer load balancing and clustering?
2
2007
by: Christopher D. Wiederspan | last post by:
I'm wondering if anybody could give me some tips on a good webfarm load-balancing solution for an ASP.NET application. Here's the rundown: we've got 3 identical servers that each have identical content. Currently, we're using dns round-robin to load-balance traffic across the servers. I won't go into all of the issues that we've encountered doing it this way, but there are many. We also have the problem of keeping the content synchronized...
2
3431
by: Helge Kalnes | last post by:
We are running an ASP.NET application on a cluster of 3 web-servers, using the Network Load Balancing feature of Application Center. We have synchronized the machineKey in machine.config on the 3 web-servers, so we can utilize a random algorithm for server selection for requests. The application does not use either session state or application state. We recently upgraded to .NET Framework 1.1 (including the hotfix for the "doPostback...
10
2652
by: GeekBoy | last post by:
Okay, I have two identical web servers running Windows 2003 web server. I have an ASP.NET application which runs great on one of them. Dedicated IP address, behind our firewall, etc. Everyone's happy. Now -- how do I take advantage of that second computer to "load-balance" the web site? Will it really give my users a noticable performance increase? How do you accomplish this? I've read many of those MS articles and it's...
6
4068
by: Andrew Robinson | last post by:
I am running two servers with a hardware network load balancing device. I know that to share session information between the two servers I need to implement some type of SQL based session information, but I would simply like to share the SessionID. Mainly for some logging applications. The SessionID does currently seem to be shared between the two servers and I haven't changed anything with my configuration or implemented anything...
0
1551
by: HK | last post by:
I'm wanting to get rid of a hardware load balancer and just use the Windows 2003 software load balancing with 2003 Server Web Edition. I'm wondering if anyone here uploads ASP.NET code to 2 or more servers that are load balanced by Windows Server Network Load Balancing (software load balancing on Windows 2003). If so, or if you're sure of the answer anyway for windows-based load balancing, here's the questions: Can you do just one...
0
1360
by: ors.public.email | last post by:
Hi, My company has recently experienced an issue when posting back aspx pages across multiple servers that were being load balanced. In a nutshell, the problem involved initially loading the page on server A, then posting it back to server B (because of the load balancer). Occasionally, server B would fail to recognize the postback event and load the page as if we're dealing with a GET request, thus losing all the form data. Our...
3
8653
by: Anthony Smith | last post by:
Can someone point me to a resource or something were I can set this up cleanly. I don't want to re-invest the wheel. I just want the most common way to do this. I know there is a database option and a non- database option. I prefer the none-database option. I will have 2 web servers with PHP installed.
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10173
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9967
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7517
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5399
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.