personal web server

S

shaymaa

am using pws on win 98 and when i try to excute any asp
page i got the following error

Response object error 'ASP 0156 : 80004005'
The HTTP headers are already written to the client
browser. Any HTTP header modifications must be made before
writing page content.


anyone can help?
 
C

Curt_C [MVP]

are you using an INCLUDE of any type?
Try a simple ASP with only a
Response.Write "Hello World"
in it once.
Otherwise show the code...
 
R

Randy Rahbar

Response object error 'ASP 0156 : 80004005'
The HTTP headers are already written to the client
browser. Any HTTP header modifications must be made before
writing page content.

Are you doing a response.redirect after writing data to the page? Sounds
like it.
 
S

shaymaa

yes i use response.redirect and i dont know why i got this
error on pws although it doesnt appear while using IIS
 
K

Ken Schaefer

www.adopenstatic.com/faq/headererror.asp

Buffering is probably turned on on the IIS server, but not on your PWS
server.

In any case, your page should be redesigned so that you do the "redirect"
*before* you write any content to the page (ie before <html> etc)

Cheers
Ken

: yes i use response.redirect and i dont know why i got this
: error on pws although it doesnt appear while using IIS
: >-----Original Message-----
: >> Response object error 'ASP 0156 : 80004005'
: >> The HTTP headers are already written to the client
: >> browser. Any HTTP header modifications must be made
: before
: >> writing page content.
: >
: >Are you doing a response.redirect after writing data to
: the page? Sounds
: >like it.
: >
: >
: >.
: >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,104
Messages
2,570,646
Members
47,248
Latest member
Angelita78

Latest Threads

Top