Microsoft KB Archive/287751

= SNA WMI Provider Does Not Allow TN Workstation/TNIPID to Be Added =

Article ID: 287751

Article Last Modified on 2/21/2007

-

APPLIES TO


 * Microsoft Host Integration Server 2000 Standard Edition

-



This article was previously published under Q287751



SYMPTOMS
You use Windows Management Instrumentation (WMI) to add a TN3270 workstation to a Host Integration Server 2000 configuration, but the attempt fails and no error message is returned.



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

The English version of this fix should have the following file attributes or later:

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



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Host Integration Server 2000 Service Pack 1.



MORE INFORMATION
The following script is an example of how TN370 workstation information can be added to a Host Integration Server 2000 configuration through the use of WMI. This code will fail, however, unless the fix described in the &quot;Resolution&quot; section of this article is applied first. Set WmiLocator = CreateObject(&quot;WbemScripting.SWBemLocator&quot;) Set WmiNameSpace = WmiLocator.ConnectServer(&quot;&quot;,&quot;root\MicrosoftHis&quot;) Set WmiObj = WmiNameSpace.Get(&quot;MsSna_TN3270SessionIPFilter&quot;) WmiObj.Security_.impersonationLevel = 3 Set NewWmiObj = WmiObj.SpawnInstance_

NewWmiObj.Name=&quot;workstation1&quot; NewWmiObj.Session=&quot;TN004&quot; NewWmiObj.Put_ wbemFlagReturnWhenComplete

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

287750 Using SNACFG TNIPID /ADD Fails to Add Workstation Information

Additional query words: vbscript sna wmi snacfg tnipid

Keywords: kbbug kbfix kbhostintegserv2000presp1fix kbhostintegserv2000sp1fix KB287751

-

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

© Microsoft Corporation. All rights reserved.