Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: RE: RES: RE: RES: RE: Problems reading log files


Message #1 by "Gerhard Wentink" <gerhard@d...> on Sat, 1 Mar 2003 10:11:41 +0100
Aah I think I see what's wrong:
You have to provide the full path.
Something like "C:\WINNT\system32\LogFiles\W3SVC1\ex030301.log"


Regards,

Gerhard wentink

-----Oorspronkelijk bericht-----
Van: Elildo Mancebo Reis [mailto:lists@a...] 
Verzonden: vrijdag 28 februari 2003 17:47
Aan: ASP Web HowTo
Onderwerp: [asp_web_howto] RES: RE: RES: RE: Problems reading log files


Yes,

error '80070002'

No reference to lines, but if I comment the open instruction and leave
Set oLog = ... Set oLog = Nothing ... no problems. I can instance it,
but not open.


-----Mensagem original-----
De: Gerhard Wentink [mailto:gerhard@d...]
Enviada em: sexta-feira, 28 de fevereiro de 2003 12:21
Para: ASP Web HowTo
Assunto: [asp_web_howto] RE: RES: RE: Problems reading log files


Are you getting any error messages?

Gerhard Wentink

-----Oorspronkelijk bericht-----
Van: Elildo Mancebo Reis [mailto:lists@a...]
Verzonden: vrijdag 28 februari 2003 14:56
Aan: ASP Web HowTo
Onderwerp: [asp_web_howto] RES: RE: Problems reading log files


Thank you, but it didn't work...

-----Mensagem original-----
De: Gerhard Wentink [mailto:gerhard@d...]
Enviada em: sexta-feira, 28 de fevereiro de 2003 09:06
Para: ASP Web HowTo
Assunto: [asp_web_howto] RE: Problems reading log files


This is what I found in the IIS 5.1 Platform SDK:

OIISLog.OpenLogFile( FileName, IOMode, ServiceName, ServiceInstance,
OutputLogFileFormat ) In your case something like: oLog.OpenLogFile
"ex030227", 1, "W3SVC", 1, "W3C Extended Log File Format"

There was also a command about the log file formats (the last
parameter):
'Log file formats:
'  "NCSA Common Log File Format"
'  "Microsoft IIS Log File Format"
'  "W3C Extended Log File Format"

Regards,

Gerhard Wentink

-----Oorspronkelijk bericht-----
Van: Elildo Mancebo Reis [mailto:lists@a...]
Verzonden: vrijdag 28 februari 2003 12:34
Aan: ASP Web HowTo
Onderwerp: [asp_web_howto] Problems reading log files


Hi, all!

I'm trying to build an ASP page to get statistics information, by
reading log files, but I got some problems...

Set oLog = server.CreateObject("MSWC.IISLog") is ok but...

oLog.OpenLogFile didn't work. Well, I know it's MY mistake, and if some
of you can guide me to the "road" again I wuold apreciate.

What is the sintax for...

oLog.OpenLogFile .....

I tried "ex030227.log, ForReading, W3SVC, 1, 0"

Thanks in advance



---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 


---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to %%email.unsub%%


---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 


---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to %%email.unsub%%



Message #2 by "Craig Flannigan" <ckf@k...> on Mon, 3 Mar 2003 08:32:49 -0000
That Error number means it wasn't loaded correctly (you knew that anyhow!)

Take a look here:
http://www.stickysauce.com/tutorials/programming/asp/viewserverfileswithasp2
.htm



-----Original Message-----
From: Elildo Mancebo Reis [mailto:lists@a...]
Sent: 28 February 2003 16:47
To: ASP Web HowTo
Subject: [asp_web_howto] RES: RE: RES: RE: Problems reading log files


Yes,

error '80070002'

No reference to lines, but if I comment the open instruction and leave
Set oLog = ...
Set oLog = Nothing
... no problems. I can instance it, but not open.


-----Mensagem original-----
De: Gerhard Wentink [mailto:gerhard@d...]
Enviada em: sexta-feira, 28 de fevereiro de 2003 12:21
Para: ASP Web HowTo
Assunto: [asp_web_howto] RE: RES: RE: Problems reading log files


Are you getting any error messages?

Gerhard Wentink

-----Oorspronkelijk bericht-----
Van: Elildo Mancebo Reis [mailto:lists@a...]
Verzonden: vrijdag 28 februari 2003 14:56
Aan: ASP Web HowTo
Onderwerp: [asp_web_howto] RES: RE: Problems reading log files


Thank you, but it didn't work...

-----Mensagem original-----
De: Gerhard Wentink [mailto:gerhard@d...]
Enviada em: sexta-feira, 28 de fevereiro de 2003 09:06
Para: ASP Web HowTo
Assunto: [asp_web_howto] RE: Problems reading log files


This is what I found in the IIS 5.1 Platform SDK:

OIISLog.OpenLogFile( FileName, IOMode, ServiceName, ServiceInstance,
OutputLogFileFormat ) In your case something like: oLog.OpenLogFile
"ex030227", 1, "W3SVC", 1, "W3C Extended Log File Format"

There was also a command about the log file formats (the last
parameter):
'Log file formats:
'  "NCSA Common Log File Format"
'  "Microsoft IIS Log File Format"
'  "W3C Extended Log File Format"

Regards,

Gerhard Wentink

-----Oorspronkelijk bericht-----
Van: Elildo Mancebo Reis [mailto:lists@a...]
Verzonden: vrijdag 28 februari 2003 12:34
Aan: ASP Web HowTo
Onderwerp: [asp_web_howto] Problems reading log files


Hi, all!

I'm trying to build an ASP page to get statistics information, by
reading log files, but I got some problems...

Set oLog = server.CreateObject("MSWC.IISLog") is ok but...

oLog.OpenLogFile didn't work. Well, I know it's MY mistake, and if some
of you can guide me to the "road" again I wuold apreciate.

What is the sintax for...

oLog.OpenLogFile .....

I tried "ex030227.log, ForReading, W3SVC, 1, 0"

Thanks in advance



---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 


---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to %%email.unsub%%




%%email.unsub%%



_____________________________________________________________________
Please contact I.T. Support if you have received this email in error.
This e-mail has been scanned for all viruses by Star Internet.
_____________________________________________________________________


_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer

Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.

Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.

Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________

  Return to Index