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

C

cherryparadise001

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
 

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,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top