Response.Redirect problem
Response.Redirect problem
am 15.01.2008 23:52:10 von James
ASP.NET 2.0. I stepped through a clicking of our login button on our
website. All of the validation happens properly and then this line causes
an exception:
Response.Redirect("BeginProperty.aspx")
This is failing for me with the following exception:
Value cannot be null. Parameter name: url. I can't even figure out where to
begin debugging this. Any thoughts?
Re: Response.Redirect problem
am 16.01.2008 02:42:04 von chad
On Jan 15, 4:52 pm, "James" wrote:
> ASP.NET 2.0. I stepped through a clicking of our login button on our
> website. All of the validation happens properly and then this line causes
> an exception:
>
> Response.Redirect("BeginProperty.aspx")
>
> This is failing for me with the following exception:
>
> Value cannot be null. Parameter name: url. I can't even figure out where to
> begin debugging this. Any thoughts?
Could you possibly post the slack trace of this error? My initial
assumption is that you're looking in the wrong place for this error.
Re: Response.Redirect problem
am 16.01.2008 05:12:26 von zzzxtreme
try response.redirect("http://something.com")
see if you get same error
On Jan 16, 6:52=A0am, "James" wrote:
> ASP.NET 2.0. =A0I stepped through a clicking of our login button on our
> website. =A0All of the validation happens properly and then this line caus=
es
> an exception:
>
> Response.Redirect("BeginProperty.aspx")
>
> This is failing for me with the following exception:
>
> Value cannot be null. Parameter name: url. =A0I can't even figure out wher=
e to
> begin debugging this. =A0Any thoughts?
Re: Response.Redirect problem
am 16.01.2008 08:49:48 von Steve
Try using the second (optional) boolean parameter of the Response.Redirect
method.
--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
http://iPhonePlaza.net
"James" wrote in message
news:uisHak8VIHA.5448@TK2MSFTNGP04.phx.gbl...
> ASP.NET 2.0. I stepped through a clicking of our login button on our
> website. All of the validation happens properly and then this line causes
> an exception:
>
> Response.Redirect("BeginProperty.aspx")
>
> This is failing for me with the following exception:
>
> Value cannot be null. Parameter name: url. I can't even figure out where
> to begin debugging this. Any thoughts?
>
Re: Response.Redirect problem
am 16.01.2008 12:15:02 von amir.khatibzadeh
try this one
Response.Redirect("address", true);