Creating A Diagnostics Page To Be Pinged By Load Balancer?

Sep 30, 2010

Our server operations team has asked the web development team (ASP.NET) to provide a URL in our application, which the load balancer can ping to perform health checks.

What should be executed on this page? I think we should attempt a database connection to ensure connectivity between the web and database.

View 2 Replies


Similar Messages:

How To Get A Host Name Behind A Load Balancer

Aug 18, 2010

I have a couple of servers and a load balancer. I want to show a server name which is currently serving the page.

I am using HttpContext.Current.Request.ServerVariables["SERVER_NAME"] and HttpContext.Current.Request.ServerVariables["LOCAL_ADDR"] but is shows the same data for all servers (load balancer information is shown but not the information about exact server name).

How to get a relevant information?

View 2 Replies

Session_End Event Behind Load Balancer

Jan 28, 2010

I'm creating web application behind load balancer. To this moment I configured it to store session in database but I'm not sure how should I handle session expiration. The problem is not sessions are not removed from database but Session_End event because I have to call some web service method in it.

Assuming Session_End is called when expires the thing I'm afraid of is situation when session is created on one server but finished on another. In this case I'm afraid Session_End on first server will be executed prematurely and I will call web service too early. What would you suggest in this situation?

Edit:

I remember some time ago reading about Sql Agent reacting to session end event and then performing custom code. Can anybody confirm that this solution is possible?

View 2 Replies

Load Balancer In Application Using Two Servers

Jan 5, 2011

We are using Two servers for our application managed by a load balancer. One of which server contains Windows server 2003 & other one contains Windows server 2008. When a request is served by windows 2003 server and its subsequent goes to the other one (2008 server). Users gets log out. Are we need same Operating systems on both systems because( when request served by 2008, and subsequent on 2003 is served without any issue).

View 1 Replies

Configuration :: WebResource.axd Not Found Over The Load Balancer

May 16, 2010

I have published a website and installed it on my local machine and it works fine, but when i install it on the both servers who controlled from the load balancer i got an error like the WebResource.axd not found. how can i resolve this problem? i have checked the IIS for axd mapping, the "Check that file exists" is unchecked for both servers.

View 2 Replies

AJAX :: Scriptresource.axd And Load Balancer Servers

Dec 21, 2010

We host a SaaS application on 4 windows 2008 servers loadbalancer via a LVS. We use infragistics and Ajax Control Toolkit on several pages, one page represents a list of people using a Web Datagrid, each time a person is clicked in the list, an Ultra Web Tab component is updated at the botom of the page with detailed information on that person. After a certain amount of clics on different people (number of clics can be between 1 and 5) Scriptresource.axd craches with the following error :

[Code]....

I don't get this error when I run my application on one server using the server's private IP adress. I tried to synchronize the dates of the dlls System.Web and System.Web.Extensions on each server, I still get the same error.

View 3 Replies

How To Configure A WCF Service That Calls Other Services Behind A Load Balancer

Sep 3, 2010

I haven't deployed behind a load balancer before. My customer has a WCF service built and tested on servers using a service model configuration that is relatively straightforward. It provides a service to return an image of a map for another application. To get the map, it calls other services.

The service was built in Visual Studio 2010 targeting the 3.5 framework. The customer is using IIS 7.5 and an F5 load balancer. When moving to the production server, the Web.config was changed to add the load balancer behavior and specify the endpoint to show the physical and logical address of the service:

[Code].....

There was a problem when the service was deployed to a server behind the load balancer. When I try to call the service from WCFStorm or WebServiceStudio I get the message "The provided URI scheme 'https' is invalid; expected 'http'.

The endpoints for the service itself look right to me. However in the development and testing versions of the config, the client section uses http instead of http, while on the production servers it uses the load balancer's https address. This seems like it should be obvious, but we're missing it.

View 1 Replies

How To Eliminate Application Reload Delay Using Load Balancer

Dec 21, 2010

One issue with ASP.NET apps is that they periodically reload themselves, causing a long delay and possibly timeout for users who hit the site during that time.

This may not be a problem for small websites, but it can represent significant downtime for high-traffic sites, if users happen to get routed to node in the web farm that is restarting.

Can load balancers somehow "know" if an ASP.NET application domain on a specific server is restarting? Then, they can route traffic around this server until the application has completed restarting.

Currently, I have my load balancer ping a simple .aspx page on the site. If there is a delay or the page fails to load, the host is taken out of rotation. Is it possible to do a more targeted health check, perhaps at the IIS level rather than ASP.NET level?

View 2 Replies

Architecture :: Invalid_Viewstate - While Accessing The Web Site On Load Balancer

Dec 3, 2010

we have an web site access on PRODTEST Environment . We are facing an issue site works fine when we try to access the site using the Individual Server names (with Ip address).

View 2 Replies

Security :: Load Balancer / How To Make Cookie As Secure In Site

Oct 28, 2010

I have a doubt regarding secure cookie.

I have four servers 2 App Server(behind firewall) and 2 webservers and each server is accessing through Load Balancer.

App Server is a modules for Data Access layer and webserver is for Presentation layer.

My Issue is My Load Balancer has Secure certificate installed but certificate is not installed on servers and I want to make cookie as secure in site , as per my understanding " cookie should be set as secure only for SSL site other ways new session will get create every time" so should I install SSL certificate on webserver to make my cookie as secure or will it work properly even if only Load Balance has SSL.

View 5 Replies

AJAX :: Call Is Not Working On F5 Load Balancer Web Farm Setup

Sep 3, 2010

I have the following web farm setup in production server. Browser --> HTTPS --> Load Balancer --> HTTP --> webserver node F5 Load balancer handles off box SSL termination. It implies that SSL resides on F5 load balancer. Problem Statement: Ajax calls do not go through unless "Access data sources across domains" option is enabled in IE security settings.

I have the similar setup in staging server except F5 Load balancer. The ASP.Net application makes perfect AJAX calls on both HTTP and HTTPS. However, the staging server web farm use windows NLB and SSL resides on individual web server nodes

View 3 Replies

Add HTML Comment To Show IP Address Or Even Host Name Of Server Selected By Load Balancer?

Aug 3, 2010

I have 3 servers where 1 of them serves as a load balancing server. In my ASPX page, I want to add a HTML comment to show the IP address or even host name of the server selected by the load balancer. I tried looking through IIS Server variables and tried using SERVER_NAME but that just returns the domain URL.

View 2 Replies

Trying To Create A Load Balancer (hardware) Rule Which Will Keep Track Of Sessions Based On The Aspxauth Cookie

Apr 19, 2010

Can somebody explain what ASPXAuth cookie does?

My website uses forms auth and I am trying to create a load balancer (hardware) rule which will keep track of sessions based on the aspxauth cookie. Is it safe assume that the value of the cookie is unique?

View 2 Replies

What Are The Main Differences Of Defining A Control Statically Or Creating It Dynamically On Page Load

Sep 13, 2010

I am working on a project which creates controls dynamically for a form in the page_load event, loads in their current values from the database and saves their values (using FindControl) when the user clicks the continue button. When I added a control statically in the .aspx page and followed their same procedure of loading the value in the page load and saving it on the button press I found that the value would not save correctly. It seems that it wouldn't save because the click event fires after the page_load, so the page_load of the post back reverted the value and the user entered value was not saved.

The strange thing is that by changing the control to be dynamically created just as all the other controls on the page and keeping the loading and saving the same it now works. Even though the page load still creates the control with the old database value. It seems like a very fundamental asp .net feature here but i'm just unclear as to what is going on. I suspect it is to do with the timing of creation and maybe when the view state kicks in.

View 4 Replies

