I am having a unique problem. I am using FormsAuthentication but in one condition I need to redirect a user to another Page besides the Default page after they successfully log-in. My problem is when I use Response.Redirect(Url) i am getting an exception
(Property Evaluation Failed on the Reponse.Redirect Method). Even when I go down just the Response Object in the watch window I get the same error. I have taken out the FormsAuthentication in the Webconfig and put it back to Windows. I have never seen this
before. I am hoping someone has and I have overlooked something simple. :-) Any suggestions?
stratboogie
Participant
842 Points
206 Posts
Response.Redirect Property Evaluation Failed
Jul 27, 2008 12:30 AM|LINK
Hey guys,
I am having a unique problem. I am using FormsAuthentication but in one condition I need to redirect a user to another Page besides the Default page after they successfully log-in. My problem is when I use Response.Redirect(Url) i am getting an exception (Property Evaluation Failed on the Reponse.Redirect Method). Even when I go down just the Response Object in the watch window I get the same error. I have taken out the FormsAuthentication in the Webconfig and put it back to Windows. I have never seen this before. I am hoping someone has and I have overlooked something simple. :-) Any suggestions?
Regards
Tim
stratboogie
Participant
842 Points
206 Posts
Re: Response.Redirect Property Evaluation Failed
Jul 27, 2008 01:02 AM|LINK
Got it fixed.
Solution is here:
http://support.microsoft.com/kb/312629/EN-US/lovedotnet
Member
10 Points
6 Posts
Re: Response.Redirect Property Evaluation Failed
Aug 30, 2010 03:54 PM|LINK
Thanks Tim. I had the same problem and the solution you suggested helped.
prateekfgiet
Member
8 Points
6 Posts
Re: Response.Redirect Property Evaluation Failed
Mar 11, 2011 10:30 AM|LINK
Hi ,
this solution works
thanks
08800385847
prateekfgiet@gmail.com
alpatel2011
Member
2 Points
1 Post
Re: Response.Redirect Property Evaluation Failed
Aug 18, 2011 01:17 PM|LINK
I write this below code in my login.aspx page. but sometime web config error.
If conn.State = ConnectionState.Open Then
cmdd.Dispose()
conn.Close()
End If
Response.Redirect("xyz.aspx", False)
Not all time this error show. Few times throw this error.
Thanks
Please send me solution.
s.mehdi
Member
2 Points
1 Post
Re: Response.Redirect Property Evaluation Failed
Feb 15, 2012 03:27 AM|LINK
thanks for your solution it work.