Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Response object error 'ASP 0156 : 80004005'


Message #1 by "Oliver Dempsey" <odempsey@b...> on Sat, 30 Dec 2000 20:42:11 -0000
Can anybody help me?

(line 25 is Response.Redirect "property.asp")

I am puzzled as to why I am getting this error

Response object error 'ASP 0156 : 80004005'



Header Error



/admin/AddProperty.asp, line 25



The HTTP headers are already written to the client browser. Any HTTP 

header modifications must be made before writing page content.







for the following code



<%@LANGUAGE=3D"VBSCRIPT"%>

<%

set rsProperty =3D Server.CreateObject("ADODB.Recordset")

rsProperty.ActiveConnection =3D "dsn=3Dcribb01;"

rsProperty.Source =3D "SELECT * FROM Property"

rsProperty.CursorType =3D 0

rsProperty.CursorLocation =3D 2

rsProperty.LockType =3D 3

rsProperty.Open

rsProperty_numRows =3D 0

%>              

<%

If Request.Form("Delete") <> "" Then      'User wishes to delete a 

property

 rsProperty.Filter =3D "PropertyID =3D " & Request("PropertyID")

 If Not rsProperty.EOF Then rsProperty.Delete

End if









rsProperty.Close

Set rsProperty =3D Nothing



Response.Redirect "property.asp"





%>







I'd appreciate your help



regards



Oliver Dempsey





---

MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.

---

You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com


  Return to Index