Cold Fusion help

Posted on 2012-08-16
Last Modified: 2012-08-26
Hands up I do not know anything about CF.
I'm also not a developer.
Our developer left, we have just changed our domain administrators password and now a few of our CF (ver 5) apps don't work.
I obviuosly need to update a password some where
maybe on where it connects to the LDAP
any pointers on where this maybe would be appreciated
here is the error i get
"Coldfusion Reports:UNKNOWN CFLDAP

Error Occurred While Processing Request
Error Diagnostic Information

An error occurred while evaluating the expression:

 rs_adminGroup.recordcount eq 1

Error near line 50, column 33.

Error resolving parameter RS_ADMINGROUP.RECORDCOUNT

ColdFusion was unable to determine the value of the parameter. This problem is very likely due to the fact that either:

You have misspelled the parameter name, or
You have not specified a QUERY attribute for a CFOUTPUT, CFMAIL, or CFTABLE tag.

The error occurred while processing an element with a general identifier of (CFIF), occupying document position (50:2) to (50:38) in the template file D:\CFAPPS2\STAFFDIRECTORY\FBX_AUTHENTICATE.CFM.

The error occurred while processing an element with a general identifier of (CFRETHROW), occupying document position (249:11) to (249:21) in the template file D:\CFAPPS2\STAFFDIRECTORY\FBX_FUSEBOX30_CF50.CFM."


Question by:GarethABC
    LVL 51

    Expert Comment

    FYI: You'll probably get more relevant responses if you update the question topics to include ColdFusion or use "Request Attention" to ask a moderator for assistance.   In the mean time ...

             here is the error i get "Coldfusion Reports:UNKNOWN CFLDAP
                 ... I obviously need to update a password some where maybe on where
                 it connects to the LDAP

    Your theory makes sense.  Try searching the code for <CFLDAP tags.  That's where the credentials are passed to LDAP through the "server", "username", "password" attributes.  Not sure which IDE you're using, by any text search tool will do.

    I don't use Fusebox, but from the error message it's *possibly* in one of these files  (or a file they include).  


    Author Comment

    thx JARmod101 :)
    Question still open guys if anyone can help?
    LVL 2

    Expert Comment

    Do a search through the CFM files for "rsadmingroup" to see if you can find the file that's defining it. You will probably find the old password in there and you can replace it with the new one.

    Also, try searching for "cfide.adminapi.administrator", which is the object you need to create for ColdFusion to log itself into the Admin API.

    Both of these searches are case-insensitive (e.g., it could be "adminapi" or "AdminAPI").
    LVL 51

    Expert Comment

    Did you see my comment above?

    Accepted Solution

    a user returned from hols that used it years ago and managed to fix it
    here's what they did
    hard code values for those variables into a file – fbx_authenticate.cfm by adding in two lines of code:

    <cfset application.username = "administrator">
    <cfset application.password = "password">
    LVL 51

    Expert Comment

    May as well just delete the question as the solution's too localized to be of general use.

    Author Closing Comment

    cos it worked

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    I spent nearly three days trying to figure out how incorporate OAuth in Coldfusion for the Eventful API. Hopefully, this article will allow Coldfusion Programmers to buzz through the API when they need to. Basically, what this script does is authori…
    This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
    This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
    The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…

    758 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

    11 Experts available now in Live!

    Get 1:1 Help Now