Error message when you query the log files in ISA Server 2004, Standard Edition (914957)



The information in this article 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.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next ISA Server 2004, Standard Edition service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

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.
File nameFile versionFile sizeDateTimePlatform
w3filter.dll4.0.2165.601730,90406-Mar-200606:28x86
wspsrv.exe4.0.2165.601940,82406-Mar-200606:28x86

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:
  1. 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("FPC.Root")
    'Get the arrays collection
    Set arr = root.GetContainingArray
    Set logging = arr.Logging
    WScript.Echo     "***************************************"
    If WriteMode Then
    	WScript.Echo "* Set MSDEQueryTimout value (seconds) *"
    Else
    	WScript.Echo "* Get MSDEQueryTimout value (seconds) *"
    End If
    WScript.Echo     "***************************************"
    WScript.Echo	 "Retrieve the current MSDEQueryTimeout value:"
    Script.Echo     "Syntax: ""cscript.exe MSDEQueryTimeout.vbs"""
    WScript.Echo	 " "
    WScript.Echo	 "Set the MSDEQueryTimeout value:"
    WScript.Echo     "Syntax: ""cscript.exe MSDEQueryTimeout.vbs 500"""
    WScript.Echo	 " "
    WScript.Echo	 " "
    If WriteMode Then
    	Logging.MSDEQueryTimeout = CInt(objArgs(0))
    	logging.Save
    	WScript.Echo "MSDEQueryTimeout = " & logging.MSDEQueryTimeout
    Else
    	WScript.Echo "MSDEQueryTimeout = " & logging.MSDEQueryTimeout
    End If
    
  2. Save this Notepad file as MSDEQueryTimeout.vbs.
  3. Run the following command from the location where you saved the file:

    Cscript MSDEQueryTimeout.vbs Time

    Note Time 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 "Applies to" 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


Modification Type:MinorLast Reviewed:7/26/2006
Keywords:kbBug kbfix kbQFE kbHotfixServer kbpubtypekc KB914957 kbAudITPRO