Microsoft KB Archive/196571

= NVRunCmd Does Not Return More Than 32 KB of Data Per Command =

Article ID: 196571

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft SNA Server 3.0
 * Microsoft SNA Server 2.11 Service Pack 1
 * Microsoft SNA Server 2.11 Service Pack 2
 * Microsoft SNA Server 3.0 Service Pack 4
 * Microsoft SNA Server 4.0
 * Microsoft SNA Server 3.0 Service Pack 2
 * Microsoft SNA Server 3.0 Service Pack 3
 * Microsoft SNA Server 4.0
 * Microsoft SNA Server 4.0 Service Pack 1

-



This article was previously published under Q196571





SYMPTOMS
Issuing a NVRunCMD command from the host whose response contains more than 32 KB of data results in an "Invalid Data Received" error message being returned to the host session.

The following is an example of a host error message that is seen when you issue a TYPE command for a file larger than 32 KB using NVRunCMD:


 * IP659 RUN SP=R2841, APPL=NVRUNCMD CMD TYPE D:\TEMP\JUNK\A.TXT - DSIGDS DSI296I RUN FAILED. INVALID DATA RECEIVED FROM R2841

When this occurs, none of the returned data is displayed on the host.



CAUSE
The NVRunCMD service is only designed to return up to 32 KB of data for each command. If the command results in more than 32 KB of data being returned, none of the data is returned. The "Invalid Data Received" error message is returned instead.



SNA Server 3.0
To resolve this problem, obtain the latest service pack for SNA Server version 3.0. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

184307 How to Obtain the Latest SNA Server Version 3.0 Service Pack

SNA Server 4.0
This problem was corrected in the latest SNA Server version 4.0 U.S. Service Pack. For information on obtaining this Service Pack, query on the following word in the Microsoft Knowledge Base (without the spaces):

  S E R V P A C K



STATUS
Microsoft has confirmed this to be a problem in SNA Server versions 2.11, 2.11 Service Pack 1, 2.11 Service Pack 2, 3.0, 3.0 Service Pack 1, 3.0 Service Pack 2, 3.0 Service Pack 3, 4.0, and 4.0 Service Pack 1. This problem was first corrected in SNA Server 3.0 Service Pack 4.



MORE INFORMATION
After applying the update, NVRunCMD will return up to 31,700 bytes of data for each NVRunCMD command issued. In addition, NVRunCMD will truncate responses that contain more than 31,700 bytes and will append a truncation message to the end of the data to indicate that the data has been truncated.

Keywords: kbbug kbfix KB196571

-

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

© Microsoft Corporation. All rights reserved.