Discussion:
ASP.Net Button CLicks not firing in NLB environment
(too old to reply)
Adrian
2005-11-10 23:13:00 UTC
Permalink
Hi,

I am running an ASP.Net application (v1.1.4322) on an NLB cluster of 2
web servers.
I have an intermittent problem where sometimes button click events do
not get registered upon postback. i.e. User clicks a button -> form
posts back -> nothing happens.

This is what I have found out so far:

1) When this problem happens, there is nothing submitted with the form.
I found this out by instaling a packet sniffer and looking at the HTTP
traffic. This is why .Net doesn't know what to do because it has no
idea which button was clicked.

2) If this happens, then no button clicks will work for the remained of
that user's session. i.e. they have to restart the browser to fix it.

3) This only happens in IE. Not Firefox.

4) I have tried running aspnet_regiis -c on the server, but that had
no effect.

5) This only happens when the servers are accessed via the NLB virtual
IP. If I access the servers directly, it never happens.

Any help would be appreciated.

Thanks,

Adrian
Richard Ault [MSFT]
2005-11-21 18:16:35 UTC
Permalink
The only way I can think that NLB could affect IE is if the IE is expecting
all posts to go to the same physical server (which I doubt) and NLB is
switching servers because it's set for affinity none or the browser is
behind a mega proxy farm that can't be handled by NLB class-C affinity. If
you're using NLB affinity none, try using single (or class c) affinity and
see if the problem goes away. If you're already using class C affinity,
then try enabling AC's request forwarding feature for all requests (and make
sure IE is set to have cookies enabled).
--
Richard Ault
Application Center Product Team

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Post by Adrian
Hi,
I am running an ASP.Net application (v1.1.4322) on an NLB cluster of 2
web servers.
I have an intermittent problem where sometimes button click events do
not get registered upon postback. i.e. User clicks a button -> form
posts back -> nothing happens.
1) When this problem happens, there is nothing submitted with the form.
I found this out by instaling a packet sniffer and looking at the HTTP
traffic. This is why .Net doesn't know what to do because it has no
idea which button was clicked.
2) If this happens, then no button clicks will work for the remained of
that user's session. i.e. they have to restart the browser to fix it.
3) This only happens in IE. Not Firefox.
4) I have tried running aspnet_regiis -c on the server, but that had
no effect.
5) This only happens when the servers are accessed via the NLB virtual
IP. If I access the servers directly, it never happens.
Any help would be appreciated.
Thanks,
Adrian
Loading...