What is the easiest way to give a system maintenance message to users who
try to run an asp.net application. I do not have separate development and
runtime environment, I just need to figure out a way to return a message back
to user while I am changing application.
Thanks,
Jim.Hi Jim,
You could send them a custom error message as outlined here:
http://support.microsoft.com/defaul...kb;en-us;308132
If you know the exact error status code they are likely to get, you can
redirect it in the web.config
<customErrors
defaultRedirect="http://hostName/applicationName/errorStatus.htm" mode="On">
<error statusCode="404" redirect="filenotfound.htm" />
</customErrors
"JIM.H." <JIMH@.discussions.microsoft.com> wrote in message
news:B83657EF-7E8F-45B0-87FD-FC2D3AB4A3BD@.microsoft.com...
> Hello,
> What is the easiest way to give a system maintenance message to users who
> try to run an asp.net application. I do not have separate development and
> runtime environment, I just need to figure out a way to return a message
> back
> to user while I am changing application.
> Thanks,
> Jim.
0 comments:
Post a Comment