PRB: SQL Server Error 911: Invalid Database NameID: Q115424 The information in this article applies to:
SYMPTOMSWhen you are trying to connect to a server in FoxPro for MS-DOS using the Connectivity Kit, the error below is received:
CAUSEThe DBConnect() documentation on page 32 of the FoxPro Connectivity Kit "User's Guide" says the following:
The DBConnect() function has the following format
where:
The error occurs when the fourth parameter (<expC4>), the Database name, is
not a valid database name.
For example, the code below will cause the error to occur because the database named "JUNK" does not exist. REDDFOXX is a valid server name, sa is a valid user name, and "" is a valid password.
RESOLUTIONChange the fourth parameter in the DBConnect() function to a valid database name. Additional reference words: FoxDos 2.50 2.50a 2.50b 2.60 SQLSERVER CK errmsg err msg KBCategory: kbinterop kbtool kbprg kberrmsg kbprb KBSubcategory: |
|
Last Reviewed: April 18, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |