470,821 Members | 2,068 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,821 developers. It's quick & easy.

Silly Questions on 404 Error (ASP.NET 2.0)

- What is the difference between setting up 404 error page in web.config file
and in hosting site (such as 404 Error behavior in godaddy.com)?
- Do we need to set up at both web.config and hosting site to get 404 custom
error page?
Jul 11 '06 #1
2 1045
AFAIK likely similar to 1.1 that is the 404 page defined in ASP.NET will be
triggered for files handled by ASP.NET (the mapping can be seen changed in
the IIS console) while the 404 page defined at the IIS level will be
triggered for all files...

--
Patrice

"semaj" <se***@discussions.microsoft.coma écrit dans le message de news:
1A**********************************@microsoft.com...
>- What is the difference between setting up 404 error page in web.config
file
and in hosting site (such as 404 Error behavior in godaddy.com)?
- Do we need to set up at both web.config and hosting site to get 404
custom
error page?

Jul 12 '06 #2
That means if I defined 404 page at IIS level, I don't have to define at
ASP.NET, right?

"Patrice" wrote:
AFAIK likely similar to 1.1 that is the 404 page defined in ASP.NET will be
triggered for files handled by ASP.NET (the mapping can be seen changed in
the IIS console) while the 404 page defined at the IIS level will be
triggered for all files...

--
Patrice

"semaj" <se***@discussions.microsoft.coma écrit dans le message de news:
1A**********************************@microsoft.com...
- What is the difference between setting up 404 error page in web.config
file
and in hosting site (such as 404 Error behavior in godaddy.com)?
- Do we need to set up at both web.config and hosting site to get 404
custom
error page?


Jul 12 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by drs | last post: by
2 posts views Thread by Edward | last post: by
4 posts views Thread by Jenny | last post: by
1 post views Thread by David Thole | last post: by
2 posts views Thread by Seguros Catatumbo | last post: by
3 posts views Thread by Nemisis | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.