473,399 Members | 3,302 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,399 software developers and data experts.

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 1304
"Claudia Fong" <cd********@yahoo.co.ukwrote in message
news:Ot**************@TK2MSFTNGP05.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(object 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...@yahoo.co.ukwrote:
protected void Button1_Click(object sender, EventArgs e)
{
Server.Transfer("Language.aspx");
}

Cheers!

Claudi

*** Sent via Developersdexhttp://www.developersdex.com***
Either use Response.Redirect, or try to set EnableViewStateMac to
false on Language.aspx

<%@Page EnableViewStateMac="false">

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

Response.Redirect("Language.aspx", false);
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Sep 12 '07 #5
I put Response.Redirect("Language.aspx");
and it works

Cheers!

Claudi

*** Sent via Developersdex http://www.developersdex.com ***
Sep 12 '07 #6
"Claudia Fong" <cd********@yahoo.co.ukwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
I put Response.Redirect("Language.aspx"); and it works
I would advise you to use Response.Redirect("Language.aspx", 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
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...
0
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"...
6
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...
3
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...
9
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...
1
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...
8
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...
6
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
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....
2
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()...
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
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...
0
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...
0
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...

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.