Solved

asp.net - Property evaluation failed

Posted on 2011-09-06
1
728 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

808 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