Err Msg: "The maximum amount of time for a script to execute was exceeded."
The information in the article refers to:
Crystal Enterprise 10
Applies to:
Reported version only
Enhanced Solution Kit for SAP
Viewing Report
Script Timeout
Synopsis
When attempting to view an Infoset report using the web desktop in Crystal Enterprise 10 Enhanced SAP Edition, the following error message appears:
"The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout."
When you click the 'Show/Hide Group Tree' button on the viewer, the error message disappears but the report then appears as expected.
Why does this error message appear, and how can you resolve it?
Solution
This error message appears because the time that the report requires to process exceeds the script timeout.
====================
WARNING:
The following resolution involves editing the
registry. Using the Registry Editor incorrectly can
cause serious problems that may require you to
reinstall the Microsoft Windows operating system.
Use the Registry Editor at your own risk.
HELP:
For information on how to edit the registry key,
view the 'Changing Keys And Values' online Help
topic in the Registry Editor (Regedit.exe).
RECOMMENDATION:
It is strongly recommended that you make a backup
copy of the registry files (System.dat and
User.dat on Win9x computers) before you edit the
registry.
====================
To resolve this error message:
1. Set the value of the following registry entries to "720" (This value is in seconds. You may wish to experiment with other values):
• HKEY_LOCAL_MACHINE\SOFTWARE\Crystal Decisions\10\Web Component Server\Components\csp\scripttimeout
• HKEY_LOCAL_MACHINE\SOFTWARE\Crystal Decisions\10\Web Component Server\Instances\Machine Name\Components\csp\scripttimeout
2. Restart the Web Component Server.
--------------------------------------------------------------------------------
Category:
Subject:
Topic:
Keywords:
Viewers
DHTML Viewer
Error Displayed
SERVER R/3 BW SAP SCRIPT TIMEOUT MAXIMUM AMOUNT VIEWING REPORT
--------------------------------------------------------------------------------
Product:
Crystal Enterprise Enhanced SAP Edition
Reported Version:
10.0.0.0 Crystal Enterprise Enhanced SAP Edition
Applies to:
Reported version only
Bit Version:
32 Bit
Reported Database:
SAP
Reported OS and Version:
Windows 2000