﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>LogViewPlus Support » LogViewPlus Support » Help &amp; Support  » Unrecoverable error in WHERE clause</title><generator>InstantForum 2017-1 Final</generator><description>LogViewPlus Support</description><link>https://www.logviewplus.com/forum/</link><webMaster>LogViewPlus Support</webMaster><lastBuildDate>Sat, 11 Apr 2026 06:05:38 GMT</lastBuildDate><ttl>20</ttl><item><title>Unrecoverable error in WHERE clause</title><link>https://www.logviewplus.com/forum/post/1830</link><description>Hi all,&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;I guess this is a reporting a bug and finding out if anyone else experiences the same issue:&lt;br/&gt;&lt;br/&gt;Loading a log file&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Given a simple data set from a server log file:&lt;br/&gt;message = path to file accessed&lt;br/&gt;response = HTTP response code&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;SELECT  DISTINCT message, COUNT(message) TheCount, method&lt;br/&gt;FROM CurrentView&lt;br/&gt;WHERE response = '200' &lt;br/&gt;-- AND TheCount &amp;gt; 20  --&amp;gt;  LogViewPlus crashes with this&lt;br/&gt;GROUP BY message&lt;br/&gt;ORDER BY TheCount DESC&lt;br/&gt;;&lt;br/&gt;&lt;br/&gt;With the addition of AND TheCount &amp;gt; 20 the system crashes.&amp;nbsp; Error reporting upload not possible due to 404 error.&lt;br/&gt;</description><pubDate>Mon, 28 Aug 2023 17:25:14 GMT</pubDate><dc:creator>haix</dc:creator></item><item><title>RE: Unrecoverable error in WHERE clause</title><link>https://www.logviewplus.com/forum/post/1831</link><description>Hi Haix,&lt;br/&gt;&lt;br/&gt;Thanks for reporting this issue.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;First, the correct way to execute this SQL statement would be to use the &lt;a href="https://www.w3schools.com/sql/sql_having.asp" id="if_insertedNode_1693243222144"&gt;HAVING&lt;/a&gt; clause.&amp;nbsp; For example:&lt;br/&gt;[code language="sql"]SELECT DISTINCT message, COUNT(message) TheCount, method&lt;br/&gt;FROM CurrentView&lt;br/&gt;WHERE response = '200'&lt;br/&gt;GROUP BY message&lt;br/&gt;HAVING TheCount &amp;gt; 20&lt;br/&gt;ORDER BY TheCount DESC[/code]&lt;br/&gt;However, LogViewPlus should fail more gracefully.&amp;nbsp; I ran a few tests, and LogViewPlus gracefully reported a "COUNT method not found' error.&amp;nbsp; I will continue testing to try and recreate an application failure.&lt;br/&gt;&lt;br/&gt;The issue with error reporting can happen if the application does not have proxy server access or is blocked by antivirus. As a work around, you could &lt;a href="https://www.logviewplus.com/contact.aspx" id="if_insertedNode_1693243443791"&gt;email me&lt;/a&gt; the error.report file found in the %AppData%\LogViewPlus directory.&amp;nbsp; To do this, we would need to first start an email thread.&lt;br/&gt;&lt;br/&gt;Thanks again,&lt;br/&gt;&lt;br/&gt;Toby</description><pubDate>Mon, 28 Aug 2023 17:25:14 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item></channel></rss>