We have a problem with a new PC, installed the ZEN desktop agent but the WS
object didn't show in eDir. Manually running ZWSREG gives us the error
code 2 response. I have no trouble pinging the zenwsimport server.

Here is the log file we generated:

Friday, February 17, 2006 11:31:35 -- -- Entering ZENWSREGRegister
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- Entering
ZenLiteTree::ZenLiteTree()
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- Entering
ZenLiteTree::ZenLiteTree()
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- Entering
ZENContextInit
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- Entering
ZenLiteTree::ZenLiteTree(zenContext)
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- Leaving
ZenLiteTree::ZenLiteTree(zenContext)
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- Entering
NDSTree::WhoAmI()
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- WhoAmI()
returning CET.Utility-Users.OAK.BART.
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- Leaving
NDSTree::WhoAmI()
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- Entering
NDSTree::GetTreeName()
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister --
NDSTree::GetTreeName() returning BART.
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- Entering
NDSTree::GetTreeName()
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- Entering
Registrar::Register
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- Entering
Registrar::Update
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- Leaving
Registrar::Update, returning 1
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- Entering
Registrar::Import
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- Entering
GenerateImportDoc
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- User Tree = <BART>
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- User DN =
<CET.Utility-Users.OAK.BART>
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- Login count = <0>
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- Entering
ZenLiteTree::ZenLiteTree()
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- Entering
ZenLiteTree::ZenLiteTree()
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- ConnType = 2
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- Encountered
Winsock error 4294967295 when trying to scan the IPX address.
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- Entering
ZenLiteTree::ZenLiteTree()
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- Entering
ZenLiteTree::ZenLiteTree()
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- ConnType = 2
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- Leaving
GenerateImportDoc
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- Entering
HTTPUtil::SendMessage
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- HTTP server =
zenwsimport
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- Loaded novhttp.dll
Friday, February 17, 2006 11:31:35 -- ZENWSREGRegister -- About to create
an HTTP connection.
Friday, February 17, 2006 11:31:36 -- ZENWSREGRegister -- hSession = 16842753
Friday, February 17, 2006 11:31:36 -- ZENWSREGRegister -- InternetSetOption
returned 1
Friday, February 17, 2006 11:31:36 -- ZENWSREGRegister -- Connecting to
server <zenwsimport> port 8039.
Friday, February 17, 2006 11:31:36 -- ZENWSREGRegister -- hConnect = 33619969
Friday, February 17, 2006 11:31:36 -- ZENWSREGRegister -- hRequest = 50397185
Friday, February 17, 2006 11:31:36 -- ZENWSREGRegister -- Finished opening
request. hRequest = 3010001.
Friday, February 17, 2006 11:31:36 -- ZENWSREGRegister -- About to send the
following request:
Friday, February 17, 2006 11:31:36 -- ZENWSREGRegister -- <?xml
version="1.0" encoding="UTF-16LE"?>
<new_ws>
<computer>KFULLIN-PC</computer>
<cpu>PENTIUM 4</cpu>
<dns>Kfullin-PC.adm.bart.gov</dns>
<subnet_mask>255.255.255.0</subnet_mask>
<ip>10.2.15.29</ip>
<ipx></ipx>
<mac>00:12:3F:4D:3C:98</mac>
<os>WINXP (5.1 Service Pack 2)</os>
<server>OAK-02</server>
<user_dn>CET.Utility-Users.OAK.BART</user_dn>
<login_count>0</login_count>
<auditing_version>6.5.0.4</auditing_version>
</new_ws>

