Sdílet prostřednictvím


Directory Service Access Error Time-Out

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

The interval between the time when a request is made to access the directory service and the time when Message Queuing returns MSMQ_ERROR_NO_DS, which indicates that the directory service has not responded, is computed by the following formula.

ErrorTimeOut = (directory_service_servers)*2*(supported_protocols)*(RpcCancelTimeout)  

where directory_service_servers is the number of directory service servers in the local site, supported_protocols is the number of protocols supported by both the client computer and the directory service servers, and RpcCancelTimeout is the number of minutes set in the registry of the local client computer.

The default value of RpcCancelTimeout is 5 minutes. You can change the default value by setting the following registry entry on the client computer.

HKLM\SOFTWARE\Microsoft\MSMQ\Parameters\RpcCancelTimeout  

In MSMQ 2.0 and MSMQ 3.0, you must add this entry to change the default value.

For example, the network shown below has three directory service servers. It supports one protocol (TCP/IP), and the value of RpcCancelTimeout is 5. The directory service access error time-out of the following system would be:

ErrorTimeOut = 3*2*1*5  

<No Change>