Web Forms :: How To Implement A "Site Under Maintenance" Page

Feb 11, 2010

In asp.net 3.5, what's the best (most convenient) way to redirect users to a page that informs them the "Site is currently undergoing maintenance. check back later."

Originally, someone recomended setting the starting page in IIS, but I don't have access to IIS (hosting company does) so that's not an option. Another person said to go into visual studio, right-click on the desired starting page, and mark it as "Set as start page", but that would involve recompiling & uploading the website EVERY time I want to perform maintenance & then recompile again once I'm done.

Am I able to specify the start page in my web.config file or something along these lines?

View 1 Replies


Similar Messages:

How To Implement "Site Under Maintenance" For Windows Azure Website

Jul 10, 2010

In one of our ASP.NET Web site solutions I need to roll out an update that might take reasonable time. It spawns multiple Windows Azure Workers and projects and so simple Deployment Swap is ruled out.

Essentially I'm just thinking about way to redirect all web requests to a "site is under maintenance" page for some time, given the project is under Windows Azure.

I'm aware of the app-offline.htm trick with IIS, but I doubt that Azure Web Role will allow this one to be deployed or run (it spins down the app domain).

View 1 Replies

MSDeploy And "site Under Maintenance" Page / Finding Alternatives

Jan 26, 2011

I am new to MSDeploy as well as IIS admin.

In order to show a "site under maintenance" page we are looking at two alternatives.

1) Have an app_Offline.htm page and sync it to the server when maintenance starts.

2) Create a separate folder with a totally different site (which can show a lot more dynamic information than what we can with the app_offline page). During maintenance, it is being that we change the virtual folder mapping of the site to point to this other folder while we work on updating the site.

Is there a way to change the virtual folder to point to another folder using MSDeploy? Is there any other way to do this via a script rather than having to go to each server and manually change the folder ?

View 1 Replies

Take A .NET Site Down For Maintenance?

Feb 1, 2011

I have an ASP.NET site that I'm going to have to take down to make some major structural updates to, and I was wondering how I should go about it from the client-side perspective. I have heard of an App_Offline.htm file or something like that, but I've never really gotten that to successfully work. Does anyone know how to do this?

EDIT

My app is running ASP.NET 4.0, for what it is worth.

View 3 Replies

Web Forms :: Implement Aspx Page To Other Site?

Jan 20, 2011

any send me usefull link for implementing .aspx or other usercontrol page to different website.

it means how the Chat control is working in the same way i need to implement my aspx page to other site send me procedure or give me usefull link

View 5 Replies

Put Up A Server Maintenance Page Or Reference?

Jan 31, 2010

How does one put up a server maintenance page or reference..

Do you build a whole separate asp.net project with you basic page and logo and use that on the domain, until your main project is back up and running..

View 8 Replies

Implement Daemon On .NET / C# / IIS Site?

Feb 13, 2010

I'd like to implement a POP3-mailbox processing component for our medium-sized consumer website. Our site uses IPSwitch as the mail/smtp/pop host. This processing component would let us offer "reply to this message board discussion via email" type services. It would need to run constantly; or at the very least, every 3-5 minutes or something.

I'm pretty sure I know what I need to do to implement this POP3 reader in C#, but I'm just not sure of the mechanism that makes it happen every 3-5 minutes, keeps it running when the machine reboots, etc. Task Scheduler seems a little brittle. Should this be written instead as a Windows Service? And if so, can I get some good pointers on how to write an Installable Service in C#? Or, if there's a better plan to run a daemon on an IIS box, I'd much appreciate it.

View 3 Replies

Implement Cache Solution For Site?

Nov 15, 2010

I'm working on a public site that soon will not longer be 100% public. Paid users will be able to access 100% of the features while "anonymous" users will access a reduced version. The problem is that anonymous users and paid users will access the same pages, but they'll see different things. I wonder about how to keep using cache for all pages. I have to 100% sure that I show the correct content for each type of user. Will be extremely bad to show a cached version of the paid site to an anonymous user (and the other way around). Preferably, without adding anything to the url to differentiate user type.

