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:
File name | Date | Time |
---|---|---|
Wmisna.dll | 03/26/2001 | 16:56 |
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 "Resolution" section of this article is applied first.
Set WmiLocator = CreateObject("WbemScripting.SWBemLocator") Set WmiNameSpace = WmiLocator.ConnectServer("","root\MicrosoftHis") Set WmiObj = WmiNameSpace.Get("MsSna_TN3270SessionIPFilter") WmiObj.Security_.impersonationLevel = 3 Set NewWmiObj = WmiObj.SpawnInstance_ NewWmiObj.Name="workstation1" NewWmiObj.Session="TN004" 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