I have one location, Zen 6.5 SP2 (upgraded from Zen 3.2), Netware 6.5 SP5a
server.

WSImport doesn't work. I have deleted and recreated the server policy,
removed and reinstalled the latest agent, added the proper importserver
registry key, and even added zenwsimport to the hosts file. From the
workstation I can ping zenwsimport, but when I try to import the system, it
returns error code 2.

Here is a log file from the workstation:

Thursday, August 10, 2006 12:30:11 -- -- Entering ZENWSREGRegister
Thursday, August 10, 2006 12:30:11 -- ZENWSREGRegister -- Entering
ZenLiteTree::ZenLiteTree()
Thursday, August 10, 2006 12:30:11 -- ZENWSREGRegister -- Entering
ZenLiteTree::ZenLiteTree()
Thursday, August 10, 2006 12:30:11 -- ZENWSREGRegister -- Entering
ZENContextInit
Thursday, August 10, 2006 12:30:12 -- ZENWSREGRegister -- Entering
ZenLiteTree::ZenLiteTree(zenContext)
Thursday, August 10, 2006 12:30:12 -- ZENWSREGRegister -- Leaving
ZenLiteTree::ZenLiteTree(zenContext)
Thursday, August 10, 2006 12:30:12 -- ZENWSREGRegister -- Entering
NDSTree::WhoAmI()
Thursday, August 10, 2006 12:30:12 -- ZENWSREGRegister -- WhoAmI() returning
Admin.SES.
Thursday, August 10, 2006 12:30:12 -- ZENWSREGRegister -- Leaving
NDSTree::WhoAmI()
Thursday, August 10, 2006 12:30:12 -- ZENWSREGRegister -- Entering
NDSTree::GetTreeName()
Thursday, August 10, 2006 12:30:12 -- ZENWSREGRegister --
NDSTree::GetTreeName() returning BCSD.
Thursday, August 10, 2006 12:30:12 -- ZENWSREGRegister -- Entering
NDSTree::GetTreeName()
Thursday, August 10, 2006 12:30:12 -- ZENWSREGRegister -- Entering
Registrar::Register
Thursday, August 10, 2006 12:30:12 -- ZENWSREGRegister -- Entering
Registrar::Update
Thursday, August 10, 2006 12:30:12 -- ZENWSREGRegister -- Leaving
Registrar::Update, returning 1
Thursday, August 10, 2006 12:30:12 -- ZENWSREGRegister -- Entering
Registrar::Import
Thursday, August 10, 2006 12:30:12 -- ZENWSREGRegister -- Entering
GenerateImportDoc
Thursday, August 10, 2006 12:30:12 -- ZENWSREGRegister -- User Tree = <BCSD>
Thursday, August 10, 2006 12:30:12 -- ZENWSREGRegister -- User DN =
<Admin.SES>
Thursday, August 10, 2006 12:30:12 -- ZENWSREGRegister -- Login count = <2>
Thursday, August 10, 2006 12:30:12 -- ZENWSREGRegister -- Entering
ZenLiteTree::ZenLiteTree()
Thursday, August 10, 2006 12:30:12 -- ZENWSREGRegister -- Entering
ZenLiteTree::ZenLiteTree()
Thursday, August 10, 2006 12:30:12 -- ZENWSREGRegister -- ConnType = 2
Thursday, August 10, 2006 12:30:13 -- ZENWSREGRegister -- Encountered
Winsock error 4294967295 when trying to scan the IPX address.
Thursday, August 10, 2006 12:30:13 -- ZENWSREGRegister -- Entering
ZenLiteTree::ZenLiteTree()
Thursday, August 10, 2006 12:30:13 -- ZENWSREGRegister -- Entering
ZenLiteTree::ZenLiteTree()
Thursday, August 10, 2006 12:30:13 -- ZENWSREGRegister -- ConnType = 2
Thursday, August 10, 2006 12:30:13 -- ZENWSREGRegister -- Leaving
GenerateImportDoc
Thursday, August 10, 2006 12:30:13 -- ZENWSREGRegister -- Entering
HTTPUtil::SendMessage
Thursday, August 10, 2006 12:30:13 -- ZENWSREGRegister -- HTTP server =
50.180.0.25
Thursday, August 10, 2006 12:30:13 -- ZENWSREGRegister -- Loaded novhttp.dll
Thursday, August 10, 2006 12:30:13 -- ZENWSREGRegister -- About to create an
HTTP connection.
Thursday, August 10, 2006 12:30:13 -- ZENWSREGRegister -- hSession =
16842753
Thursday, August 10, 2006 12:30:13 -- ZENWSREGRegister -- InternetSetOption
returned 1
Thursday, August 10, 2006 12:30:13 -- ZENWSREGRegister -- Connecting to
server <50.180.0.25> port 8039.
Thursday, August 10, 2006 12:30:13 -- ZENWSREGRegister -- hConnect =
33619969
Thursday, August 10, 2006 12:30:14 -- ZENWSREGRegister -- hRequest =
50397185
Thursday, August 10, 2006 12:30:14 -- ZENWSREGRegister -- Finished opening
request. hRequest = 3010001.
Thursday, August 10, 2006 12:30:14 -- ZENWSREGRegister -- About to send the
following request:
Thursday, August 10, 2006 12:30:14 -- ZENWSREGRegister -- <?xml
version="1.0" encoding="UTF-16LE"?>
<new_ws>
<computer>SESPC9</computer>
<cpu>PENTIUM 4</cpu>
<dns>SESPC9.bcsd.k12.sc.us</dns>
<subnet_mask>255.255.0.0</subnet_mask>
<ip>50.180.3.44</ip>
<ipx></ipx>
<mac>00:16:35:A7:F4:48</mac>
<os>WINXP (5.1 Service Pack 2)</os>
<server>SES</server>
<user_dn>Admin.SES</user_dn>
<login_count>2</login_count>
<auditing_version>6.5.0.4</auditing_version>
</new_ws>

Thursday, August 10, 2006 12:30:44 -- ZENWSREGRegister -- Last error = 12002
Thursday, August 10, 2006 12:30:44 -- ZENWSREGRegister -- Error: ~
Thursday, August 10, 2006 12:30:44 -- ZENWSREGRegister -- Leaving
HTTPUtil::SendMessage, returning 12002
Thursday, August 10, 2006 12:30:44 -- ZENWSREGRegister -- Entering
HTTPUtil::SendMessage
Thursday, August 10, 2006 12:30:44 -- ZENWSREGRegister -- Aborting
SendMessage. Server address is empty.
Thursday, August 10, 2006 12:30:44 -- ZENWSREGRegister -- Entering
Registrar::Import
Thursday, August 10, 2006 12:30:44 -- ZENWSREGRegister -- Import failed.
Error: 2
Thursday, August 10, 2006 12:30:44 -- ZENWSREGRegister -- Leaving
Registrar::Register, returning 2
Thursday, August 10, 2006 12:30:44 -- ZENWSREGRegister -- Leaving
ZENWSREGRegister, returning 2

Here is an entry from the server log (not for the same system, but typical).

Aug 11, 2006 2:46:30 PM Connection opened: /50.180.2.42:1033
Aug 11, 2006 2:46:30 PM Header = POST /oneNet/wsimport HTTP/1.1
NovINet: v2.0
User-Agent: ZenHttp
Host: 50.180.0.25:8039
Content-Length: 850
Connection: Keep-Alive

Aug 11, 2006 2:46:30 PM contentLength = 850
Aug 11, 2006 2:46:30 PM bytesRead=850 byteCount=850
Aug 11, 2006 2:46:30 PM Content is UTF-16LE encoded.
Aug 11, 2006 2:46:30 PM request = <?xml version="1.0" encoding="UTF-16LE"?>
<new_ws>
<computer>LABHPV42018</computer>
<cpu>PENTIUM 4</cpu>
<dns>LABHPV42018.bcsd.k12.sc.us</dns>
<subnet_mask>255.255.0.0</subnet_mask>
<ip>50.180.2.42</ip>
<ipx>1234CDEF:00000000</ipx>
<mac>00:04:23:25:E6:AA</mac>
<os>WINXP (5.1 Service Pack 2)</os>
<server>SES</server>
<login_count>0</login_count>
<auditing_version>6.5.0.4</auditing_version>
</new_ws>

Aug 11, 2006 2:48:30 PM Connection opened: /50.180.2.42:1037
Aug 11, 2006 2:48:30 PM Header = POST /oneNet/wsimport HTTP/1.1
NovINet: v2.0
User-Agent: ZenHttp
Host: 50.180.0.25:8039
Content-Length: 918
Connection: Keep-Alive

Aug 11, 2006 2:48:30 PM contentLength = 918
Aug 11, 2006 2:48:30 PM bytesRead=918 byteCount=918
Aug 11, 2006 2:48:30 PM Content is UTF-16LE encoded.
Aug 11, 2006 2:48:30 PM request = <?xml version="1.0" encoding="UTF-16LE"?>
<new_ws>
<computer>LABHPV42018</computer>
<cpu>PENTIUM 4</cpu>
<dns>LABHPV42018.bcsd.k12.sc.us</dns>
<subnet_mask>255.255.0.0</subnet_mask>
<ip>50.180.2.42</ip>
<ipx>1234CDEF:00000000</ipx>
<mac>00:04:23:25:E6:AA</mac>
<os>WINXP (5.1 Service Pack 2)</os>
<server>SES</server>
<user_dn>FV0483.S.SES</user_dn>
<login_count>2</login_count>
<auditing_version>6.5.0.4</auditing_version>
</new_ws>


Any ideas why import isn't working?

Thanks.

Dave
dsf7062@beaufortDOTk12DOTscDOTus