OLE DB for DB2 Provider Hangs on Non-Trusted Windows 95/Windows 98 Client

ID: Q236110


The information in this article applies to:


SYMPTOMS

When a Windows 95 or Windows 98 client isn't participating in the same Windows NT domain (or trusted domain) as the SNA Server, and you choose the Test Connection option through the Microsoft OLE DB Provider for DB2, the Data Link Properties dialog box may stop responding (hang).

To Reproduce the Problem

  1. Install the SNA Server 4.0 Service Pack 2 (SP2) Windows 95 or Windows 98 client on a Windows 95 or Windows 98 computer.


  2. In the Windows 95 or Windows 98 Control Panel, double-click Network, click the Configuration tab, click Client for Microsoft Network, and click Properties.


  3. Click to clear the Log on to Windows NT Domain check box, which causes Windows 95 or Windows 98 to not participate in any domain, and restart the computer.


  4. Create a new Data Link to connect to DB2.


  5. Click Test Connection. This causes the SNA Windows 95 or Windows 98 SnaBase logon dialog box to appear (if SnaBase is not already running), prompting you to enter your Windows NT user ID, password, and domain. Enter the logon information, and click OK.


  6. The Data Link Property dialog box hangs.



CAUSE

The SNA Server 4.0 SP2 version of the OLE DB Provider for DB2 supports connectivity over APPC (over SNA LU6.2) or TCP/IP, while previous versions only supported APPC. As part of this change, Db2wappc.dll (the APPC transport for the OLE DB Provider for DB2) was modified so that the APPC interface (Wappc32.dll) is loaded and initialized within its DLL_PROCESS_ATTACH entry point, which causes a deadlock under certain timing conditions.


RESOLUTION

A supported fix that corrects this problem is now available from Microsoft, but it has not been fully regression tested and should be applied only to systems experiencing this specific problem. If you are not severely affected by this specific problem, Microsoft recommends that you wait for the next Microsoft SNA Server 4.0 service pack that contains this fix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information on support costs, please go to the following address on the World Wide Web:

http://www.microsoft.com/support/supportnet/overview/overview.asp
The English version of this fix should have the following file attributes or later:

File name Date Time
Db2serv.exe 06/24/99 05:23p
Db2wappc.dll 06/24/99 05:23p

NOTE: Because of file dependencies, the most recent fix that contains the above files may also contain additional files.

NOTE: If this product was already installed on your computer when you purchased it from the Original Equipment Manufacturer (OEM) and you need this fix, please call the Pay Per Incident number listed on the above Web site. If you contact Microsoft to obtain this fix, and if it is determined that you only require the fix you requested, no fee will be charged. However, if you request additional technical support, and if your no-charge technical support period has expired, or if you are not eligible for standard no-charge technical support, you may be charged a non-refundable fee.

For more information about eligibility for no-charge technical support, see the following article in the Microsoft Knowledge Base:
Q154871 Determining If You Are Eligible for No-Charge Technical Support


WORKAROUND

Change the Windows 95 or Windows 98 networking configuration so that the computer is participating in the same Windows NT domain as the SNA Server.


STATUS

Microsoft has confirmed this to be a problem in Microsoft SNA Server 4.0 SP2.

Additional query words:


Keywords          : sna4sp2 
Version           : WINDOWS:4.0 SP2
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: July 6, 1999