« Previous Next »

Thread: XML output

Last post 07-20-2006 6:37 AM by LogParser User : imtiaz. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 07-19-2006, 4:55 AM

    XML output

    I am being retrieved an error when run the mentioned below script.

     

    LogParser -i:EVT -o:NAT "SELECT TimeGenerated, EventTypeName, SourceName AS Account INTO Report.xml FROM System"

    Error :

     

    Invalid at the top level of the document. Error processing resource 'file:///C:/Program Files/Log Parser 2.2/Report.xml'. Line 1, Position 1

  • 07-19-2006, 12:00 PM In reply to

    I just tried with both -o:NAT and with -o:XML and didn't see that error in either case. Are you sure you want to be using -o:NAT if you are populating an XML file?
  • 07-20-2006, 5:17 AM In reply to

    Yeah thx its working..plz tell me

    Please help me out of what is the query of to create html page from sql server log tace file which extension is .trc".Please tell me full steps to find out reports.

    Please direct email to at imtiaz.hussain@citigroup.com

     

     

  • 07-20-2006, 6:17 AM In reply to

    I do not know what the format of a trace file is, but my first suggestion would be to read through the help file documentation and look at the included sample scripts in the examples directory of your installation.
  • 07-20-2006, 6:37 AM In reply to

    Sir,

    SQL SERVER is generated trc extention "sdc.trc" i m writing query is mentioned below

    LogParser "SELECT * INTO Report.HTML FROM AdmnActvty_20060608_223750.trc" -i:TEXTWORD –o:TPL –tpl:Template.txt

    But its not wotking plz send me right script.

    Thx for you cooperation.

Page 1 of 1 (5 items)
Microsoft Communities