CFC componnet and the cfsetting tag in coldFusion

Posted on 2008-11-10
Last Modified: 2012-05-05
I keep getting an error saying:
The request has exceeded the allowable time limit Tag: CFQUERY
whenever I use a certain cfc component

Can you tell me how I can get around this error?

I have tried adding a line to the very top saying:
 <cfsetting requesttimeout="36000">

but that through an error saying:
Invalid CFML construct found on line 4 at column 1.  
ColdFusion was looking at the following text:

The CFML compiler was processing:

< marks the beginning of a ColdFusion tag.Did you mean LT or LTE?

Question by:onaled777
    LVL 36

    Assisted Solution

    that error almost always means you're missing a double quote

    look for that or post the code around line 4
    LVL 19

    Expert Comment

    please post some code

    LVL 8

    Accepted Solution

    You are not putting your <cfsettings> inside <cfquery> tag , are you? It's supposed to be at the top of the page.

    Author Comment

    Hey guys

    thanks for your contribution.  Based on your comments I paid attention to where I was putting the line.  Apparently placing it above cfcomponent was what was causing the error.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Java/J2EE and SOA

    This course will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XMLHandling, and more. You'll also learn various Java frameworks like Hibernate and Spring.

    This article  is about submitting  form through  ColdFusion.Ajax.submitForm to the action page and send a response back in JSON format which later can be decoded using ColdFusion.JSON.decode. By this way you can avoid the usual page refresh for subm…
    This is an updated version of a post made on my blog over 3 years ago. It is unfortunately, still very relevant as we continue to see both SQLi (SQL injection) and XSS (cross site scripting) attacks hitting some of the most recognizable website and …
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now