Troubleshoot: Client Calls to DCOM "Server Failed With :A security package specific error occurred. (Exception from HRESULT: 0x80070721)."

Customer has an web application, which needs to call a remote DCOM server. However the web application intermittently got this error message;”A security package specific error occurred. (Exception from HRESULT: 0x80070721).” Before moving forward, we need to check if the environment hits below known issues: A COM+ application may stop working on Windows Server 2008…


How to troubleshoot the “Red Arrow” issue in Component Services (III)

  This is an extra troubleshooting plan in additional to plan (I) and (II). Several days ago, I worked with one problematic Win2003 environment, there is no lucky after we go through all steps in plan (I) and (II). Although the COM+ clean reinstallation, registry keys permission, registration folder permission, and important services (COM+ Event…

3

How to configure "RPC over HTTP" for DCOM communication in Windows 2003

Background RPC-over-HTTP enables client programs to use the Internet to execute procedures provided by server programs on distant networks. RPC over HTTP tunnels its calls through an established HTTP port. Thus, its calls can cross network firewalls on both the client and server networks. RPC over HTTP routes its calls to the RPC proxy located…

1

How to troubleshoot DCOM 10009 error logged in system event?

Symptom:   Sometimes, we may see below DCOM 10009 errors in our system event, or we may receive the exception code 0x800706ba in our DCOM client application: Event Type:        ErrorEvent Source:    DCOM|Event Category:                NoneEvent ID:              10009Date:                     2010-2-22Time:                     10:02:07User:                     N/AComputer:          <Computer Name>Description: DCOM was unable to communicate with the computer <Target Computer Name> using any of…

21

Troubleshooting COM/DCOM/COM+: COM Interop with .NET

    1.      .NET application may crash when calling function from native C++ dll   2.      DllCanUnloadNow function isn’t invoked after using classic COM components in .NET applications       3.   How to run .NET component in a singleuse way       4.   How to invoke 64bit native COM from 32bit .Net application      …


Troubleshooting COM/DCOM/COM+: General Issues

     1.      How to Tune the ASPProcessorThreadMax and EmulateMTSBehavior   2.      Why my DCOM service reports 10010 error   3.      Identify deadlock through the hwnd handler 4.      Why does client application report “RPC is Unavailable” after compiled as a Release Version?   5.      Cannot expand the COM+ list in the Component Services UI due…


Why does client application report “RPC is Unavailable” after compiled as a Release Version?

  One customer has a DCOM application, which was developed by unmanaged C++. The client application is the managed code. When the client application is compiled as a Debug version, everything runs smoothly, however, after it runs as a Release version, an “RPC is Unavailable” happens always.   Analysis ========== While we look at the…


Why my DCOM service reports 10010 error

Symptom Sometimes we will get the following error message for your DCOM service in the System event log. Event Type:        Error Event Source:    DCOM Event Category:                None Event ID:              10010 Date:                     8/26/2009 Time:                     2:35:34 PM User:                     XXXX Computer:          XXXX Description: The server {61FE47D1-3474-4716-B13E-4ADC413FD4F1} did not register with DCOM within the required timeout. Root Cause This…


How to run .NET component in a singleuse way

  We can set SingleUse for public classes in VB6 when creating VB ActiveX component , so that each interface call will raise new process to handle the request. Some customer would like to know how to implement in managed code.   Previously,  an ActiveX EXE project in VB6 can define one or more SingleUse…


How to call COM+ remotely with anonymous user

  The purpose of this tutorial is to give you an idea on how to call the COM+ server remotely. I’m not going to go into the depths of COM+ details or how to develop COM+, this tutorial is designed to show 3 ways on how to call COM+ server with VC++. Environment: Windows 2000…

1