Response object error 'ASP 0156 : 80004005'

Header Error

/photos/photo-galleries-code.asp, line 42

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