Microsoft KB Archive/914957

From BetaArchive Wiki

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.

RESOLUTION

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:

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:

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 name File version File size Date Time Platform
w3filter.dll 4.0.2165.601 730,904 06-Mar-2006 06:28 x86
wspsrv.exe 4.0.2165.601 940,824 06-Mar-2006 06:28 x86

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


Keywords: kbbug kbfix kbqfe kbpubtypekc kbhotfixserver KB914957