An exception occurs when a WCF client sends a request to a .NET Framework 3.5-based WCF service that uses an IPv6 address for the binding

Applies to: Windows Communication Foundation

Symptoms


Assume that you host a Microsoft .NET Framework 3.5 Service Pack 1 (SP1)-based Windows Communication Foundation (WCF) service in Internet Information Services (IIS). Then, you specify an IPv6 address for the binding of a service endpoint. However, when a WCF client sends a request to the service, you receive an error message that resembles the following in the Application log: 
Description:

Unhandled Exception "The protocol binding '[::1]:<port number>:' does not conform to the syntax for 'http'. The following is an example of valid 'http' protocol bindings: ':< port number>:'."


Stack Trace:

at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)

at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result)

at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous(HttpApplication context, Boolean flowContext)

at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Cause


This issue occurs because WCF treats the colon character (:) as a string-splitting character in IPv6 addresses when WCF parses the binding address.

Resolution


To fix this issue, install the latest available supported version of .NET as per the Exchange Supportability Matrix.

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information


For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates