Solved

Server.Transfer going to the wrong page

Posted on 2006-11-03
2
195 Views
Last Modified: 2006-11-18
I'm working on an existing ASP.NET 2003 application and noticed that they use Server.Transfer to move to another page in the application.  

The problem is, I added a button to a form in the app that does a Server.Transfer to a new page.  When it executes, it does not go to the page specified, it goes to a different page.  Is anyone aware of any framework issues that need to be setup to allow a page to call another page? I know that the Server.Transfer doesn't actually display the right page name, but it's not going to the right place either.

Thanks so much!
0
Comment
Question by:MrDeveloper
[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
2 Comments
 
LVL 13

Accepted Solution

by:
jeebukarthikeyan earned 500 total points
ID: 17867576
hi,

check any other response.redirect is there in the page load of the form from which ur caling the server.tranfer

also chek in the called form whether any code is there which is causing redirection

better put a break point in the page load of the called form

b u d d h a
0
 

Author Comment

by:MrDeveloper
ID: 17876867
Thanks buddha, that pointed me right to the problem!
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

749 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