Solved

How to auto refresh a aspx page that failed to load

Posted on 2009-04-02
2
524 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

628 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