Discussion:
IIS log failed to write entry Object required: 'Response'.
(too old to reply)
richard
2006-08-15 09:23:54 UTC
Permalink
Hi.

Everytime i use the (only) website on my server, i get an error in the
eventlog:

Warning: IIS log failed to write entry, File
/LM/W3SVC/305989467/Root/global.asa Line 24 Object required: 'Response'.

this is my global.asa

<!--METADATA TYPE="TypeLib" NAME="Microsoft ActiveX DataObjects 2.6 Library"
UUID="{00000206-0000-0010-8000-00AA006D2EA4}" VERSION="2.6"-->
<OBJECT RUNAT=Server SCOPE=Session ID=MyAd PROGID="MSWC.AdRotator">
</OBJECT>
<script language="vbscript" runat="server">
Sub Application_OnStart
Application("visitors")=0
End Sub

Sub Session_OnStart
Application.Lock
Application("visitors")=Application("visitors")+1
Application.UnLock
Session("DeelnemerID") = 0
Session("Level") = 0
Application(Session.SessionID) = 0
Response.Redirect("/welkom.asp")
End Sub

Sub Session_OnEnd
Application.Lock
Application("visitors")=Application("visitors")-1
Application.UnLock
Response.Redirect("/session.asp")
End Sub

Sub Application_OnEnd

End Sub

</script>

anyone any idea?

I run: small business service 2003 IIS / SQL 2000 (premium versie)
Jos Groot Lipman
2006-08-15 10:37:40 UTC
Permalink
Line 24 is in your Session_OnEnd

Did you search google for
Session_OnEnd response
There are 36000 hits
richard
2006-08-15 11:11:28 UTC
Permalink
yes i did, but i could not find anything what can cause the problem.
Post by Jos Groot Lipman
Line 24 is in your Session_OnEnd
Did you search google for
Session_OnEnd response
There are 36000 hits
Jos Groot Lipman
2006-08-15 11:43:36 UTC
Permalink
Post by richard
yes i did, but i could not find anything what can cause the problem.
Post by Jos Groot Lipman
Line 24 is in your Session_OnEnd
Did you search google for
Session_OnEnd response
There are 36000 hits
The third hit
www.aspfaq.com/show.asp?id=2078
says
Session_OnEnd() does not support the Request, Response or Server
objects. The only built-in objects you can use are session and
application. ...

Seems pretty clear to me?

Loading...