navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Header Error. Please help me

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Header Error. Please help me
Page: [1]
 
AirRazr

 

Posts: 29
From: Brentwood, TN USA
Status: offline

 
Header Error. Please help me - 2/27/2001 20:24:00   
I have my handy dandy "ecommerce site". It works great on my local machine across our intranet. I have published it to a test machine, set the DSN and all that. When I try to access any of the pages after the login, this is the error I get.

Response object error 'ASP 0156 : 80004005'

Header Error

/2ndharvest/members/validate.asp, line 32

The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content.

Line 32 of my code reads as follows:

Response.redirect "http://scsi-imail/2ndharvest/members/start.asp?Cus_No=" & Cusnumber & ""


Why am I getting this error??? Any Ideas?

------------------
Wes
Will this be on the test?
SCSI Business Solutions

Spooky

 

Posts: 26597
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Header Error. Please help me - 2/27/2001 20:46:00   
At the top of your asp page add :

<%Response.buffer = True%>

This way the entire page is processed first rather than pieces of it.
You cant response.redirect after the headers in html are written otherwise.

------------------
Spooky
"I am Spooky of Borg. Prepare to be assimilated, babycakes!"
Subscribe to OutFront News
Database / DRW Q & A
The Spooky Login!


(in reply to AirRazr)
AirRazr

 

Posts: 29
From: Brentwood, TN USA
Status: offline

 
RE: Header Error. Please help me - 2/27/2001 20:30:00   
Spooky,

Once Again you are the best!!!!

Thank you for everything

------------------
Wes
Will this be on the test?
SCSI Business Solutions


(in reply to AirRazr)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Header Error. Please help me
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts