A Tool to Monitor COM+ Component Call Time and Trigger Memory Dump in An Automation Way

  There were multiple ways to monitor COM+ Component call time automatically, most of them require certain C++ coding efforts or rely on third party legacy Dll. Especially when we experienced intermittently slow COM+ performance issues, it is hard to trigger Memory Dump for certain COM+ component.   After some research, I created a tool…

4

Case Study: COM+ 1.5 Rollup Package 934016 Installation failure on Win2003 SP2

  Recently we worked with on customer, who tried to install KB934016 on Windows 2003 server, however the Update.exe interestingly just crashed and failed to launch.   We went through below plan one by one till find the root cause and fix it. Share the detailed information as below:   Plan A: Manually extract the…

2

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…

0

Induced GC happened frequently and caused High CPU when creating Serviced Component in ASP.NET 2.0

  Customer reported one High CPU issue while one ASP.NET application is under normal load.   Regarding  ASP.NET application, besides the multiple threads busy, tighten looping code defect  some general possibilities, looking at the memory usage is quite important because heavy memory pressure may lead to frequent Garbage collection, and this is a kind of…

1

We may experience performance issue when WCF service communicates with STA COM

  Background:   Customer has a WCF service which communicates with a COM developed by VB6.  Customer complains that the performance is poor after it runs for some time, and the WCF response becomes longer and longer. We capture hang dump and found most of WCF worker threads are pending on a call to the…

0

How to develop and deploy ActiveX Control using ATL

    Create ATL ActiveX Control   1.     In “Visual Studio 2010”, create a new “ATL Project” with Visual C++, which named “DemoATLActiveX” in this project.   2.     Here comes  the “ATL Project Wizard” page. Click “Next”.   3.     Select “Dynamic-link library (DLL)” as Application type. Click “Finish”.     To add an object or…

3

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

Troubleshooting Access Denied issue when launch remote COM+ application as Anonymous user

Customer has setup COM+ application server in one Win2K3 Domain environment, and the client side is a workgroup machine. To make this scenario work, we have followed steps to allow Anonymous call to the remote COM+ application like we mentioned before: How to call COM+ remotely with anonymous user, but still get Access Denied error…

0

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

    We have introduced the troubleshooting methods on the most common scenarios which caused “Red Arrow” issue happens in Component Service before. Here I’d like to elaborate  more steps which may help on this “Red Arrow” problem. They are rebuilding COM+ Catalogs. Although the steps in this article are NOT  for most common patterns…

1

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