Solved

SQL Server Reboot - ASPX App

Posted on 2011-09-14
1
283 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

In this article I will describe the Backup & Restore 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.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

778 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