View 2 Replies

Implement A Web Site Installer For Application

Feb 3, 2010

I need to implement a web site installer for my asp.net application. The installer will be handling following features - Deploy the .net web application on to the IIS server Setting up the Sql database connection to run the DB scripts. Execute all the DB scripts. Run another exe for the license management. If some thing goes wrong, need to rollback everything. I have heard about wix and install shield and wondering what would be the best technology suitable for this particular case.

View 2 Replies

Way To Implement The PRG Design Style In A Small Site

Feb 20, 2010

I'm trying to figure out a logical and quick way to implement the "PRG" design style in a small site I'm doing, and I'm finding an issue I can't think of a good way to solve.I have a form. It has 2 fields (first and last name). When the user submits the form, I check to make sure that they have data in them before I save it to the database. If they do not, then I show them a nice little error message and leave what little they have entered still in the form.However, in order to correctly implement PRG, as I understand it

View 1 Replies

How To Implement Security For MVC Site To Deny Access To A Particular Group

Dec 8, 2010

I have an internal corporate ASP.NET MVC website.

Requirement(1): When any person is on the network, they can access this site EXCEPT one AD Group (Example: AD_Sales group).

Requirement(2): Also like for example if a person that has the access passes a url (Ex: http://mysite/Home/Index/Product/Letter) to a sales group person, he still should NOT access and need to display a custom message saying "You are not authorised to view this page".

If the scenario is like to issue the access to one AD Group and deny access for all others, it is fairly is. It can done from IIS. I am Wondering how to do this.

View 2 Replies

AJAX :: How To Implement A Simple Autocomplete Textbox Into My Asp.net Site

Jun 14, 2010

I'm implementing a simple autocomplete textbox into my asp.net site and this is what I've come up with:

[Code]...

View 10 Replies

Forms Data Controls :: Best Practice For Gridview Creation/Maintenance?

Oct 7, 2010

I have been tasked with producing a web application for a new client. What they're looking for requires a Gridview with slave Detailsview within an Update Panel.

I produced this, including the Gridview in markup, as follows:[Code]....
[Code]....

However, although it works, it's been requested that I move most of this to code behind (for easier maintenance), which is causing me a few headaches.

What is the correct option here, since I see many potential methods?

Should I create an instance of the Gridview and Update Panel in markup, then define all events and columns in code behind? Create a new Gridview entirely in code behind and place it within the Update Panel? Create both in code behind?

View 8 Replies

Web Forms :: HRM / PayRoll Salary Deduction On Basis Of CL And Daily Attendance Maintenance?

Mar 5, 2010

I have developed an online HRM package ...

I need to maintain daily attendance of every employee ...

Salary is given on 1st of every month , minimum CL for an employee is 12 days in a year. After 12 days , if he or she absent more than 12 days of CL , then deduct from his or her salary amount to be paid next times.

View 1 Replies

Lock Application For Maintenance?

Feb 23, 2010

What I'm looking to do is lock the application so the admin can do maintenance for however long. All i want to do is be able to click a button on a "maintenance" page and it makes it so anyone who attempts to use the system and anyone who is already in the system is redirected to a page, if they try to do anything, that says the site is down for maintenance.

on postback, on redirect, etc. No Access until that button is clicked again to unlock.

View 4 Replies

Configuration :: Put Website In Maintenance Mode?

Jul 22, 2010

I want to put website in maintenance mode, so i can rollover my new stuff. How can i keep users away from loging into my website and i will test my website live.

App_offline.html takes admin away as well. Is there any logical way of doing this?

View 4 Replies

Webform For A Simple Lookup Table Maintenance?

Aug 31, 2010

I'm looking for a simple webform for maintenance of a SQL Server which has only two columns: LookupID (int, not null) identity and LookupValue (nvarchar (50), not null).

View 1 Replies

Perform Daily Maintenance On Database Records In MVC2 Project?

Jan 11, 2011

A web application works with the database. Once a day, the database should be scanned and alerts should be sent to users. From what I've seen out there, additional project has to be created which will be installed on the server and will work with the same database. Executable created by this project has to be installed in Windows scheduler to be activated once a day.This seems complicated and inefficient: starting additional executable and working on the same database.

View 1 Replies

IIS Configuration :: Show Custom Error Message When Website Is Under Maintenance

Sep 17, 2012

How to show page Error msgs wen user tries to open the page , while tat page is under uploading on the sever?

View 1 Replies

Implement Paypal Payment Process In Our Site Without Payment Gatway Redirection

Dec 16, 2010

We need to integrate creditcard/paypal payment process using paypal gateway in our asp.net web application.The process goes like this:User picks item in our Web site User fills out order info and goes to our payment option page User selects PayPal as payment User gets PayPal payment process in our site (without payment gatway redirection)nally we need to confirm to PayPal that we want to process this order and PayPal confirms to us that the order went through.

View 2 Replies

Web Forms :: Updating A Master Page Label Per Page On Site?

Dec 13, 2010

I have a label within my master page that is part of our footer. In the footer, we are wanting to display page specific information. So as you make your way around the site, the footer will contain content about that page along with other data that is universa on the entire site.I had a somewhat similar question some time back that i posted here..

http://forums.asp.net/t/1615850.aspx it was for a shopping cart of sorts..

cartct.Text = ShoppingCart.Instance.Items.Count().ToString() + " Items In Cart";

If Label is in master page, you have to use FindControl to get the Label and udpate its text

((Label)Master.FindControl("cartct")).Text=String.Format("{0} Items In Cart",ShoppingCart.Instance.Items.Count() );

once you select another page, you dont have it anymore,If you want to share data across different pages, consider using Session to save Items count.

View 6 Replies

Visual Studio :: Sharing A Solution File - Projects Settings/Configurations Maintenance?

Sep 1, 2010

I am using VS2005 and I have a solution file (.SLN) which has 8 projects. I moved the solution file to a different path on a shared folder to have better organization of my projects and to allow access to the solution/projects from any computer on the network. After that, I edited the .SLN file so that the path of the projects in the solution file are correct (all on shared folders).

After that, I opened the .SLN and everything seemd to be working fine. However, I notcied that the "Start Options" of the website part of the solution file is missing the "Start Options", ie, the Start Options are reset to default values. I think also, but not sure, some other settings of the Solution/Projects have been reset.

Questions:

1. Where the Web Site "Start Options" are stored ?

2. How I can maintain the Start Options and similar settings if the .SLN file is moved or opened from different computers on the network ?

3. I am not using an team development tools, only plain (vanilla) VS 2005 Prof. Edition. Is it possible to have 2 or more developers work on the same solution/projects (shared on the network), if both developers will coordinate manually simultanous access to the porject files/resources/source code ?

View 6 Replies

Web Forms :: Implement Image Crop On Master Page?

Mar 9, 2010

I have a problem regarding implement Image Crop on Master pageI am using following code and it is working OK on .aspx page

[Code]....

[Code]....

View 1 Replies

Web Forms :: How To Implement Partial Page Caching With An AdRotator Control

Aug 18, 2010

How do I implement partial page caching with an AdRotator control? I know it's supposed to do it automatically, but I'm using the AdCreated event to handle stats, and this seems to cause the ad to be cached along with the rest of the page.

View 4 Replies

Web Forms :: Programmatically Implement A Facebook Style Page Access?

Apr 21, 2010

I have an asp.net app that allows users to create personal pages which can be publicly accessed thru a "directory" page. The content of the pages is stored in sql server, so a given user's page is dynamically created thru the code that executes when the relevant link on the directory page is clicked.

I would like to take this a step further by allowing access to a given user's page directly thru the browser's address bar, something like www.thegreatestsite.com/jim (pretty much like You Tube, Facebook, etc.).

I could achieve this by manually creating a folder under the root, called "jim" and putting a default.aspx page in it which would have code in it's load event that would dynamically create jim's page.

However, I would like this "additional feature" to be created automatically, as part of the sign up process of the user.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved