IIS log failed to write entry

V

Vinod Pillai

This comes randomly once in a blue moon on the browser
screen. Any clues on how to resolve this.


Warning: IIS log failed to write entry,
File /WebCollections/global.asa
Line 35 Arguments are of the wrong type, are out of
acceptable range, or
are in conflict with one another.. .
For additional information specific to this message please
visit the
Microsoft Online Support site located at:
http://www.microsoft.com/contentredirect.asp.
 
K

Ken Schaefer

What is on line 35 of global.asa?

Cheers
Ken

: This comes randomly once in a blue moon on the browser
: screen. Any clues on how to resolve this.
:
:
: Warning: IIS log failed to write entry,
: File /WebCollections/global.asa
: Line 35 Arguments are of the wrong type, are out of
: acceptable range, or
: are in conflict with one another.. .
: For additional information specific to this message please
: visit the
: Microsoft Online Support site located at:
: http://www.microsoft.com/contentredirect.asp.
:
 
V

Vinod Pillai

The error comes only once or twice in one to two weeks.

The error comes on the line
com.Parameters.Append com.CreateParameter("f1", 8 , adParamInput)

from the function below in global.asa file
Sub Session_OnEnd
set con = server.CreateObject("ADODB.Connection")
con.Open session("sConnectstring")
con.Execute "update th set caccountdisabledyn = 'N' where szuserid =
'"&session("userid")&"'"
'Added By
set com = Server.CreateObject("adodb.command")
com.ActiveConnection = con
com.CommandType = 4 'adcmdstoredproc
com.CommandText = "Upd_LOG"

com.Parameters.Append com.CreateParameter("f1", 8 , adParamInput)
com.Parameters.Append com.CreateParameter("f2", 8, adParamInput)
com.Parameters.Append com.CreateParameter("f3", 8, adParamInput)
com.Parameters.Append com.CreateParameter("f4", 8, adParamInput)

com.Execute

con.CommitTrans

con.Close
set com = nothing
set con = nothing

session.Abandon

End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top