Solved

SQL Server Reboot - ASPX App

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

707 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

12 Experts available now in Live!

Get 1:1 Help Now