The information in this article applies to:
SYMPTOMSWhen you configure the OLE/DB Provider for DB2, if the user name and password are left blank in the Data Link Properties sheet, or if only the password field is blank, SNA Server 4.0 Service Pack (SP) 2 prompts you for the information with a dialog box; however, in this same scenario, SNA Server 4.0 SP3 fails with the following error message:
CAUSEThis is due to a change in the MDAC DataLink default behavior. With the new MDAC, the default for the DBPROP_INIT_PROMPT is DBPROMPT_NOPROMPT, and not DBPROMPT_COMPLETE. RESOLUTION
In order to be prompted for the missing user ID and password, edit the UDL by adding another parameter, "Prompt=2," into the connection string. ;Prompt=2Save the *.udl file, and then attempt the test connection again. WORKAROUNDHardcode a user ID and password into the Data Link Properties page. Additional query words:
Keywords : |
Last Reviewed: December 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |