Hi All,
How can I prevent my end users from noticing an error when we are
re-compiling our project? Is there any way? Or how can we show a
user-friendly message when we are recompiling the project?
Thanks a bunch!!! 6 1354
Hello Diffident,
If you want to provide a user-friendly message while you do maintenance on
your website, you can place a file named app_offline.htm in the root of your
web application directory. See ScottGu's blog for additional information: http://weblogs.asp.net/scottgu/archi...06/426755.aspx
--
enjoy - brians http://www.limbertech.com
"Diffident" wrote:
Hi All,
How can I prevent my end users from noticing an error when we are
re-compiling our project? Is there any way? Or how can we show a
user-friendly message when we are recompiling the project?
Thanks a bunch!!!
Hello Brian,
I forgot to inform you that I am using ASP.NET 1.1 and not 2.0. Does this
feature apply for ASP.NET 1.1 too?
Thanks a lot!!
"brians[MCSD]" wrote:
Hello Diffident,
If you want to provide a user-friendly message while you do maintenance on
your website, you can place a file named app_offline.htm in the root of your
web application directory. See ScottGu's blog for additional information:
http://weblogs.asp.net/scottgu/archi...06/426755.aspx
--
enjoy - brians http://www.limbertech.com
"Diffident" wrote:
Hi All,
How can I prevent my end users from noticing an error when we are
re-compiling our project? Is there any way? Or how can we show a
user-friendly message when we are recompiling the project?
Thanks a bunch!!!
Yes, it applys for both.
Best bet, if possible, is use a web farm configuration and update one at a
time. Then, you have 0 down time. No feasible in all situations, however.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA http://gregorybeamer.spaces.live.com
*************************************************
Think outside of the box!
*************************************************
"Diffident" <Di*******@discussions.microsoft.comwrote in message
news:D0**********************************@microsof t.com...
Hello Brian,
I forgot to inform you that I am using ASP.NET 1.1 and not 2.0. Does this
feature apply for ASP.NET 1.1 too?
Thanks a lot!!
"brians[MCSD]" wrote:
>Hello Diffident,
If you want to provide a user-friendly message while you do maintenance on your website, you can place a file named app_offline.htm in the root of your web application directory. See ScottGu's blog for additional information:
http://weblogs.asp.net/scottgu/archi...06/426755.aspx
-- enjoy - brians http://www.limbertech.com
"Diffident" wrote:
Hi All,
How can I prevent my end users from noticing an error when we are
re-compiling our project? Is there any way? Or how can we show a
user-friendly message when we are recompiling the project?
Thanks a bunch!!!
Hello Beamer,
The "app_offline.htm" does not seem to be working for ASP.NET 1.1
application. Here is why:
1. I copied the "app_offline.htm" into my "wwwroot" folder which is the root
of applicaiton.
2. I started the build process.
3. I tried accessing the application using http://localhost
4. It tried displaying the page that I was accessing.
Thanks for any pointers!!!
"Cowboy (Gregory A. Beamer)" wrote:
Yes, it applys for both.
Best bet, if possible, is use a web farm configuration and update one at a
time. Then, you have 0 down time. No feasible in all situations, however.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA http://gregorybeamer.spaces.live.com
*************************************************
Think outside of the box!
*************************************************
"Diffident" <Di*******@discussions.microsoft.comwrote in message
news:D0**********************************@microsof t.com...
Hello Brian,
I forgot to inform you that I am using ASP.NET 1.1 and not 2.0. Does this
feature apply for ASP.NET 1.1 too?
Thanks a lot!!
"brians[MCSD]" wrote:
Hello Diffident,
If you want to provide a user-friendly message while you do maintenance
on
your website, you can place a file named app_offline.htm in the root of
your
web application directory. See ScottGu's blog for additional information:
http://weblogs.asp.net/scottgu/archi...06/426755.aspx
--
enjoy - brians http://www.limbertech.com
"Diffident" wrote:
Hi All,
How can I prevent my end users from noticing an error when we are
re-compiling our project? Is there any way? Or how can we show a
user-friendly message when we are recompiling the project?
Thanks a bunch!!!
Hello Diffident,
Yeah, app_offline.htm won't work with .net 1.1. One way to do want you want
to do would be to alter the web.config file to deny all users access your
website and use the loginUrl to Sitedown.aspx (or something like that).
Obviously, you just have a message that the site is down on the Sitedown.aspx
page and don't display any login controls. Doesn't even require a
recompilation:
=-=-=-=-
<!-- AUTHENTICATION
This section sets the authentication policies of the application. Possible
modes are "Windows", "Forms", "Passport" and "None"
-->
<authentication mode="Forms">
<forms loginUrl="sitedown.aspx" protection="All" timeout="30">
</forms>
</authentication>
<authorization>
<deny users="*" />
</authorization>
=-=-=-=-=-=-=-
Another way that I've seen suggested is to put a redirect into the
global.asax file along the lines of:
void Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
{
Response.Redirect("sitedown.aspx")
}
=-=-=-=-=-=-
enjoy - brians http://www.limbertech.com
"Diffident" wrote:
Hello Beamer,
The "app_offline.htm" does not seem to be working for ASP.NET 1.1
application. Here is why:
1. I copied the "app_offline.htm" into my "wwwroot" folder which is the root
of applicaiton.
2. I started the build process.
3. I tried accessing the application using http://localhost
4. It tried displaying the page that I was accessing.
Thanks for any pointers!!!
"Cowboy (Gregory A. Beamer)" wrote:
Yes, it applys for both.
Best bet, if possible, is use a web farm configuration and update one at a
time. Then, you have 0 down time. No feasible in all situations, however.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA http://gregorybeamer.spaces.live.com
*************************************************
Think outside of the box!
*************************************************
"Diffident" <Di*******@discussions.microsoft.comwrote in message
news:D0**********************************@microsof t.com...
Hello Brian,
>
I forgot to inform you that I am using ASP.NET 1.1 and not 2.0. Does this
feature apply for ASP.NET 1.1 too?
>
Thanks a lot!!
>
"brians[MCSD]" wrote:
>
>Hello Diffident,
>>
>If you want to provide a user-friendly message while you do maintenance
>on
>your website, you can place a file named app_offline.htm in the root of
>your
>web application directory. See ScottGu's blog for additional information:
>>
>http://weblogs.asp.net/scottgu/archi...06/426755.aspx
>>
>--
>enjoy - brians
>http://www.limbertech.com
>>
>>
>"Diffident" wrote:
>>
Hi All,
>
How can I prevent my end users from noticing an error when we are
re-compiling our project? Is there any way? Or how can we show a
user-friendly message when we are recompiling the project?
>
Thanks a bunch!!!
Hello Brian,
The solutions that you gave me will work if the application was up and
running. What if I was recompiling the project? global.asax or web.config
will not work....will they?
"brians[MCSD]" wrote:
Hello Diffident,
Yeah, app_offline.htm won't work with .net 1.1. One way to do want you want
to do would be to alter the web.config file to deny all users access your
website and use the loginUrl to Sitedown.aspx (or something like that).
Obviously, you just have a message that the site is down on the Sitedown.aspx
page and don't display any login controls. Doesn't even require a
recompilation:
=-=-=-=-
<!-- AUTHENTICATION
This section sets the authentication policies of the application. Possible
modes are "Windows", "Forms", "Passport" and "None"
-->
<authentication mode="Forms">
<forms loginUrl="sitedown.aspx" protection="All" timeout="30">
</forms>
</authentication>
<authorization>
<deny users="*" />
</authorization>
=-=-=-=-=-=-=-
Another way that I've seen suggested is to put a redirect into the
global.asax file along the lines of:
void Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
{
Response.Redirect("sitedown.aspx")
}
=-=-=-=-=-=-
enjoy - brians http://www.limbertech.com
"Diffident" wrote:
Hello Beamer,
The "app_offline.htm" does not seem to be working for ASP.NET 1.1
application. Here is why:
1. I copied the "app_offline.htm" into my "wwwroot" folder which is the root
of applicaiton.
2. I started the build process.
3. I tried accessing the application using http://localhost
4. It tried displaying the page that I was accessing.
Thanks for any pointers!!!
"Cowboy (Gregory A. Beamer)" wrote:
Yes, it applys for both.
>
Best bet, if possible, is use a web farm configuration and update one at a
time. Then, you have 0 down time. No feasible in all situations, however.
>
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA http://gregorybeamer.spaces.live.com
>
*************************************************
Think outside of the box!
*************************************************
"Diffident" <Di*******@discussions.microsoft.comwrote in message
news:D0**********************************@microsof t.com...
Hello Brian,
I forgot to inform you that I am using ASP.NET 1.1 and not 2.0. Does this
feature apply for ASP.NET 1.1 too?
Thanks a lot!!
"brians[MCSD]" wrote:
Hello Diffident,
>
If you want to provide a user-friendly message while you do maintenance
on
your website, you can place a file named app_offline.htm in the root of
your
web application directory. See ScottGu's blog for additional information:
> http://weblogs.asp.net/scottgu/archi...06/426755.aspx
>
--
enjoy - brians http://www.limbertech.com
>
>
"Diffident" wrote:
>
Hi All,
How can I prevent my end users from noticing an error when we are
re-compiling our project? Is there any way? Or how can we show a
user-friendly message when we are recompiling the project?
Thanks a bunch!!!
>
>
>
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: AIM |
last post by:
Error in msvc in building inheritance.obj to build hello.pyd
Hello,
I am trying to build the boost 1.31.0 sample extension hello.cpp.
I can not compile the file inheritance.cpp because the two...
|
by: Douglas Buchanan |
last post by:
I am using the following code instead of a very lengthly select case
statement.
(I have a lot of lookup tables in a settings form that are selected
from a ListBox. The data adapters are given a...
|
by: David++ |
last post by:
Hi there,
I have built a DLL in Visual C++ 6. When I build the DLL it builds fine for
the debug version of the DLL (and this DLL works fine), however, I seem
unable to build a Release version of...
|
by: ktelep |
last post by:
I'm trying to build python 2.4.2 on AIX 5.3 with the IBM xlC compiler
as per the notes in the AIX Readme file. Basically my make fails with
the errors listed below.
I'm calling configure with:...
|
by: |
last post by:
I'm having a problem finding the cause for this problem. I have a solution
in Visual Studio 2005 that contains two projects -- a Web Site and a Class
Library. The web site references the class...
|
by: Ted Zeng |
last post by:
Hi,
I am new to Python. I am trying to build MySQLdb for my PowerPC
PowerMac.
I just downloaded the source last week and tried to build it.
But I got the error messages as follow. I checked and...
|
by: Soren |
last post by:
Hi!
I'm trying to extend my python program with some C++ code. Right now
I've spent hours just trying to get boost to work!
I'm trying to get the example hello.cpp to work.
Using Windows XP...
|
by: Darrin Thompson |
last post by:
I've been trying to build pyOpenSSL on Windows with Visual Studio
2003. I've hit the message below:
building 'OpenSSL.SSL' extension
creating build\temp.win32-2.5\Release\src\ssl
C:\Program...
|
by: eranshuman |
last post by:
Hi,
I m very new to perl
I m running an API which have the Buil.pl
When Im compiling using perl Build.pl
I was getting error :
Can't locate Module/Build.pm in @INC (@INC contains:...
|
by: Owen Zhang |
last post by:
I am trying to build lxml package in SunOS 5.10. I got the following
errors. Does anybody know why?
$ python setup.py build
Building lxml version 2.1.
NOTE: Trying to build without Cython,...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
| |