The information in this article applies to:
SYMPTOMSAn ISAPI extension running under IIS 4.0 gives the following error when CDatabase::Open is called to open a database connection in an ODBC data source:
RESOLUTIONUse the CDatabase::OpenEx function and specify the noOdbcDialog option to open your database connections.
STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATION
The SQL_DRIVER_NOPROMPT flag instructs ODBC to connect with the information
passed in the connect string and to avoid displaying a login dialog box at
run time.
REFERENCES
Refer to the Visual C++ online help for a complete description of the
OpenEx function.
Q160906 HOWTO: Use MFC 4.2 ODBC Classes in an ISAPI DLL Additional query words: kbvc500 kbvc600
Keywords : kbDatabase kbMFC kbODBC kbVC |
Last Reviewed: July 27, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |