Solved

How to auto refresh a aspx page that failed to load

Posted on 2009-04-02
2
521 Views
Last Modified: 2012-06-27
I have a couple reports on aspx pages showing on a wallboard. The pages are set to auto refresh every minute. The issue I am trying to work around is that during the evening when the database shuts down for maintenance the page fails because the SQL query can't pull the info. I'm looking for recommendations that either:
1. Schedule the page on starting or stopping it's refresh
2. Continue to attempt a refresh

Details: aspx page with six gridviews on it. a master page defining a column style for the ContentPlaceHolders and the meta tag to auto refresh. A linux os wyse terminal attached to a 46" lcd tv displaying the page.
0
Comment
Question by:PellaProducts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 18

Accepted Solution

by:
David Robitaille earned 500 total points
ID: 24050160
suggestion:
you could do a try catch on the page load, and in the catch section, dependig of the execption type , you could do a page.redirect to itself
0
 
LVL 18

Expert Comment

by:David Robitaille
ID: 24050312
you could use :
System.Threading.Thread.Sleep(miliseconds numbers)
to add a delay between retry
and

Page.Request.Url.OriginalString()
to get the original request
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question