• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 736
  • Last Modified:

asp.net - 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
            try
                Response.Redirect("Home.aspx")
            Catch ex As Exception
            end try
                Exit Sub
            End If

I stepped thru the code and its the session varaibles are populated correctly...odd
0
GlobaLevel
Asked:
GlobaLevel
1 Solution
 
kovilpattiBaluCommented:
http://support.microsoft.com/kb/312629/EN-US/

        OR

I tried this 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)



0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now