473,479 Members | 2,087 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

NEED HELP......Response.Redirect problem

Hello All,

I have an ASP application that works perfectly on our
development server, but when we moved the app to our test
server, I got the following error message at the line
where I do Response.Redirect:
//messages begin----------------------------
Response object error 'ASP 0156:80004005'
Header Error
/ChkBlkAccess.asp, line 47
The HTTP headers are already written to the client
browser. Any HTTP header modifications must be made before
writing page content.
//messages end------------------------------

My guess is that somehow the test server is not set up
correctly to allow Response.Redirect, because it works in
the development server. We have compare the settings of
the two servers but we cannot figure out what it is. And
I don't know how to fix this problem.

This is urgent, so any help will be very much appreciated.

simon.

Jul 19 '05 #1
2 2741
Nevermind, I found the solution. Thanks.

simon.
-----Original Message-----
Hello All,

I have an ASP application that works perfectly on our
development server, but when we moved the app to our test
server, I got the following error message at the line
where I do Response.Redirect:
//messages begin----------------------------
Response object error 'ASP 0156:80004005'
Header Error
/ChkBlkAccess.asp, line 47
The HTTP headers are already written to the client
browser. Any HTTP header modifications must be made beforewriting page content.
//messages end------------------------------

My guess is that somehow the test server is not set up
correctly to allow Response.Redirect, because it works in
the development server. We have compare the settings of
the two servers but we cannot figure out what it is. And
I don't know how to fix this problem.

This is urgent, so any help will be very much appreciated.

simon.

.

Jul 19 '05 #2
simon wrote:
...
The HTTP headers are already written to the client
browser. Any HTTP header modifications must be made before
writing page content.


The error message is telling you where the problem is: check all your
include files for stray writes.

--
William Tasso - http://WilliamTasso.com
Jul 19 '05 #3

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

Similar topics

4
14592
by: TomT | last post by:
Hi.. I'm redirecting users to another page using: response.redirect("newpage.asp") this works... But I need to add a variable to the page specified.. IE: newpage.asp?id=JobID
6
4296
by: Sam | last post by:
I have some issues with HTTP Headers and I was hoping for some pointers or references to good articles. Here is the problem. I have 6 .aspx pages, each page contains a common .ascx. This ascx...
7
1774
by: Joe | last post by:
Hi, I’m new to asp.net. I want to create an asp.net page that allows user to edit the data. I have pasted my code below. I am able to display the data in a datagrid. At the bottom of the page...
2
5918
by: news://news.microsoft.com/microsoft.public.de.germ | last post by:
Hallo! Ich habe ein Frameset mit 3 Frames. Im 1. Frame wird eine ASPX-Seite geöffnet. In dieser werden einige Steuerelemente angezeigt. Nun soll bei bestimmten Benutzeraktivitäten eine andere...
3
2098
by: Shapper | last post by:
Hello, I am working on an ASP.NET/VB web site. I have several links including menu links. Considerer a want to load a page named page.aspx. I can do it using javascript. Or using this code:...
3
1811
by: Phillip N Rounds | last post by:
I'm having trouble with using cookies to monitor the stages of login. I have a two stage Registration page ( register.aspx ) and my target page ( MyPage.aspx ) I'm using a cookie named LoginStatus...
5
2118
by: ODAN | last post by:
We are testing a ASP.NET application in Visual Studion 2003 and written in C#. One of the pages that register new users on this application fails to redirect to another page when the button is...
3
2733
by: Learner | last post by:
Hello, I have two buttons on one of my VehicleDetails.aspx page. Obiviously these two buttons takes the user to two different pages. Now my client is interested in having a linkbutton instead of...
5
4543
by: venner | last post by:
I'm having an issue with an ASP.NET website after upgrading to ASP.NET 2.0. The website makes use of a central authentication service (CAS) provided at the university I work for. Each page checks...
0
7027
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6899
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
7067
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...
1
6719
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
5312
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,...
1
4757
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...
0
4463
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2970
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1288
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 ...

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.