title: Logparser not work in C#
body: <p>Error parsing query: The specified FROM-ENTITY "&lt;1>" is invalid [The filename, directory name, or volume label syntax is incorrect.]</p>
  
  <p><code>&lt;1&gt;</code> is working when use in sql in Log Parser 2.2, the folder is exist.
  Query is working if i following article - <a href="http://www.codeproject.com/Articles/18749/LogParser-DataProvider-for-ADO-NET" rel="nofollow">LogParser DataProvider for ADO.NE</a></p>
  
  <pre><code>        try
          {
              ILogRecord rowLP = null;
              ILogRecordset rsLP = null;
  
              LogQueryClass logQuery = new LogQueryClass();
              COMW3CInputContextClass comW3CInputContext = new COMW3CInputContextClass();
  
              string strSQL = @"SELECT " +
                           @"COUNT(*) AS [Requests], " +
                           @"DIV(DIV(SUM(cs-bytes), 1024), 1024) AS [MBytes received], " +
                           @"DIV(DIV(SUM(sc-bytes), 1024), 1024) AS [MBytes sent], " +
                           @"c-ip AS [IP Address], cs(User-Agent) AS [User agent], " +
                           @"MAX(date) AS [Last visit] " +
                           @"FROM &lt;1&gt; " +
                           @"GROUP BY [IP Address], [User agent] " +
                           @"ORDER BY [Requests] DESC";
  
  
              // run the query against W3C log
              rsLP = logQuery.Execute(strSQL, comW3CInputContext);
              rowLP = rsLP.getRecord();
  
  
          }
          catch (System.Runtime.InteropServices.COMException exc)
          {
              Console.WriteLine("Unexpected error: " + exc.Message);
          }
  </code></pre>