Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to auto refresh a aspx page that failed to load

Posted on 2009-04-02
2
Medium Priority
?
526 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 2000 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

704 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