Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 01/29/2013
Components: Database
Versions: 10.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: Final / 285327
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Win All
Vote Count: 1
First, two important notes:
1) cfusion instances have this directory: C:\ColdFusion10\cfusion\db
2) additional instances do not have this directory: C:\ColdFusion10\myInstance\db
Problem: ODBC DSN creation fails in non-cfusion instances
Steps to Reproduce:
1) Create an instance named myInstance w/ directory C:\ColdFusion10\myInstance
2) In the myInstance's CF Admin, create an ODBC data source
Actual Result: A file not found error is thrown, and data source config is not added to C:\ColdFusion10\cfusion\db\slserver54\cfg\swandm.ini
Expected Result: Data source config should be added to C:\ColdFusion10\cfusion\db\slserver54\cfg\swandm.ini
Please see attached image.
Also, the following error is logged to application.log and coldfusion-out.log:
"Warning","ajp-bio-8013-exec-2","01/29/13","22:19:28",,"GetProfileString: coldfusion.util.IniUtils$InvalidIniPathException: The system cannot find the path specified: C:\ColdFusion10\myInstance\db\slserver54\cfg\swandm.ini"
See? The non-cfusion instance's ODBC creation is looking for swandm.ini at the wrong location.
This is an example of the entry that should've been added to swandm.ini:
[DataSource_4]
Type=6
DataSourceLogonMethod=OSIntegrated
DataSourceProviderTypesFile=C:\ColdFusion10\cfusion\db\slserver54\bin\swsoc.ini
ServiceName=ColdFusion 10 ODBC Server
DataSourceName=MyAccessDSN
DataSourceSOCODBCConnStr=dsn=MyAccessDSN
DataSourceFetchTimeStampAsString=0
;
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3492580
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
Attachments:
- January 30, 2013 00:00:00: 1_20130129_Bug_ODBCDSNCreationFailsInMultiInstances.jpg
Comments: