View Full Version : 15 second timeout from Printing
nakedkafka
12-23-2009, 09:28 AM
Dear wisemen of the forums,
While working on an application that requires printing large pages (with over 1000 objects on the page) I've encountered the 15 second timeout exception. Does anyone know if there's a way to solve this (increase the timeout in some way) ? any workaround, suggestions, tips will be greatly appreaciated.
Goo'day.
K
You can change it in the publishing settings of your app.
nakedkafka
12-23-2009, 10:31 AM
I'm in flex so that that in my application setting it's :
<mx:Application ... scriptTimeLimit="60" ...>
and still the timeout exception is thrown.
wvxvw
12-23-2009, 11:38 AM
The funny thing about it is that you can try-catch the timeout error, but, if the function that performed the error doesn't exit in the catch block, the error will throw anyway.
I'm not sure what will happen if you will exit while printing - although, you could try... maybe it'll get printed anyway...
And you can set much longer scriptTimeLimit, it's limited to 0xFFFF seconds (should be like a day and a half or something like that :D )
jsliu
05-20-2011, 02:30 AM
I also get the damn problem on my image processing. You can try this example, I find from 3.0 reference
try {
lockMachine();
}
catch(e:ScriptTimeoutError) {
trace(e); // ScriptTimeoutError: Error #1502: A script has executed for longer than 15 seconds
}
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.