- Property evaluation failed

I am curious when I get to my TRY statement here to redirect to another page I get..
"Property Evaluation falied"

yet it worked on the other server with windows server 2003,

now I have the new server windows 2008 and it throws this error.

the web app is .net 2.0, but that wouldnt be the issue would it?

 If Session("SessionUsername") <> "" And Session("sessionPassword") <> "" Then
            Catch ex As Exception
            end try
                Exit Sub
            End If

I stepped thru the code and its the session varaibles are populated correctly...odd
LVL 10
Who is Participating?
kovilpattiBaluConnect With a Mentor Commented:


I tried this code in my login.aspx page. but sometime web config error.    

                If conn.State = ConnectionState.Open Then
                End If
                Response.Redirect("xyz.aspx", False)

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.