Wrox Home  
Search P2P Archive for: Go

  Return to Index  

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


Message #1 by "Elildo Mancebo Reis" <lists@a...> on Fri, 28 Feb 2003 13:47:13 -0300
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%%


  Return to Index