Friday, February 17, 2006 11:32:06 -- ZENWSREGRegister -- Last error = 12002
Friday, February 17, 2006 11:32:06 -- ZENWSREGRegister -- Error: 
Friday, February 17, 2006 11:32:06 -- ZENWSREGRegister -- Leaving
HTTPUtil::SendMessage, returning 12002
Friday, February 17, 2006 11:32:06 -- ZENWSREGRegister -- Entering
HTTPUtil::SendMessage
Friday, February 17, 2006 11:32:06 -- ZENWSREGRegister -- Aborting
SendMessage. Server address is empty.
Friday, February 17, 2006 11:32:06 -- ZENWSREGRegister -- Entering
Registrar::Import
Friday, February 17, 2006 11:32:06 -- ZENWSREGRegister -- Import failed.
Error: 2
Friday, February 17, 2006 11:32:06 -- ZENWSREGRegister -- Leaving
Registrar::Register, returning 2
Friday, February 17, 2006 11:32:06 -- ZENWSREGRegister -- Leaving
ZENWSREGRegister, returning 2
Friday, February 17, 2006 11:35:02 -- -- Entering ZENWSREGRegister
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Entering
ZenLiteTree::ZenLiteTree()
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Entering
ZenLiteTree::ZenLiteTree()
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Entering
ZENContextInit
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Entering
ZenLiteTree::ZenLiteTree(zenContext)
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Leaving
ZenLiteTree::ZenLiteTree(zenContext)
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Entering
NDSTree::WhoAmI()
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- WhoAmI()
returning CET.Utility-Users.OAK.BART.
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Leaving
NDSTree::WhoAmI()
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Entering
NDSTree::GetTreeName()
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister --
NDSTree::GetTreeName() returning BART.
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Entering
NDSTree::GetTreeName()
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Entering
Registrar::Register
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Entering
Registrar::Update
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Leaving
Registrar::Update, returning 1
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Entering
Registrar::Import
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Entering
GenerateImportDoc
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- User Tree = <BART>
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- User DN =
<CET.Utility-Users.OAK.BART>
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Login count = <0>
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Entering
ZenLiteTree::ZenLiteTree()
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Entering
ZenLiteTree::ZenLiteTree()
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- ConnType = 2
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Encountered
Winsock error 4294967295 when trying to scan the IPX address.
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Entering
ZenLiteTree::ZenLiteTree()
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Entering
ZenLiteTree::ZenLiteTree()
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- ConnType = 2
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Leaving
GenerateImportDoc
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Entering
HTTPUtil::SendMessage
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- HTTP server =
zenwsimport
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Loaded novhttp.dll
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- About to create
an HTTP connection.
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- hSession = 16842753
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- InternetSetOption
returned 1
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Connecting to
server <zenwsimport> port 8039.
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- hConnect = 33619969
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- hRequest = 50397185
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- Finished opening
request. hRequest = 3010001.
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- About to send the
following request:
Friday, February 17, 2006 11:35:02 -- ZENWSREGRegister -- <?xml
version="1.0" encoding="UTF-16LE"?>
<new_ws>
<computer>KxxxxN-PC</computer>
<cpu>PENTIUM 4</cpu>
<dns>KxxxxN-PC.adm.bart.gov</dns>
<subnet_mask>255.255.255.0</subnet_mask>
<ip>10.2.15.29</ip>
<ipx></ipx>
<mac>00:12:3F:4D:3C:98</mac>
<os>WINXP (5.1 Service Pack 2)</os>
<server>OAK-02</server>
<user_dn>CET.Utility-Users.OAK.BART</user_dn>
<login_count>0</login_count>
<auditing_version>6.5.0.4</auditing_version>
</new_ws>

Friday, February 17, 2006 11:35:32 -- ZENWSREGRegister -- Last error = 12002
Friday, February 17, 2006 11:35:32 -- ZENWSREGRegister -- Error: 
Friday, February 17, 2006 11:35:32 -- ZENWSREGRegister -- Leaving
HTTPUtil::SendMessage, returning 12002
Friday, February 17, 2006 11:35:32 -- ZENWSREGRegister -- Entering
HTTPUtil::SendMessage
Friday, February 17, 2006 11:35:32 -- ZENWSREGRegister -- Aborting
SendMessage. Server address is empty.
Friday, February 17, 2006 11:35:32 -- ZENWSREGRegister -- Entering
Registrar::Import
Friday, February 17, 2006 11:35:32 -- ZENWSREGRegister -- Import failed.
Error: 2
Friday, February 17, 2006 11:35:32 -- ZENWSREGRegister -- Leaving
Registrar::Register, returning 2
Friday, February 17, 2006 11:35:32 -- ZENWSREGRegister -- Leaving
ZENWSREGRegister, returning 2


------[end]-----------

It just occured to me that the ZEN server itself may be the culprit. I
think I'll reboot it.