• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 521
  • Last Modified:

Cold Fusion help

Hi
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."

Thx

Gareth
0
GarethABC
Asked:
GarethABC
  • 3
  • 3
1 Solution
 
_agx_Commented:
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).  

                   D:\CFAPPS2\STAFFDIRECTORY\FBX_AUTHENTICATE.CFM
                   D:\CFAPPS2\STAFFDIRECTORY\FBX_FUSEBOX30_CF50.CFM.
0
 
GarethABCAuthor Commented:
thx JARmod101 :)
Question still open guys if anyone can help?
0
 
SamuelShawCommented:
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").
0
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 
_agx_Commented:
Did you see my comment above?
0
 
GarethABCAuthor Commented:
OK
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">
0
 
_agx_Commented:
May as well just delete the question as the solution's too localized to be of general use.
0
 
GarethABCAuthor Commented:
cos it worked
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now