Solved

SQL Server Reboot - ASPX App

Posted on 2011-09-14
1
284 Views
Last Modified: 2012-05-12
Is there a way to automatically take a web app off line when the SQL servers being rebooted?  This reboot occurs everyday at a precise time (scheduled event) and generation 15 - 20 error messages when external customers try connect via the web site.
0
Comment
Question by:TimSweet220
1 Comment
 
LVL 4

Accepted Solution

by:
manishkungwani earned 500 total points
ID: 36537379
If you take the app offline, the errors will be uglier.
I will suggest that in the masterpage, check for the DB availability and if down, show a single Error page.
You can configure the same in the Global.asax file.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Suggested Solutions

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

791 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