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

Article translations Article translations
Article ID: 981667 - View products that this article applies to.
Expand all | Collapse all

On This Page

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

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

To download this hotfix from the MSDN Code Gallery, visit the following Microsoft Web site:
http://code.msdn.microsoft.com/KB981667

Note The MSDN Code Gallery displays the languages for which the hotfix is available. If you do not see your language listed, it is because the Code Gallery resource page is not available for that language.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
 You can also download this hotfix from the following Microsoft website:
https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=29422

Prerequisites

You must have the .NET Framework 3.5 Service Pack 1 (SP1) installed to apply this hotfix.

Restart requirement

You do not have to restart the computer after you apply the hotfix if the affected files are not being used.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
For all supported x86-based versions of Windows Vista SP2 and of Windows Server 2008 SP2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTime
Smdiagnostics.dll3.0.4506.4544110,59204-May-201014:39
System.servicemodel.washosting.dll3.0.4506.454432,76804-May-201014:39
System.servicemodel.dll3.0.4506.45445,988,35204-May-201014:38
Servicemodel.mofNot Applicable84,98509-Mar-201011:02
Servicemodel.mof.uninstallNot Applicable89603-Apr-200921:16
Servicemonikersupport.dll3.0.4506.454417,25604-May-201014:39
System.identitymodel.dll3.0.4506.4544442,36804-May-201014:38
System.runtime.serialization.dll3.0.4506.4544970,75204-May-201014:38
System.servicemodel.dll3.0.4506.45445,988,35204-May-201014:38
For all supported x64-based versions of Windows Vista SP2 and of Windows Server 2008 SP2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Servicemodel.mofNot Applicable84,98509-Mar-201011:01Not Applicable
Servicemodel.mof.uninstallNot Applicable89603-Apr-200920:55Not Applicable
Servicemonikersupport.dll3.0.4506.454419,30404-May-201014:38x64
Smdiagnostics.dll3.0.4506.454494,20804-May-201014:38x64
System.identitymodel.dll3.0.4506.4544401,40804-May-201014:38x64
System.runtime.serialization.dll3.0.4506.4544847,87204-May-201014:38x64
System.servicemodel.washosting.dll3.0.4506.454432,76804-May-201014:38x64
System.servicemodel.dll3.0.4506.45445,328,89604-May-201014:38x64
For all supported IA-64-based versions of Windows Server 2008 SP2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Servicemodel.mofNot Applicable84,98509-Mar-201011:02Not Applicable
Servicemodel.mof.uninstallNot Applicable89603-Apr-200920:57Not Applicable
Servicemonikersupport.dll3.0.4506.454433,64004-May-201014:38IA-64
Smdiagnostics.dll3.0.4506.454494,20804-May-201014:38IA-64
System.identitymodel.dll3.0.4506.4544401,40804-May-201014:38IA-64
System.runtime.serialization.dll3.0.4506.4544847,87204-May-201014:38IA-64
System.servicemodel.washosting.dll3.0.4506.454432,76804-May-201014:38IA-64
System.servicemodel.dll3.0.4506.45445,328,89604-May-201014:38IA-64
For all supported x86-based versions of Windows 7
Collapse this tableExpand this table
File nameFile versionFile sizeDateTime
Smdiagnostics.dll3.0.4506.5025110,59204-May-201022:31
System.servicemodel.washosting.dll3.0.4506.502532,76804-May-201022:31
Servicemodel.mofNot Applicable83,60722-Jul-200922:58
Servicemodel.mof.uninstallNot Applicable89610-Jun-200921:14
Servicemonikersupport.dll3.0.4506.502517,25604-May-201022:31
System.identitymodel.dll3.0.4506.5025442,36804-May-201022:31
System.runtime.serialization.dll3.0.4506.5025970,75204-May-201022:31
System.servicemodel.dll3.0.4506.50255,984,25604-May-201022:31
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Servicemodel.mofNot Applicable83,60722-Jul-200923:18Not Applicable
Servicemodel.mof.uninstallNot Applicable89610-Jun-200920:30Not Applicable
Servicemonikersupport.dll3.0.4506.502519,30404-May-201022:28x64
Smdiagnostics.dll3.0.4506.502594,20804-May-201022:28x64
System.identitymodel.dll3.0.4506.5025401,40804-May-201022:28x64
System.runtime.serialization.dll3.0.4506.5025847,87204-May-201022:28x64
System.servicemodel.washosting.dll3.0.4506.502532,76804-May-201022:28x64
System.servicemodel.dll3.0.4506.50255,324,80004-May-201022:28x64
For all supported IA-64-based versions of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Servicemodel.mofNot Applicable83,60722-Jul-200923:46Not Applicable
Servicemodel.mof.uninstallNot Applicable89610-Jun-200920:35Not Applicable
Servicemonikersupport.dll3.0.4506.502533,64004-May-201022:22IA-64
Smdiagnostics.dll3.0.4506.502594,20804-May-201022:22IA-64
System.identitymodel.dll3.0.4506.5025401,40804-May-201022:22IA-64
System.runtime.serialization.dll3.0.4506.5025847,87204-May-201022:22IA-64
System.servicemodel.washosting.dll3.0.4506.502532,76804-May-201022:22IA-64
System.servicemodel.dll3.0.4506.50255,324,80004-May-201022:22IA-64

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

Properties

Article ID: 981667 - Last Review: August 20, 2010 - Revision: 4.0
APPLIES TO
  • Microsoft .NET Framework 3.5 Service Pack 1
Keywords: 
kbsurveynew kbqfe kbhotfixserver kbexpertiseadvanced KB981667

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com