IIS log failed to write entry

Discussion in 'ASP General' started by Vinod Pillai, Sep 4, 2003.

  1. Vinod Pillai

    Vinod Pillai Guest

    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.
     
    Vinod Pillai, Sep 4, 2003
    #1
    1. Advertising

  2. Vinod Pillai

    Ken Schaefer Guest

    What is on line 35 of global.asa?

    Cheers
    Ken

    "Vinod Pillai" <> wrote in message
    news:126101c372c2$48d61f40$...
    : 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.
    :
     
    Ken Schaefer, Sep 4, 2003
    #2
    1. Advertising

  3. Vinod Pillai

    Vinod Pillai Guest

    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




    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
     
    Vinod Pillai, Sep 4, 2003
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Amratash
    Replies:
    0
    Views:
    560
    Amratash
    Apr 13, 2004
  2. AtomicBob
    Replies:
    14
    Views:
    967
    Toby Inkster
    May 2, 2006
  3. Petterson Mikael

    Write to error log using redirect:write

    Petterson Mikael, Sep 11, 2006, in forum: XML
    Replies:
    1
    Views:
    875
    Joe Kesselman
    Sep 11, 2006
  4. Mike Owen

    Allowing entry of a Carriage Return during data entry

    Mike Owen, Jul 27, 2006, in forum: ASP .Net Web Controls
    Replies:
    3
    Views:
    800
    Alessandro Zifiglio
    Jul 27, 2006
  5. Replies:
    0
    Views:
    1,421
Loading...

Share This Page