Wrox Programmer Forums
|
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 20th, 2009, 11:26 PM
Authorized User
 
Join Date: Dec 2007
Posts: 59
Thanks: 9
Thanked 0 Times in 0 Posts
Default 404 Not Found Folder or File

Hello all
I have some problem with the page or the document that not found but now i want the page not found it will be direct to another page like 404.aspx page
This assumes I named my error page 404.aspx, and that the error page is in the root folder of your web site.
Ex:Test it out by going to http://www.mysite.com/asdfdgdg.
or http://www.mysite.com/asdfdgdg.aspx (it is folder wrong)
Thanks so much for helping me to do that
Best wish and thanks
Hoang Phuc
 
Old January 21st, 2009, 02:03 AM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

You have to check with MySite.com to see if they *ALLOW* you to specify an error handler. Some web hosts allow it, others (especially the free and cheap ones) do not.
 
Old March 24th, 2009, 03:01 AM
Authorized User
 
Join Date: Dec 2007
Posts: 59
Thanks: 9
Thanked 0 Times in 0 Posts
Default

I have tried but not success.
Please help me to do that
Thanks all and best wishes
 
Old March 24th, 2009, 05:20 PM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

Ummm....www.mysite.com does *NOT* support ASP.NET pages!

They appear to be strictly a LINUX hosting environment. So OF COURSE you can't get any ".aspx" page to work on their site!

You need to find a different host.





Similar Threads
Thread Thread Starter Forum Replies Last Post
404 File not found error jayman Dreamweaver (all versions) 3 March 13th, 2006 12:59 PM
ERROR: HTTP 404 File not Found or unable to stat f rpk BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 1 January 4th, 2006 10:20 PM
404 - File not found error geeta Classic ASP Professional 1 October 23rd, 2004 09:25 AM
HTTP 404 Page not found hosefo81 Beginning PHP 4 October 26th, 2003 06:27 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.