Configuration :: System.ServiceModel.Diagnostics.DiagnosticTrace..ctor(System.ServiceModel.Diagnostics.TraceSource?

Jun 15, 2010

why this error is coming...this error is cmng after i have re-installed VS 2005 and its framework.

System.ServiceModel.Diagnostics.DiagnosticTrace..ctor(System.ServiceModel.Diagnostics.TraceSourceKind, System.String, System.String)

Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.MethodAccessException:System.ServiceModel.Diagnostics.DiagnosticTrace..ctor(System.ServiceModel.Diagnostics.TraceSourceKind, System.String, System.String)

Source Error:[Code]....

Stack Trace: [Code]....

Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

View 1 Replies

System.diagnostics And System.Debug Not Working From Page Method

Feb 1, 2010

We have a Page Method on a web page using ASP .Net. We tried to put in a trace statement using both System.Diagnostics and System.Diagnostics.Debug. In Visual Studio 2008, the break point is not even hit for the line, but other break points on other lines are hit.There is no output from either method that we can see.

There is also a Global.asax error catcher that works fine in other cases, but in the Page Method is not being catched.why a Page Method and System.Diagnostics do not play well together?

View 1 Replies

Web Forms :: How To Load From Secondary (Derived) Master Page Controls In Page Load

Feb 25, 2010

I hv Declared two Master page one Is Base and Derived.. Base Page Load is working but when i hv written load controls in Derived Page Load Using C# it's not working..

View 3 Replies

Forms Data Controls :: Creating Listviews In VB.net / Options To Load Up All The Results?

Mar 23, 2010

I have around 5 SQL queries that are returning datasets to my VB.NET application, the queries could be any number not just 5. I have a listview already on the page and all the queries will return the same exact data types (just different numbers). How can I create a listview in the code behind for each one? Or what would be my other options to load up all the results

View 9 Replies

Security :: System.Diagnostics Not Working In IIS 6?

Sep 13, 2010

I have developed a ASP.NET C# web page which connects to remote conmputer command prompt using PSEXEC.exe and executes some command where the output of the command will get copied to the page. It works fine in the VS 2005 IDE.

If the page is accessed via IIS from IE, the task PSEXEC.EXE appears in task manager of the server with the system account privilege after the method is triggered but nothing happens.

find my present settings in IIS and others:

1. APP Pool Identity to Local System (Predefined) and also to a configurable admin account.

2. <processModel userName="SYSTEM" password="AutoGenerate" /> in Machine.Config file

Also I've tried impersonasation in web.config file to an admin account.

Code Is:

[Code]....

View 3 Replies

Use Of System.Diagnostics Namespace Classes?

Sep 26, 2010

what is the use of System.Diagnostics namespace classes

View 3 Replies

AJAX :: Trying To Create A Progress Bar For Page Load As It Takes Long To Load?

Jul 7, 2010

I am trying to create a progress bar for page load as it takes long to load. I need help to resolve jscript error 'null' is null or not an object on line $get("btn").click();

[Code]....

View 3 Replies

AJAX :: UpdatePanel - Textbox Focus - Load A Page Instead Of Using A Control To Load

May 14, 2010

Control ctrl = new Control();
this.PlaceHolder1.Controls.Clear();
ctrl = Page.LoadControl("uc1.ascx");
ctrl.ID = "DynamicCtrl";
this.PlaceHolder1.Controls.Add(ctrl);

instead of using a control to load can we load a page .. like example.aspx

page mypage=new page();
mypage= Page.Load("example.aspx");

how to do this. as i am getting the erro

View 5 Replies

AJAX :: How To Load Update Panels After Page Load Complete Event

Apr 11, 2010

I have a update panel on the ASPX page,When thepage loads the content in the update panel shouldnot load ( Update panel should show the Updatepanel progress control) but after page load update panel contents should load . How do i get this efect.

View 3 Replies

Iis - Load Dynamic Webpage (want To Indicate Which Part Of Page Load First In Classic)?

Mar 16, 2011

we are creating a custom content management and out portal page is bit bulky it is about 60Kb without images.

and during loading the page in some browser we can see some parts of site load faster than the other parts of the site where as we want to indicate (or instruct the web server) to load some of the areas first then load rest of the page.

is there any particular setting in IIS for is there any particular method in classic asp for doing that?
also I have the same question in asp.net.

View 1 Replies

How To Load Ajax Contents Into A Div On Page Load Using FBML And FBJS

Jun 18, 2010

I'm developing my first Facebook application in ASP.NET 2.0 and doing a simplest thing, that is, to show a navigation on top with four hyperlinks where each link targets to another .aspx page. How can I do this using FBML in ASP.NET 2.0?

Otherwise coming to my question, where I'm struck after trying above thing at myself and failed then had to go around the Ajax way of doing this. Now I'm using Ajax call over the onclick event of each hyperlink from top navigation and it's succesfully loading external .aspx pages (for example,[URL]. The problem is when user comes on the application on first time, it only shows the .aspx page which has a navigation and a Ajax content place holder which is programmed to be filled with contents on click event.

How to load Ajax contents into the Ajax content place holder on page load without a click event?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved