How to determine the referenced COM object from System.__ComObject

Perhaps you are debugging your .NET Application and would like to know to which COM component an instance of System.__ComObject refers. Currently, I’ve only tested these steps in an .NET 2.0 x86 environment. Also, I’m using the incredible debugger extension developed by Rodney Viana which you can alsouse by downloading NetExt from https://netext.codeplex.com/. Make sure…

0

Mixed Mode Adapter for Native C++

  So our customer’s goal was to update their native C++ application with support for calling a static instance of a C# class and share that instance with native and managed clients from within the same process space. This is a sample created to demonstrate one method to accomplish this task. (Many thanks to Rodney…

2

A Tricky “Could not create SSL/TLS secure channel”

  My customer is attempting to setup a WCF service behind a SSL balancer. The WCF Service will not have a SSL certificate installed so it will be insecure transport between load balancer and the WCF service. The SSL device requires SSL connection and a client certificate. Customer wrote a simple client application which could…

3

Configure ETW Tracing Windows Server AppFabric 1.1 for Multiple Cachehosts

  Enabling ETW tracing across your cluster can be made easier by utilizing this handy guide. Method 1 shows how using PsExec and Method 2 shows how to use native Logman.exe only.   Method 1: Using PsExec From SysInternals Instructions 1. Install PsExec.exe from: https://technet.microsoft.com/en-us/sysinternals/bb897553.aspx 2. Make sure PsExec.exe is in the system path or…

1

MSDTC Does Not Correctly Log All XA Transaction Details

  If you’re having to work with the Microsoft Distributed Transaction Coordinator transaction logs, you must already be having a very fun day. To add to your joy, I’ve recently learned that MSDTC does not correctly log XA transaction details within the Transaction Logs. Let me give you some details that I’ve picked up. Two…

0

The IObjectControl::Activate() method failed – Error Code = 0x800a01a8

  My customer was migrating from Windows 2003 to Windows 2012 R2. Part of the application still ran classic ASP and VB6 COM+ components in IIS. Their COM+ component requires ASP sessions state so IISIntrinsics was enabled for the component. However, in the new Windows 2012 R2 environment, when the VB6 component requested a value…

1

SSL HandShake ClientHello receives Encrypted Alert

My customer recently ran into a problem worth recounting. He had several machines which had a WCF application which made a secure SSL connection to a remote Web Service. However, a new set of machines built could not connect to the same endpoint using SSL. The new machines received the error: Could not create SSL/TLS…

1

Simple WSE Routing Sample for Classic SOAP Service

    A customer came to me recently asking about options to migrate a set of SOAP services hosted on Windows 2003 into two new modern datacenters running Windows 2012. The most critical requirement for the customer was that the client remain unaware of the change and client proxies could not be modified. We decided…

2

Implement a UserNamePasswordValidator for WCF Service hosted in IIS

Recently I was working with a customer to implement a custom UserNamePasswordValidator for his WCF application. You can download a sample on this topic and others from Windows Communication Foundation (WCF) and Windows Workflow Foundation (WF) Samples for.NET Framework 4. Although the WCF sample works perfectly you may run into problems transferring the solution to a…

1