Skip to main content
Participant
March 28, 2012
Answered

Help! Problem when running CF under a non-default service account

  • March 28, 2012
  • 2 replies
  • 1117 views

I am running ColdFusion 9 with IIS 7 on Windows Server 2008.

The CF application service is running under a domain application account rather than the default local.

The problem is when doing so failed templates keep an active request open indefinately.

Is there a permission setting I might be missing to resolve this issue?

Thanks for any help any one can provide.

    This topic has been closed for replies.
    Correct answer jhendr15

    Charlie, thank you for your response.

    We had only read/write permissions for the account on coldfusion9 directory; after changing to Full Control the problem was resolved.  Charlie, thank you for your response.

    2 replies

    Charlie Arehart
    Community Expert
    Community Expert
    March 29, 2012

    What do you mean by “failed templates keep an active request open indefinitely”? What means are you using to confirm that a “request is open indefinitely”? That’s a sincere question. I’d focus on that before digging into permissions, etc.

    /charlie

    /Charlie (troubleshooter, carehart. org)
    jhendr15Author
    Participant
    March 29, 2012

    Only when running CF under a domain account does the following occur:

    If we have a cfm page that connects to a DB via a query tag and for some reason the query has an error,

    Then it can be observed that the request to that page remains active as seen in the server monitor under statisitcs / Active Requests, it stays active and never closes although it should close.  Over time such open threads add up until the Maximum number of simultaneous template requests limit is reached.

    For some reason the request does not close as it should, but if we run the CF under the default system account this does not occur.  I can only assume then the domain account has a permission issue.  It currently does not have Full Control on the ColdFusion9 directory so I will try that next.

    jhendr15AuthorCorrect answer
    Participant
    March 29, 2012

    Charlie, thank you for your response.

    We had only read/write permissions for the account on coldfusion9 directory; after changing to Full Control the problem was resolved.  Charlie, thank you for your response.

    jhendr15Author
    Participant
    March 28, 2012

    The only documentation related to setting up CF under a different account is about 6 years old for older OS / IIS / CF.

    http://helpx.adobe.com/coldfusion/kb/running-coldfusion-specific-user.html

    What might be different in current versions?