Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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)

↑ Back to the top


Cause

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

↑ Back to the top


Resolution

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

↑ Back to the top


Status

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

↑ Back to the top


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

↑ Back to the top


Keywords: kbsurveynew, kbqfe, kbnotautohotfix, kbhotfixdev, kbhotfixserver, kbexpertiseadvanced, kb

↑ Back to the top

Article Info
Article ID : 981667
Revision : 8
Created on : 12/4/2017
Published on : 12/4/2017
Exists online : False
Views : 322