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.
|
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:
- 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
- Save this Notepad file as MSDEQueryTimeout.vbs.
- 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.