iis 7 - Asp.net 2.0 Button click method works inconsistently in a web garden -


We have an ASP.NET 2.0 web application that is running on IIS7. This is using Web Park and asp.net state server

On the page, there are many user controls on one of the user controls, we have added logging to the button_click event which writes a line in the log Whenever that method runs. When we click on the button, it displays only the log entry periodically - this indicates that the event is not always in the fire when clicking the button. We have added logging because we suspect that the method of clicking the button was not always going on when we clicked on the button. The evidence that we are seeing, confirms our doubts.

When we remove the web garden and return the site to a single application pool, the application returns to normal - the button event always fire when we run applications on the local developer machine , Then it works normally.

Have you seen any such behavior? Are there any recommendations on the next phase that we can take to reduce the problem?

EDIT: Here is the source of the event as requested:

  Protected void btnSearch_Click (object sender, EventArgs e) {log. Error ("Searching ..."); SearchArgs args = CtrlToSearchArgs (); Session manager Search = string = request String URL = NavigationManager.BuildShopping URL (RGS, blank, "*** Page URL has been removed here ***"); If (args.PageSize.HasValue) {session session. Session in session Session SEARCH_PAGESIZE, args.PageSize.Value.ToString ()); } And {session session. Session session (session manager K.EEE.E.C.T.) session manager SearchPanelData = url; // Set new algorithms in session session Search ControlRGR = RGS; Response.Cache.SetCacheability (HttpCacheability.NoCache); Response.Redirect (URL);}  

Edit # 2: Explanation - This set is not using multiple servers and the load is not under the balancer. Using multiple AppPools on a single server

with the keys of your machine Do:

This is not just a scenario that fails when you do not have the key of the machine specified, if the AAP pool restarts the key of the generated machine and you rely on it Failure to do things, i.e. videostrat validation is one, second:


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -