Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problems with cwbSY_LogonUser from NT Service

32 views
Skip to first unread message

Greg Cole

unread,
Feb 15, 1999, 3:00:00 AM2/15/99
to
I am trying to use cwbSY_LogonUser to establish a CA session from an NT
service. If I run the application as a regular interactive windows session,
cwbSY_LogonUser works fine. However, if I run the same application as as
service (using the same service account), I get the following three errors
(XXXX is the name of the system):

CWBDB001 - Connection handle failed in attempt to contact server (System
XXXX)
CWB4019 - Communications error
CWBCS1106 - Unable to recevie data from return queue AAAAAAECSConv


The calls to cwbSV_CreateErrHandle, cwbSY_CreateSecurityObj and cwbSY_SetSys
that preceed the cwbSY_LogonUser call work just fine.

Any help in solving this would be greatly appreciated

Greg Cole
Cole Consulting
gc...@coleconsulting.com

Greg Cole

unread,
Feb 15, 1999, 3:00:00 AM2/15/99
to
I am trying to use cwbSY_LogonUser to establish a CA session from an NT
service. If I run the application in a regular interactive windows session,

cwbSY_LogonUser works fine. However, if I run the same application as as
service (using the same service account), I get the following three errors
(XXXX is the name of the system):

CWBDB001 - Connection handle failed in attempt to contact server (System
XXXX)
CWB4019 - Communications error
CWBCS1106 - Unable to recevie data from return queue AAAAAAECSConv

The calls to cwbSV_CreateErrHandle, cwbSY_CreateSecurityObj and cwbSY_SetSys

that preceed the call to cwbSY_LogonUser all work just fine.

Paul Nicolay

unread,
Feb 16, 1999, 3:00:00 AM2/16/99
to
HI Greg,

The problem is probably caused by the fact that you don't have a connection
defined. In NT, the connection information is per user/environment, so
also for the service job you should have one. I believe this is explained
in one of the APARs on the Client Access website.

Regards,
Paul
------------------------
Greg Cole <gc...@coleconsulting.com> wrote in article
<OhYx2.3178$rs2.3...@client.news.psi.net>...


The contents of this message express only the sender's opinion.
This message does not necessarily reflect the policy or views of
my employer, Merck & Co., Inc. All responsibility for the statements
made in this Usenet posting resides solely and completely with the
sender.

Greg Cole

unread,
Feb 16, 1999, 3:00:00 AM2/16/99
to
Paul,

I couldn't find the APAR that you referred to. Do you have a doc # or
anything?

The service account for the NT service is the same account that I am using
for the interactive login session in which cwbSY_LogonUser works fine. Just
to be sure, I set up all of the Client Access settings in
HKEY_USERS\.DEFAULT. Is there something else I need to do?

Thanks
Greg


Paul Nicolay wrote in message <01be5985$bb50a6e0$4e44...@merck.com>...

Dugan Zhang

unread,
Feb 19, 1999, 3:00:00 AM2/19/99
to
Try to run cwbcfg util. Some thing like "cwbcfg /host hostname /ipaddr ipaddr /r
/s"

Greg Cole

unread,
Feb 22, 1999, 3:00:00 AM2/22/99
to
I've tried that. It didn't make any difference.

Anything else I can try?

-Greg

Dugan Zhang wrote in message <36CD9316...@server-centric.com>...

0 new messages