PRB: New Datasource Configuration Options in SQL Server 6.5Last reviewed: May 2, 1997Article ID: Q151974 |
The information in this article applies to:
SYMPTOMSWhen 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.
CAUSEIn the current implementation, the new setup options can only be configured interactively in the driver setup dialog box.
WORKAROUND
MORE INFORMATIONThe 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 2.a) Query Logging Threshold (milliseconds) 2.b) Query Log File3) Log Driver Statistics 3.a) Statistics Log FileThe keywords used in the registry for these options are: 1) Trusted_Connection 2) QueryLog_On 2.a) QueryLogFile 2.b) QueryLogTime3) StatsLog_On 3.a) StatsLogFile |
Additional query words: MFC 'Database Classes' RDO Access DAO Visual
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |