Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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 error message:
The Query stopped because an error occurred while it was running.

↑ Back to the top


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.

↑ Back to the top


Resolution

Hotfix information

A supported hotfix is 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 software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if 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. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

There are no prerequisites for installing this hotfix.

Restart requirement

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

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

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:"
    WScript.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.

↑ Back to the top


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.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


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 about software update terminology, 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

↑ Back to the top


Keywords: KB914957, kbhotfixserver, kbqfe, kbfix, kbbug, kbautohotfix

↑ Back to the top

Article Info
Article ID : 914957
Revision : 3
Created on : 10/9/2011
Published on : 10/9/2011
Exists online : False
Views : 272