page not found

  • Thread starter Thread starter ypul
  • Start date Start date
Y

ypul

on my local server i am getting ".net error" of "page not found "
but on my hosting server I am not getting .net error ...I am getting the
normal page not found error

what could be the reason ?
is it that the hosting service has redirected the page and before it reaches
"isapi" or .net framework, the error is traped by IIS and redirected.

how should I find it out ??
 
If you are saying that when you request a non-existant .aspx page you get
a "This page cannot be found" instead of "The resource cannot be found"
you need to look in the script mappings.

Right-click Web Site/Virtual Directory
Choose properties
Click Virtual Directory tab/Home Directory tab (VirtDir/Website,
respectively)
Click Configuration button
Choose Mapping tab
Ensure .aspx is listed under Mappings
Edit the mapping entry
Check "Check that file exists" to get HTML error page "This page cannot
be found"
Uncheck to get ASPX error page "The resource cannot be found"
 
Thanks a lot !!
U are right it could be the reason.
very much informative ...i will check with my web-site hosting company..

vipul
 
Back
Top