Status/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Mark P. / ()
Created: 02/04/2019
Components: Administrator, Admin API
Versions: 2016
Failure Type: Incorrectly functioning
Found In Build/Fixed In Build: 2018.0.01.311402 / CF2016U12,CF2018U5
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Win 2016
Vote Count: 1
When creating a DSN for MSSQL via setMSSQL() function the following are not set to any default values like they are when using the GUI:
type
vendor
cf_pooled
supportlinks
In addition, specifying a value in setMSSQL only sets a value for supportlinks. The only way to set a value for the others is to edit the DSN in the GUI.
<cfscript>
adminObj = createObject("component","cfide.adminapi.administrator");
adminObj.login("xxxxxxxxxxxxx");
myObj = createObject("component","cfide.adminapi.DataSource");
myObj.setMSSQL(
type="ddtek",
vendor="sqlserver",
supportlinks="true",
cf_pooled="true",
name="Testing",
host="xxxxxxxxxxxxxxxxxxxxx",
database="Testing",
username="xxxxxxxxxxx",
password="xxxxxxxxxxxx"
);
</cfscript>
Attachments:
Comments: