CFC componnet and the cfsetting tag in coldFusion

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?



onaled777Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

look for that or post the code around line 4
0
erikTsomikSystem Architect, CF programmer Commented:
please post some code

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
onaled777Author Commented:
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.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ColdFusion Language

From novice to tech pro — start learning today.