View comments | RSS feed
Contents > Configuring and Administering ColdFusion MX > Data Source Management > Connecting to Microsoft Access PreviousNext

Connecting to Microsoft Access

Use the settings in the following table to connect ColdFusion MX to Microsoft Access data sources:

Setting

Description

CF Data Source Name

The data source name (DSN) used by ColdFusion MX to connect to the data source.

Database File

The file that contains the database.

System Database File

To secure access to the specified database file, click Browse Server to locate and enter a database that contains database security information. The system database is usually located in winnt\system32\system.mdw.

Use Default Username

If selected, ColdFusion MX does not pass a user name or password when requesting a connection. The Microsoft Access driver uses the default user name and password. (specified in Advanced Settings).

ColdFusion Username

The user name that ColdFusion MX passes to the JDBC driver to connect to the data source if a ColdFusion application does not supply a user name; for example, in a cfquery tag.

ColdFusion Password

The password (16-character limit) that ColdFusion MX passes to the JDBC driver to connect to the data source if a ColdFusion application does not supply a password; for example, in a cfquery tag.

Description

(Optional) A description for this connection.

Page Timeout

The time (in tenths of a second) before a request for a ColdFusion page times out.

Max Buffer Size

The total number of bytes that ColdFusion MX uses to cache application pages. Enter a value to optimize ColdFusion performance.

Connection String

A field that passes database-specific parameters, such as login credentials, to the data source.

Default Username

The user name that ColdFusion MX passes to the JDBC driver to connect to the data source if a ColdFusion application does not supply a user name-for example, in a cfquery tag.

Default Password

The password (16-character limit) that ColdFusion MX passes to the JDBC driver to connect to the data source if a ColdFusion application does not supply a password-for example, in a cfquery tag.

Return Timestamp as String

Enable this setting if your application retrieves Date/Time data and then re-uses it in SQL statements without applying formatting (using functions such as DateFormat, TimeFormat, and CreateODBCDateTime).

Limit Connections

Specifies whether ColdFusion MX limits the number of database connections for the data source. If you enable this option, use the Restrict Connections to field to specify the maximum.

Restrict Connections to

Specifies the maximum number of database connections for the data source. To use this restriction, you must enable Limit Connections.

Maintain Connections

ColdFusion MX establishes a connection to a data source for every operation that requires one. Enable this option to improve performance by caching the data source connection.

Timeout (min)

The maximum number of minutes after the data source connection is made that you want ColdFusion MX to cache a connection after it is used.

The Timeout setting does not return a connection to the cache after a specified period of time, regardless of how infrequently it is used. The default is "" or 0, which means that the connection timeout is never enforced.

Interval (min)

The time (in minutes) that the server waits between cycles to check for expired data source connections to close.

Disable Connections

If selected, suspends all client connections.

Login Timeout (sec)

The number of seconds before ColdFusion MX times out the data source connection login attempt.

CLOB

Select to return the entire contents of any CLOB/Text columns in the database for this data source. If not selected, ColdFusion MX retrieves the amount specified in the Long Text Buffer setting.

BLOB

Select to return the entire contents of any BLOB/Image columns in the database for this data source. If unchecked, ColdFusion retrieves the amount specified in the Blob Buffer setting.

LongText Buffer

The default buffer size, used if Enable Long Text Retrieval(CLOB) is not selected. Default is 64000 bytes.

BLOB Buffer

The default buffer size, used if Enable binary large object retrieval (BLOB) is not selected. Default is 64000 bytes.

Allowed SQL

The SQL operations that can interact with the current data source.


Contents > Configuring and Administering ColdFusion MX > Data Source Management > Connecting to Microsoft Access PreviousNext

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting

Version 6.1

Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.

Comments


No screen name said on Dec 30, 2003 at 11:57 AM :
This is fine for development, but how do I deploy my database so that my forms can communicate with it ?
No screen name said on Dec 11, 2004 at 10:11 AM :
I installed ColdFusion MX on RedHat Linux 9 Reloaded. I don't have the Microsoft Access Driver option available to me...how do I get this driver to populate in the drop down list.
jrunrandy said on Dec 13, 2004 at 12:13 PM :
Microsoft Access is a Windows-only DBMS so it is not displayed when running on Linux.
trentricker said on Jan 17, 2005 at 5:04 PM :
I've just installed MX on my local machine for dev use. I keep getting the following error when trying to establish any ODBC connection:

Unable to update the ColdFusion MX ODBC Server.
Timeout period expired without completion of C:\CFusionMX\db\slserver52\admin\swcla.exe

What is causing this? How can I correct?
rainbird said on Aug 31, 2006 at 1:49 AM :
If you are getting the "Timeout period expired without completion ... {cfroot}db\slserver52\admin\swcla.exe" browse to {cfroot}db\slserver54\admin\ and open "swcla.ini" at the bottom of this file you will see a file path make sure the path is valid, if not update it and restart CF. This solution worked on CFMX7.
Narayanl said on Sep 12, 2006 at 3:22 PM :
One of the solution for this error "Unable to update the ColdFusion MX ODBC Server.
Timeout period expired without completion of ........admin\swcla.exe
is start "coldfusion mx odbc agent" service
bobtob said on Jun 3, 2007 at 1:44 AM :
if your CFMX 6.1 installation won't let you setup any access odbc connections except for the unicode ones you need to intall the newwer version of SequeLink. Go from the 5.2 that's installed with mx6.1 to 5.4

see: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=e917887

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/dataso10.htm