Microsoft KB Archive/914957

= Error message when you query the log files in ISA Server 2004, Standard Edition =

Article ID: 914957

Article Last Modified on 6/14/2007

-

APPLIES TO


 * Microsoft Internet Security and Acceleration Server 2004 Standard Edition

-





SYMPTOMS
When you query the log files in Microsoft Internet Security and Acceleration (ISA) Server 2004, Standard Edition, the query stops. Additionally, you may receive an error message that resembles the following:

The Query stopped because an error occurred while it was running.



CAUSE
This problem occurs if the following conditions are true:
 * The queried data and the query result contain lots of data. For example, the query result contains more than 500 megabytes (MB) of data.
 * The ISA Server computer logs data to a Microsoft SQL Server Database Engine (MSDE) database.

A time-out occurs in the ISA Server logging component when a query runs for a long time.

Note This problem does not occur in ISA Server 2004, Enterprise Edition.



Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
No prerequisites are required.

Restart requirement
You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Post-hotfix installation information
After you install the hotfix, the default MSDE time-out period for a query is 150 seconds. However, you may change the MSDE time-out period by using a script. To do this, follow these steps:   Copy the following code, and then paste it into Notepad. Option Explicit Dim root Dim arr Dim logging Dim objArgs Dim WriteMode WriteMode = false Set objArgs = WScript.Arguments If objArgs.Count > 0 Then WriteMode = true End If 'Create the root ISA Server object Set root = CreateObject(&quot;FPC.Root&quot;) 'Get the arrays collection Set arr = root.GetContainingArray Set logging = arr.Logging WScript.Echo    &quot;***************************************&quot; If WriteMode Then WScript.Echo &quot;* Set MSDEQueryTimout value (seconds) *&quot; Else WScript.Echo &quot;* Get MSDEQueryTimout value (seconds) *&quot; End If WScript.Echo    &quot;***************************************&quot; WScript.Echo    &quot;Retrieve the current MSDEQueryTimeout value:&quot; Script.Echo    &quot;Syntax: &quot;&quot;cscript.exe MSDEQueryTimeout.vbs&quot;&quot;&quot; WScript.Echo    &quot; &quot; WScript.Echo    &quot;Set the MSDEQueryTimeout value:&quot; WScript.Echo    &quot;Syntax: &quot;&quot;cscript.exe MSDEQueryTimeout.vbs 500&quot;&quot;&quot; WScript.Echo    &quot; &quot; WScript.Echo    &quot; &quot; If WriteMode Then Logging.MSDEQueryTimeout = CInt(objArgs(0)) logging.Save WScript.Echo &quot;MSDEQueryTimeout = &quot; & logging.MSDEQueryTimeout Else WScript.Echo &quot;MSDEQueryTimeout = &quot; & logging.MSDEQueryTimeout End If  Save this Notepad file as MSDEQueryTimeout.vbs. Run the following command from the location where you saved the file:

Cscript MSDEQueryTimeout.vbs

Note  is the new MSDE time-out period that you want to specify in seconds. The default MSDE time-out period is 150 seconds.



WORKAROUND
There is no reliable workaround for this problem. The problem depends on the following factors:
 * The size and the number of databases to be scanned
 * The load on the ISA Server computer that is queried

For example, a query that is run on a lightly-loaded ISA Server computer may not cause this problem. However, if the same query is run on a heavily-loaded ISA Server computer, the problem may consistently occur.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
To run a query on the ISA Server log files, follow these steps:
 * 1) In the ISA Server Management snap-in, click the ISA Server computer, and then click Monitoring.
 * 2) Click the Logging tab.
 * 3) In the Task pane, click the Tasks tab, and then click Edit Filter.
 * 4) In the Edit Filter dialog box, specify the criteria to filter the data, and then click Start Query.

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbbug kbfix kbqfe kbpubtypekc kbhotfixserver KB914957

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.