PRB: New Datasource Configuration Options in SQL Server 6.5

ID: Q151974


The information in this article applies to:


SYMPTOMS

When you call the SQLConfigDataSource API with a NULL window handle to configure a SQL Server 6.5 ODBC datasource silently, and you try to set the new setup options introduced in the 6.5 driver, the information will not be written to the Odbc.ini or the registry. However, SQLConfigDataSource returns TRUE as the return code.

See the More Information section in this article for a list of the new setup options.


CAUSE

In the current implementation, the new setup options can only be configured interactively in the driver setup dialog box.


WORKAROUND


MORE INFORMATION

The SQL Server driver v2.65.0201 has three new options for the datasource setup. In the ODBC administrator for a SQL Server 6.5 datasource, these are listed as:

  1. Use Trusted Connection


  2. Save Long Running Queries

    1. Query Logging Threshold (milliseconds)


    2. Query Log File




  3. Log Driver Statistics

    1. Statistics Log File





The keywords used in the registry for these options are:
  1. Trusted_Connection


  2. QueryLog_On

    1. QueryLogFile


    2. QueryLogTime




  3. StatsLog_On

    1. StatsLogFile





Additional query words: MFC 'Database Classes' RDO Access DAO Visual C++ Visual Basic


Keywords          : 
Version           : 2.65.0201
Platform          : WINDOWS 
Issue type        : 

Last Reviewed: March 25, 1999