tracker issue : CF-4204286

select a category, or use search below
(searches all categories and all time range)
Title:

VerifyDSN method within REPL

| View in Tracker

Status/Resolution/Reason: To Fix//BugVerified

Reporter/Name(from Bugbase): Andy S. / ()

Created: 05/03/2019

Components: Administrator, Admin API, CLI, REPL

Versions: 2018

Failure Type: Incorrectly functioning

Found In Build/Fixed In Build: 315965 /

Priority/Frequency: Normal /

Locale/System: / Win 2016

Vote Count: 0

I would like to request an enhancement to the functionality of the cfide.adminapi.datasource component in Cf2018. We currently use Windows Auth on all of our datasource connections, and when I use the VerifyDSN method within the REPL, it fails because it is unable to process it with the Windows Account that the Cf Windows Services is running under. Could you please work on developing this component to be able to use the windows credentials on the cf server is verify DSNs within the REPL?

Attachments:

Comments:

Hi Andy, Could you try the same code in ColdFusion server and checked that VerifyDSN works ? Also, Can you share the code snippet which you are trying ?   - Mukesh
Comment by Mukesh K.
30823 | May 24, 2019 08:15:24 AM GMT
Mukesh - apologies for such a delay on the reply. This got lost in my inbox. The code works fine when executed on a cfm page on a running instance, but not within the REPL. Here is the snippet: adminAPI = createObject("component","cfide.adminapi.administrator"); adminAPI.login(adminPassword); DATASOURCE=datasourceName; // Initialize the dsnObj Object dsnObj = createObject("component","cfide.adminapi.datasource"); result = dsnObj.verifyDSN("#DATASOURCE#", true);
Comment by Andy S.
31622 | October 16, 2019 07:17:43 PM GMT