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
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