Client Automation - SCCM job returns error 800706BA

book

Article ID: 186141

calendar_today

Updated On:

Products

CA Client Automation - Asset Management CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

SCCM job (CA Asset Converter for Microsoft SCCM) is in Error.

In TRC_SMSEX_*.log there are this error :

SMSEX|SmsQuery::connec|SmsQuery::connect   |000000|ERROR  | ConnecServer() returned error: 800706BA
SMSEX|SmsQuery::connec|SmsQuery::connect   |000000|ERROR  | Unknown error
SMSEX|SmsQuery::connec|SmsQuery::connect   |000000|ERROR  | Could not connect.


ConnecServer() returned error: 800706BA

 

Cause

SCCM job tries to connect using WMI to \\sccm_server\root\SMS

But WMI connection fails with error 800706BA
Error 800706BA means "RPC Server Is Unavailable"


This could have multiple cause.
A possible cause is that a port is blocked by a firewall.

 

Environment

Client Automation - All versions.

Resolution

RPC is using following ports :

- TCP 135 (to target machine - SCCM server)
- A dynamic TCP port. Default Range on Windows 49152-65535

Make sure these ports are allowed by firewall

 

Additional Information

To limit the dynamic TCP port ranged used by RPC, this could be done on SCCM/SMS Microsoft Server :

 
- Execute regedit and In registry 
 
Add the Internet key under: HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc
 
 
- Under the Internet key, add the values "Ports" (MULTI_SZ), "PortsInternetAvailable" (REG_SZ), and "UseInternetPorts" (REG_SZ).

For example, the new registry key appears as follows:
 
Ports: REG_MULTI_SZ: 5000-5100
PortsInternetAvailable: REG_SZ: Y
UseInternetPorts: REG_SZ: Y
 
 
 
- Reboot the server
 
- Then allow in firewall the TCP IP range set (ex: 5000-5100)
 
See these pages for more information :