Debugging a Missing HostedTransportConfiguration Type

When browsing to a service hosted in IIS I get an error that the protocol does not have an implementation of HostedTransportConfiguration type registered. What can cause this? Two things to look at are the IIS site bindings and the installed activation services. All of these examples use net.tcp with default settings but you can…

0

Network Tracing Betas

Two frequently used network diagnostic tools have gotten beta updates this week. Network Monitor is an adapter level capture program that can record and analyze protocol traces. If you join the Connect beta program for Network Monitor 3 you can get access to the latest Network Monitor 3.4 beta release. Network Monitor 3.4 has a…

0

Debugging Delegation and Kerberos Configuration

I came across an interesting tool the other day that can be used to debug and diagnose configuration problems with Kerberos. DelegConfig is an ASP.NET application that you install to generate a troubleshooting report about your IIS configuration, Kerberos credential usage, and delegation settings. You configure the DelegConfig installation with the service account you intend…

0

Exploring Managed Applications

The new version of Process Explorer that was released this week has some features for exploring managed applications that I hadn’t seen before. If you right-click a process that has a CLR loaded and select Properties from the menu, then you’ll see two tabs called .Net Assemblies and .Net Performance. These tabs are not present…

0

Comparing Two Bindings

Too often I have to compare two bindings to find the subtle difference between a configuration that works and a configuration that doesn’t. This is quite a painful task as a channel stack can be generated on the fly based on different settings, there are dozens of configuration options (for security alone), and the difference…

1

Debugging with Reflector

I saw that a new version of Reflector came out the other day along with a new Reflector Pro add-in for Visual Studio that allows you to use the generated source for debugging. Being able to debug against a decompiled source file was the feature I asked for the very first time I saw Reflector…

6

Fix to Generate Contract Code for Dates

Here’s a bonus entry left from last week. Last week I ran a series covering fixes for WCF that may be hard to find and explaining the details behind each problem. Contract code generation takes a system-independent description of the types used for a messaging operation and generates source code instructions for working with those…

4

Fix to Allow an Encoder Fallback with UTF8

This week I’ll be running a series covering fixes for WCF that may be hard to find and explaining the details behind each problem. Encoding is the process of transforming a set of characters into a sequence of bytes. An encoder fallback is an error-handling mechanism invoked when a character can’t be fully converted or…

0

Fix for Partially Trusted Clients using Windows Authentication

This week I’ll be running a series covering fixes for WCF that may be hard to find and explaining the details behind each problem. Connection sharing is a performance optimization to pool HTTP connections between multiple calls. Ordinarily, connections are not allowed to be shared if they use Windows authentication to identify the caller. WCF…

0

Fix for Exception Reading Typed Headers

This week I’ll be running a series covering fixes for WCF that may be hard to find and explaining the details behind each problem. The dispatch operation formatter is the component that deserializes a message into objects. When building the objects out of the message headers in the message, the implementation of the operation formatters…

4