ponedeljek, 06. julij 2015

Windows Small Business Server 2011 problems with DCOM error 10009


Had a issue a while ago with Event 10009, DistributedCOM flooding my System Event Viewer.
At fist i have tryed communicating DCOM with great tool named "DTCPing" it can be found on Microsoft support site: https://support.microsoft.com/en-us/kb/259011
I have run the tool on my SBS 2011 server and Client (Windows 7 Pro x64).
Now from the Client -> Server connection the tool worked great and it loged that "RPC test is successful" but from Server -> Client related connection it gave me error:

Invoking RPC method on CLIENTNAME 
Problem:fail to invoke remote RPC method 
Error(0x5) at dtcping.cpp @303 
-->RPC pinging exception 
-->5(Access is denied.)
I have read alot of site's and nothing really worked. Checked the Server's firewall in "Inbound rules" and "Outbound rules" for "Distributed Transaction Coordinator" and enabled them but the (Access is denied" was still there.
So i have found this helper:

http://stackoverflow.com/questions/7694/how-do-i-enable-msdtc-on-sql-server

Witch resolved the problem and DCOM stareted to work on client and server side.
So this is what helped my problem:

Do this on your SBS or eny other Windows Server 2008 server with DCOM error code 10009:

Use this for windows Server 2008 r2


  1. Click Start, click Run, type dcomcnfg and then click OK to open Component Services.
  2. In the console tree, click to expand Component Services, click to expand Computers, click to expand My Computer, click to expand Distributed Transaction Coordinator and then clickLocal DTC.
  3. Right click Local DTC and click Properties to display the Local DTC Properties dialog box.
  4. Click the Security tab.
  5. Check mark "Network DTC Access" checkbox.
  6. Finally check mark "Allow Inbound" and "Allow Outbound" checkboxes.
  7. Click ApplyOK.
  8. A message will pop up about restarting the service.
  9. Click OK and That's all.

Ni komentarjev:

Objavite komentar