Microsoft KB Archive/152453

= Directhosting Affects Powerbuilder Query Performance =

Article ID: 152453

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows NT Workstation 3.51
 * Microsoft Windows NT Server 3.51
 * Microsoft Windows for Workgroups 3.11
 * Microsoft Windows 95

-



This article was previously published under Q152453



SYMPTOMS
Powerbuilder client server applications that utilize the IPX/SPX Compatible Protocol (NWLINK) running under Windows for Workgroups or Windows 95 may experience a performance problem. The query from this client against SQL Server running under Windows NT may take a long time to process. Other similar types of applications may encounter the same problem.



CAUSE
Because the DIRECTHOST feature only supports half-duplex communication (only one command outstanding on the IPX session at a time), this feature causes a decrease in perfomance with network applications that use named pipes to connect.



RESOLUTION
Disable the DIRECTHOST feature.

Steps to disable the feature in Windows for Workgroups:


 * 1) Open System.ini.
 * 2) Goto the [NETWORK] section.
 * 3) Add a line: DIRECTHOST=NO

This change will take effect when you next start Windows for Workgroups.

Steps to disable the feature in Windows 95:

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall Windows 95. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

 Click the Start button, then click Run. The Run dialog box appears. Type "regedit" and choose OK. Registry Editor starts.  Open (click on the + next to) HKEY_LOCAL_MACHINE, the go to the following subkey:

  System\CurrentControlSet\Services\Vxd  Open (click on the + next to) HKEY_LOCAL_MACHINE, then open System, CurrentControlSet, Services, and then finally open VxD. Select VNETSUP. On the Edit menu, select New, then choose String Value. A new value appears in the right-hand pane.</li> If necessary, right click on the new item and choose Rename from the context menu. Type DirectHost and press ENTER.</li> Right click on DirectHost and choose Modify. The Edit String dialog appears.</li> Type 0 (zero) and click OK.</li> Click Registry, then Exit to end the Registry Editor.</li></ol>

This change will take effect when you next start Windows 95

Additional query words: crawl slow

Keywords: KB152453

-

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

© Microsoft Corporation. All rights reserved.