I have a ASP.NET website with SQL SERVER Database. Each time database goes down it shows a .NET error message. Is there any way to display a customised message. For eg: “Sorry, website is currently unavailable.”
I have a ASP.NET website with SQL SERVER Database. Each time database goes down
Share
You would have to use try catch and handle SQL Exception and in the catch block add the customised message to your label.