Solved

Redirect a Asp .net URL to a default message

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Send SMS with a web app to a SMS Gateway EMG ( Enterprise Messaging Gateway) 4 58
utf-8 issues 11 104
WEB Service vs ??? 7 107
LAMP problem identifier tool ? 9 108
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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

914 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

16 Experts available now in Live!

Get 1:1 Help Now