Last post Dec 18, 2010 04:51 PM by dahla
Dec 13, 2010 11:09 AM|MSTechie|LINK
My WebApplication has been hosted in PRODUCTION environment ,which is load balanced between 2 servers. Out of them one of the servers is not configured correctly. So I have observed that whenever requests falls on one particular Server (Server1), the application
works fine. But whenever the request gets routed to another server (Server2), the application fails giving the error
Type: System.Web.HttpUnhandledException Exception message: Exception of type 'System.Web.HttpUnhandledException' was thrown. Source: System.Web Stacktrace: at System.Web.UI.Page.HandleError(Exception
e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at MyCompany.Page.ContentPage.ProcessRequest(HttpContext context) at ASP.myfile_aspx.ProcessRequest(HttpContext context) in c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET Files\myapp\b7297955\403e183f\App_Web_jhaijwkc.0.cs:line 0 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Now because of this , sometimes the webpages works on some users machines and does not work some other people's machines. Please note that all local workstations are part of the same active directory domain and
there is no configuration difference between the local machines. Is there anyway that I can programmatically route all the requests to only one server ?
Dec 18, 2010 04:51 PM|dahla|LINK
Why don't you just remove the improperly configured webserver from the loadbalancer? If you want to reroute all requests to one server, there is no need for a loadbalancer...