473,387 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Server.Transfer( ... ) between apps

mg

I have two apps off wwwroot:

App1/WebForm1.aspx

App2/WebForm1.aspx

In the code behind of App1/WebForm1.aspx, I have

private void Button1_Click(object sender, System.EventArgs
e)

{
Server.Transfer("/App2/WebForm1.aspx");
}

But, App2/WebForm1.aspx doesn't load.

Any help with this problem would be appreciated.
Nov 18 '05 #1
1 1185
you can only Server.Transfer to a apx page in the same application, you
should use a Redirect instead.

"mg" <mg@theworld.com> wrote in message
news:05****************************@phx.gbl...

I have two apps off wwwroot:

App1/WebForm1.aspx

App2/WebForm1.aspx

In the code behind of App1/WebForm1.aspx, I have

private void Button1_Click(object sender, System.EventArgs
e)

{
Server.Transfer("/App2/WebForm1.aspx");
}

But, App2/WebForm1.aspx doesn't load.

Any help with this problem would be appreciated.

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Jegger | last post by:
Hello! We have following situation; network with 100 users, aplication developed in Access, user DB deployed on SQL Server. Is it better to create query inside aplication (with code) and then...
2
by: Tom Leylan | last post by:
I'd like to find/have a discussion about the various ways an application server could be implemented. So the upsides and downsides can be discussed. In case I'm using the term wrong by "app...
3
by: Sanjay Minni | last post by:
We have mostly client-server apps with large scale database usages (Oracle / SybaseSQLAnywhere,...). Apps are delivered 1-to-1 specific client as well as some are sold as off the shelf. All have to...
3
by: Maur | last post by:
I have Office XP Pro and Developer Edition and SQL Server installed on my local development machine. Given the option of installing; Visual Studio 6.0 Enterprise Edition AND/OR Visual...
26
by: David W. Fenton | last post by:
A client is panicking about their large Access application, which has been running smoothly with 100s of thousands of records for quite some time. They have a big project in the next year that will...
8
by: Grant Schenck | last post by:
Hello, I'm pretty new to C# and .NET. I've been tasked with creating an Internet Explorer toolbar. I implemented it and it works OK, however, because the toolbar has a notion of having to...
12
by: batista | last post by:
Hello there, I am currently working in .net. Now i need to know that in order to build a server/client architecture which one is more suitable Vc++ or ..net. There is a server in our company...
0
by: Glenn Engelbart | last post by:
I am trying to find out a way to get more code re-use & object orientation in the UI portion of my apps. (There already is plenty of both in the DataAccess & Business Logic portion of my apps. ...
5
by: Dmitri Sologoubenko | last post by:
Anyone have experieced this stuff? Have any sample code? Please le me know. Thanks a lot, D
9
by: TC | last post by:
Like a lot of database developers, I often choose Jet for the back- end. I'm starting to worry about what will happen when Jet is deprecated. Ostensibly, Jet users like me must switch to SQL Server...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.