Re[3]: В чем проблема?
От: DARenok  
Дата: 26.05.03 06:40
Оценка:
Вот тестовый вариант:
<script language="JScript" runat="Server">
var log = new ActiveXObject("ACNLog.Logger")
log.LogFileName = "C:\RBondarenko\GCF\WebServer\GCF2003_Online_Application\LogFiles\DevelopmentLogs.GCFServicesLog.txt";
log.LogEvent("APP ", "* ", "--" );
</script>
Если запустить данный файл локально(изменив его в html), то все ОК. Если через http, то ошибка.

Вот исходный код:
<script language=VBScript runat=Server>
Option Explicit
on error resume next

Sub Application_OnStart
' The Application_OnStart method is run when the application is first started. Here we
' define all global application variables.

'***************************************************************************************
'Initialise Logging
'NOTE: the component "ACNLog" must be installed on the server for this to work.
'***************************************************************************************

Application("blnDebugLogging") = true
Application("blnPageLogging") = true

'Main Services Log
Application("Logging.LogFile") = "C:\RBondarenko\GCF\WebServer\GCF2003_Online_Application\LogFiles\DevelopmentLogs.GCFServicesLog.txt"
Set Application("Logging.Logger") = Server.CreateObject("ACNLog.Logger") // вот здесь ругается что не может создать!!!!!!
Application("Logging.Logger").LogFileName = Application("Logging.LogFile")
Application("Logging.Logger").LogEvent "APP ", "* ", "----------------------------------------------------------------------------------------------------------------------------------------------------"
Application("Logging.Logger").LogEvent "APP ", "* ", "Accenture Event Infrastructure — GCF Services Log."
Application("Logging.Logger").LogEvent "APP ", "* ", "(c) 2001 Accenture, All rights reserved."
Application("Logging.Logger").LogEvent "APP ", "* ", "The application is starting up — stand by..."

А где такой аккаунт?
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.