Wrox Programmer Forums
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking 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 Basics 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 June 5th, 2007, 08:58 PM
Registered User
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jason_lai
Default about wrong page redirect!

why it's not enable when I have made the user-defined page at the manage tools of asp.net website?where is wrong and how to do?
I use the Microsoft Visual Web Developer 2005 for website.
Please help me,thank you !

Old June 6th, 2007, 01:18 AM
Friend of Wrox
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post

Please be more specific with your query/issue, please let us know exactly what you are trying to do, and where you are facing problem!!!!


Don't expect too much, too soon.
Old June 6th, 2007, 08:31 PM
Registered User
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jason_lai

hi,mike :
thank you!!
the problem is this:
1.open the asp.net application programme manage.
2.choice the "application programme "selection
3.go into "the define default error page" link at the "debugging and scout"
4.choice "the default error page URL of been destined for"
5.and select my wrong page(for example:myError.aspx).


<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="myError.aspx.vb" Inherits="_Default" title="Untitled Page" Theme ="themes1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="sServer">
Sorry! This is wrong page!<br />


the code:
<customErrors defaultRedirect="~/myError.aspx" /> is in the webconfig.

the question is:
why not direct the myError.aspx when i am testing.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Page redirect help jroxit Classic ASP Basics 7 August 11th, 2008 11:01 AM
redirect to page other than default page sarah lee ASP.NET 1.0 and 1.1 Basics 3 December 15th, 2006 05:45 PM
Redirect to new page without closing current page peter2004 ASP.NET 2.0 Basics 5 June 5th, 2006 08:49 PM
Redirect to next page qazi_nomi Javascript How-To 1 September 1st, 2004 02:07 AM

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