473,804 Members | 2,136 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Server.Transfer error

In my application I have two webform. In one of the webform I have a
button where the user clicks and it should open another webform.. but
when I click that button, it shows me the error:

Error executing child request for Language.aspx.

I'm new in ASP.NET so I can't understand where is the problem..

Can someone tell me what I'm missing?


Cheers!

Claudi

*** Sent via Developersdex http://www.developersdex.com ***
Sep 12 '07 #1
6 1340
"Claudia Fong" <cd********@yah oo.co.ukwrote in message
news:Ot******** ******@TK2MSFTN GP05.phx.gbl...
Can someone tell me what I'm missing?
Please show your code...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Sep 12 '07 #2
protected void Button1_Click(o bject sender, EventArgs e)
{
Server.Transfer ("Language.aspx ");
}

Cheers!

Claudi

*** Sent via Developersdex http://www.developersdex.com ***
Sep 12 '07 #3
On Sep 12, 10:29 am, Claudia Fong <cdolphi...@yah oo.co.ukwrote:
protected void Button1_Click(o bject sender, EventArgs e)
{
Server.Transfer ("Language.aspx ");
}

Cheers!

Claudi

*** Sent via Developersdexht tp://www.developersd ex.com***
Either use Response.Redire ct, or try to set EnableViewState Mac to
false on Language.aspx

<%@Page EnableViewState Mac="false">

Sep 12 '07 #4
"Claudia Fong" <cd********@yah oo.co.ukwrote in message
news:uU******** ********@TK2MSF TNGP02.phx.gbl. ..
Server.Transfer ("Language.aspx ");
What happens if you try:

Response.Redire ct("Language.as px", false);
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Sep 12 '07 #5
I put Response.Redire ct("Language.as px");
and it works

Cheers!

Claudi

*** Sent via Developersdex http://www.developersdex.com ***
Sep 12 '07 #6
"Claudia Fong" <cd********@yah oo.co.ukwrote in message
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
I put Response.Redire ct("Language.as px"); and it works
I would advise you to use Response.Redire ct("Language.as px", false) as I
suggested...
http://msdn2.microsoft.com/en-us/lib...dt(vs.80).aspx
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Sep 12 '07 #7

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

Similar topics

1
5286
by: Jim | last post by:
Any idea what is causing this error? 006~ASP 0230~Server.Transfer Error~The call to Server.Transfer failed while loading the page. Just read about benefits of Server.Transfer over Response.Redirect, replaced, and getting the error. Suggestions?
0
2075
by: Srini | last post by:
I am implementing Front Controller in ASP.net as outlined in Microsoft documentation titled "Implementing Front Controller in ASP.NET Using HTTPHandler" (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpatterns/html/ImpFrontControllerInASP.asp Everything works well except for context.server.transfer(string url) method (refer to RedirectingCommand.cs class in the above documentation) Here are the error details Server...
6
409
by: Tlink | last post by:
I am using server.transfer from within vb.net, which is called from asp.net I find that I can move to correct page the first time the server.transfer is executed but all subsequent attempts cause a error message. The following is my logic code: If RedirectPage.StartsWith("~") Then RedirectPage = Replace(RedirectPage, "~", "") Dim bs As New Uri(CurrentUrl)
3
1888
by: yma | last post by:
Hi, I put a .aspx page inside Server.Transfer() within a button. The page was created for testing so it only has button and I did not add code. When I click the button, it gave me an error below. Could try this and help me? Thank a lot. --Chris Server Error in '/mysite/WebApplication1' Application. ---------------------------------------------------------------------------- ----
9
647
by: Steve Buster | last post by:
All right, I have read every forum, newsgroup etc about this issue and no one seems to know how to fix it. I am getting a "Server Application Unavailable" exception running my .NET 1.1 application. I use W2K SP4 and have applied the hot Fix KB824146 and KB824105, both IE fixes. I don't have VS installed because this is a Quality Environment. I do have .NET SDK and .NET 1.1 Runtime installed. I can't change my APSNET user to run as...
1
1978
by: Craig Banks | last post by:
I have 2 ASP.Net solutions/projects. I want to use Server.Transfer in one solution/project to call the aspx webform in the second solution/project. When I try it I get an error message. My call is straightforward: Server.Transfer("/ServerTransferUtility/Server.aspx") The call finds my target page but errors out on its first line: <%@ Page Language="vb" AutoEventWireup="false" Codebehind="Server.aspx.vb"...
8
3914
by: bryan | last post by:
I've got a custom HttpHandler to process all requests for a given extension. It gets invoked OK, but if I try to do a Server.Transfer I get an HttpException. A Response.Redirect works, but I really need to avoid the extra round-trip to the client. I've tried Passing the page name, the full URL, and the instance of the handler class to the Transfer method, but everything gets me the same error 500. Any help would be appreciated.
6
2194
by: n# | last post by:
A Basic Question in ASP.NEt 1.1 In Page_Load Event I am doing a Server.Transfer. But it throws an error on the browser windows showing "Server Application Not Found" Pls help me
4
4022
by: evantay | last post by:
I'm using ASP.NET 2.0 with VS.NET 2005. I'm trying to access properties from my master pages within a page that inherits from that master page (a child page). However the values are always null. In my masterpage I have this: private bool m_AlreadyTested; public bool AlreadyTested { get { return m_AlreadyTested; }
2
3123
by: =?Utf-8?B?YWxiZXJ0b3Nvcmlh?= | last post by:
Hi, I'm using Threads, and when I try to do Server.Transfer, I recieved an error. (child object does not exist...) My Code: Dim t As New Thread(AddressOf Hilo) Private Sub Hilo() Thread.Sleep(1000)
0
10603
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10353
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10356
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10099
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9176
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7643
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5536
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4314
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3003
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.