Knowledge Base

VB CPIC Application Returns CM_PRODUCT_SPECIFIC_ERROR (20)

Article ID: 139501

Article Last Modified on 12/5/2003


APPLIES TO


This article was previously published under Q139501

SYMPTOMS

When you run identical C and Visual Basic (VB) CPIC applications, the C application works correctly but the VB application fails on cmalloc() with the following error:
return code 20: cm_product_specific_error

CAUSE

The SNA Server Windows 3.x client software incorrectly parses the CPIC application program name, so its associated transaction program entries in the WIN.INI file (such as the LocalLU parameter) are not found.

For example, if your application name is WIN-UP.EXE, under C it is known as WIN-UP. The VB application sees this as WIN-UP.EXE. If you are not pooling Local LUs as per
132720 (SNA Server CPIC Allocate Error 20) the above error appears, even if you have defined the following in the WIN.INI file of the client computer:
   [WIN_UP]
   APPCLLU=<LOCALLU>
				

RESOLUTION

To correct this problem:

STATUS

Microsoft has confirmed this to be a problem in SNA Server for Windows NT. This problem was corrected in the latest SNA Server for Windows NT, 2.11 U.S. Service Pack. For information on obtaining the Service Pack, query on the following word in the Microsoft Knowledge Base (without the spaces):

S E R V P A C K


Additional query words: prodsna 2.00 2.10 2.11 3.50 3.51 wincpic VB LU

Keywords: kbbug kbfix KB139501