Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP App works on local machine, buggers up on server

Status
Not open for further replies.

jfrost10

Programmer
Jun 3, 2001
2,004
CA
This is frustrating.

I have an application that will run fine on my desktop IIS, but as soon as I load it up onto a server I get errors like:The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content.

Or database errors because it doesn't like my recordset.update command.

Why is it doing this?! Is there something I should know about transferring an ASP app over? Both my desktop and the host are using IIS 4.0, so I'm really stumped (and I'm using a DSN-less connection).

HELP!!!

Jack

 
put
Response.buffer = true
on the top your pages.

what happens is that your pages try to change the headers after content has already been displayed (typically putting a response.redirect without the Response.buffer = true can trigger this)

hope this helps
leo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top