Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

asp.net - Property evaluation failed

Posted on 2011-09-06
1
Medium Priority
?
734 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
kovilpattiBalu earned 2000 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

What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
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…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

704 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