Microsoft KB Archive/309114

= OLE DB Provider for DB2 using SSO fails with SQL State error =

Article ID: 309114

Article Last Modified on 2/22/2007

-

APPLIES TO


 * Microsoft Host Integration Server 2000 Standard Edition
 * Microsoft OLE DB Provider for DB2 5.0

-



This article was previously published under Q309114



SYMPTOMS
The following scenario assumes that Host Security is configured with a working Host Account Cache (HAC):

If a Universal Data Link (.udl) file was configured to an AS/400 through Advanced Program-to-Program Communications (APPC) with Single Sign-On (SSO) selected, Test Connection will succeed. However, any application that uses this .udl file, including the sample applications Drda_vb.exe and Rowsetviewer.exe, will fail and report following error:

Invalid User ID or password. SQLSTATE:08S01, SQLCODE:-568



CAUSE
The user ID and password on the .udl file are always being used even if the Single Sign-on checkbox was selected.



RESOLUTION
To resolve this problem, obtain the latest service pack for Host Integration Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

328152 How to Obtain the Latest Host Integration Server 2000 Service Pack



WORKAROUND
Set both the UserId and Password fields to MS$SAME prior to selecting Single Sign-on.



STATUS
Microsoft has confirmed that this is a problem in Host Integration Server 2000. This problem was first corrected in Host Integration Server 2000 Service Pack 1.

Keywords: kbbug kbfix kbhostintegserv2000presp1fix kbhostintegserv2000sp1fix KB309114

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.