ASP Problem: "IIS log failed to write entry" in Event Log

Discussion in 'ASP General' started by cherryparadise001@gmail.com, May 26, 2006.

  1. Guest

    Hi All,

    I have moved an asp system from Window Server 2000 to Window Server
    2003 recently.
    Many error occured and most of them are unable to get the control's
    value in the page. I am newbie to asp and I would like to ask any
    different in Window Server 2000 and 2003 will cause error like this?
    and is there any KB told how to do the migration like this? ( I have
    tried but no results)

    Although I have solved these problem finally, the system always doesn't
    work but everytime I just reset iis it can work again and then it got
    out of order a number of hours later.

    So, I go to Event Viewer in the Server and I have found many error like
    this:
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Event Type: Warning
    Event Source: Active Server Pages
    Event Category: None
    Event ID: 9
    Date: 5/26/2006
    Time: 9:32:40 AM
    User: N/A
    Computer: CEITROOT2
    Description:
    Warning: IIS log failed to write entry, File
    /LM/W3SVC/1/Root/Ordering/global.asa Line 23 Object required:
    'Session'. .

    For more information, see Help and Support Center at
    http://go.microsoft.com/fwlink/events.asp.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\
    Then I go to see line 23 of global.asa. it is just "Session.CodePage =
    65001"
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    <SCRIPT LANGUAGE=VBScript RUNAT=Server>

    'Sub Session_OnStart
    '**Put your code here **
    'End Sub

    'EventName Description
    'Session_OnStart Runs the first time a user runs any page in
    your application
    'Session_OnEnd Runs when a user's session times out or quits
    your application
    'Application_OnStart Runs once when the first page of your
    application is run for the first time by any user
    'Application_OnEnd Runs once when the web server shuts down
    Session.CodePage = 65001 <----line 23
    </SCRIPT>

    <SCRIPT LANGUAGE=VBScript RUNAT=Server>
    Sub Application_OnStart
    set xlsObj =CreateObject("Excel.Application")
    End Sub
    </SCRIPT>
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    I can't get any idea about the problem and I don't know where to start
    to check for it.
    So, please give some advice for me on this items.
    Is it the problem of ASP? or is it the problem of IIS or others?

    Regards,
    Cherry
    , May 26, 2006
    #1
    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. Henrik_the_boss
    Replies:
    0
    Views:
    2,624
    Henrik_the_boss
    Nov 5, 2003
  2. Amratash
    Replies:
    0
    Views:
    493
    Amratash
    Apr 13, 2004
  3. =?Utf-8?B?VG9tIFdpbmdlcnQ=?=

    My.Log.Writeexception not writing to Application Event Log.

    =?Utf-8?B?VG9tIFdpbmdlcnQ=?=, Jan 20, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    2,347
    =?Utf-8?B?VG9tIFdpbmdlcnQ=?=
    Jan 20, 2006
  4. Tom Wingert
    Replies:
    0
    Views:
    316
    Tom Wingert
    Jan 12, 2006
  5. Vinod Pillai

    IIS log failed to write entry

    Vinod Pillai, Sep 4, 2003, in forum: ASP General
    Replies:
    2
    Views:
    226
    Vinod Pillai
    Sep 4, 2003
Loading...

Share This Page