Solved

Redirect a Asp .net URL to a default message

Posted on 2014-12-07
1
187 Views
Last Modified: 2014-12-28
Hello,

I have a working Asp.net application now (Example url : www.abbd.com). We have to decommission application now. When some one try to access URL we have to display a message(MSG : Application is decommissioned). Can you please some one help me do it. I am a plsql developer asked to do this. I am completely new to .NET .

Thanks
0
Comment
Question by:vijay11
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 8

Accepted Solution

by:
johny_bravo1 earned 500 total points
ID: 40499711
You can simple create a page and put a label with message "Application is decommissioned" (Say Default.aspx, which is generally a landing page, if you want to give a different name to the page set that page as landing page, so whenever your site is accessed your message is displayed)

Alternatively,
You can simply take down an ASP.NET application offline temporarily by uploading a file called App_Offline.htm in the root of a web application directory.  When App_Offline.htm file exists, any requests to the Web site are redirected to this file. The file displays a friendly message that tells clients that the Web site is being updated or down due to some reasons or decommisioned
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

Title # Comments Views Activity
Error viewing ASP page 12 177
Recieving large files from China 4 152
Widget to get customer remakrs in our website. 3 106
Grunt script for Build Process 1 63
Foolproof security solutions has become one of the key necessities of every e-commerce or Internet banking website. If you too own an online shopping site then its vital for you to equip your web portal with customer security features that can allow…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.

756 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