chinu77
asked on
the allowable time limit Tag: CFQUERY
My company recently upgraded to ColdfusionMX and my exsisting application is giving me the below error, I tried cfquery's timeout attribute and ?requesttimeout=500 but neither didn't help. Can somebody tell me why it is happening and the fix for it.
-----
Error Occurred While Processing Request
The request has exceeded the allowable time limit Tag: CFQUERY
The Error Occurred in C:\Inetpub\wwwroot\gc\CSA\ CSAver2.cf m: line 250
248 :
249 :
250 : <td align="center"><cfoutput># months.Pag eHits# </c foutput></ td>
251 : <cfif "#months.PageHits#" EQ "">
252 : <cfset Array_pg_View[j] = "0">
-----
-----
Error Occurred While Processing Request
The request has exceeded the allowable time limit Tag: CFQUERY
The Error Occurred in C:\Inetpub\wwwroot\gc\CSA\
248 :
249 :
250 : <td align="center"><cfoutput>#
251 : <cfif "#months.PageHits#" EQ "">
252 : <cfset Array_pg_View[j] = "0">
-----
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Did try Timeout attribute -- didn't work. On trying
<cfsetting RequestTimeout = "500">
got the below error:
Error Occurred While Processing Request
Errors reported by Java compiler: Found 1 semantic error compiling "C:/CFusionMX/wwwroot/WEB- INF/cfclas ses/cfCSAv er22ecfm33 2379485.ja va": 233. setting14.setRequestTimeou t(_validat eTagAttrVa lue("cfset ting", "requestTimeout", coldfusion.runtime.Cast._l ong(this._ resolveAnd Autoscalar ize("URL", new String[] {"REQUESTTIMEOUT"})))); <------------------------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ------> *** Error: No match was found for method "setRequestTimeout(double) ".
<cfsetting RequestTimeout = "500">
got the below error:
Error Occurred While Processing Request
Errors reported by Java compiler: Found 1 semantic error compiling "C:/CFusionMX/wwwroot/WEB-
Try this instead:
<cfset somevariable = "500">
<cfsetting RequestTimeout = "#someVariable#">
<cfset somevariable = "500">
<cfsetting RequestTimeout = "#someVariable#">
Hello!
Have you try restarting your ColdFusion Services?
If not then go on, maybe this could help you.
GOODLUCK!
Have you try restarting your ColdFusion Services?
If not then go on, maybe this could help you.
GOODLUCK!
if ur using CFMX - then download the patchs ColdFusion MX
Updater Release 3
Release Notes Part 2 - ColdFusion MX Issues Fixed in this Release
March 19, 2003
http://www.macromedia.com/support/coldfusion/releasenotes/mx/releasenotes_mx_updater.html
http://www.macromedia.com/support/coldfusion/releasenotes/mx/releasenotes_mx_updater01.html
http://www.macromedia.com/support/coldfusion/releasenotes/mx/releasenotes_mx_updater02.html
http://www.macromedia.com/support/coldfusion/releasenotes/mx/releasenotes_mx_updater03.html
& then try the same stuff as suggested by "Mike" - it shld help u out [hopefully]
K'Rgds
Anand
Updater Release 3
Release Notes Part 2 - ColdFusion MX Issues Fixed in this Release
March 19, 2003
http://www.macromedia.com/support/coldfusion/releasenotes/mx/releasenotes_mx_updater.html
http://www.macromedia.com/support/coldfusion/releasenotes/mx/releasenotes_mx_updater01.html
http://www.macromedia.com/support/coldfusion/releasenotes/mx/releasenotes_mx_updater02.html
http://www.macromedia.com/support/coldfusion/releasenotes/mx/releasenotes_mx_updater03.html
& then try the same stuff as suggested by "Mike" - it shld help u out [hopefully]
K'Rgds
Anand
install the updater2 for CFMX to get this to work
<cfset somevariable = "500">
<cfsetting RequestTimeout = "#someVariable#">
i think it will.
let me know..
Regards
Hart(harish)
<cfset somevariable = "500">
<cfsetting RequestTimeout = "#someVariable#">
i think it will.
let me know..
Regards
Hart(harish)
use anand's links, hez correct..
Try adding the timeout portion of the tag if it's not already set and make it an adequate amount of time for the query.
<CFQUERY NAME="months"
DATASOURCE="ds_name"
TIMEOUT="milliseconds"
>
If there is a timeout parameter, try and delete it.