Solved

Redirect a Asp .net URL to a default message

Posted on 2014-12-07
1
172 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
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

759 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

23 Experts available now in Live!

Get 1:1 Help Now