Problems with app_offline.htm not showing after app uninstall

M

Marc Scheuner

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top