473,396 Members | 1,995 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Problems with app_offline.htm not showing after app uninstall

Folks,

I'm facing some problems with the cool new "app_offline.htm" feature
in ASP.NET 2.0.

My web app is being bundled up into an .MSI and installed by executing
that MSI - works nicely. My virtual directory has been created
manually, before the app's installation.

Now I was hoping to be able to just drop in an "app_offline.htm" file
into my web virtual dir, and then uninstall my old app version, and
install the new one.

Well, it works - almost. When I drop in the app_offline.htm,
everything's fine and dandy, users coming to my URL are shown the
contents of the offline message - nice!

However, as soon as I'm done with the app uninstall, my users suddenly
get a "Unauthorized to view this page" error, instead of the
app_offline.htm file.

The file's still there and all - but it appears that the uninstall has
done something to the virtual directory, so that the app_offline.htm
is not shown anymore. If I add app_offline.htm manually to the list of
accepted documents (along with default.aspx), then it works again -
but it's annoying that I have to manually go tweak the virtual
directory every time I uninstall the app.

Any ideas??

Marc
Aug 23 '06 #1
0 1174

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Attila | last post by:
I have written an app that is not showing up in add/remove programs and I don't know how to uninstall it without the .msi. The purpose for the uninstall is to install a newer version, but it keeps...
8
by: Michael C | last post by:
Hi all, I'm still having problems with VS.NET 2003 running on my XP machine. I finally decided I might as well uninstall completely and reinstall from scratch. But lo and behold it won't let...
5
by: Sam777 | last post by:
I was under the impression that creating the app_offline.htm file at the root of the webapp would cause all handles to be closed so that the app could be removed. Unfortunately, this isn't the...
2
by: fhtino | last post by:
App_offline.htm is a very usefull feature during web site updates. But I don't understand why asp.net engine returns a 404 status code instead of a "normal" 200. I created a simple app_offline...
2
by: Victor Rodriguez | last post by:
Is there a way to have a custom app_offline file when publishing a website from .NET 2005? thanks, Victor
5
by: jonefer | last post by:
everyone talks about how cool this file is, and I imagine it would be if I intentionally put it there. However, I just want to publish my page. Thus far, I have been successful publishing it to...
2
by: Larry Rebich | last post by:
App_Offline.htm DOES take the site down. Good. App_Offline.htm's message is not displayed. Bad I'm getting a generic 404 message rather than the App_Offline message - which contains a...
0
by: Adam Nofsinger | last post by:
Hi, I recently started having a problem with Visual Studio .NET 2005 and creating / viewing ASP.NET 2.0 websites. About 1/4 of the time, when I click on a page and click "View in Browser", or...
1
by: Ned White | last post by:
Hi All, is it possible to customize the app_offline.htm file that VS creates ? or can i use diffrent htm file instead of app_offline.htm when deploying the application ? Thanks
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.