Solved

asp.net - Property evaluation failed

Posted on 2011-09-06
1
724 Views
Last Modified: 2012-06-21
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
Comment
Question by:GlobaLevel
1 Comment
 
LVL 7

Accepted Solution

by:
kovilpattiBalu earned 500 total points
ID: 36493865
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Edureka is one of the fastest growing and most effective online learning sites.  We are here to help you succeed.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now