Solved

SQL Server Reboot - ASPX App

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

867 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now