Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

狀況

假設您裝載 Microsoft.NET Framework 3.5 Service Pack 1 (SP1)-基礎 Windows 通訊基礎 (WCF) 服務在網際網路資訊服務 (IIS)。然後,您指定的服務端點繫結了 IPv6 位址。然而,當 WCF 用戶端傳送要求至服務,您會收到應用程式記錄檔中類似下列的錯誤訊息:

描述:

未處理的例外狀況"通訊協定繫結 ' [:: 1]: < 連接埠號碼 >:' 不符合 'http' 的語法。下列是有效的 'http' 通訊協定繫結的範例: ':< 連接埠號碼 >:'。"


堆疊追蹤:

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

在 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End (通知 IAsyncResult 結果)

在 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous (HttpApplication 內容,則為 True 的 flowContext)

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

在 System.Web.HttpApplication.ExecuteStep (IExecutionStep 步驟,布林值和 completedSynchronously)

原因

這個問題是因為 WCF 會將冒號字元 (:) 做為字串分割的字元在 IPv6 位址 WCF 剖析繫結的地址時。

解決方案

若要修正這個問題,請安裝最新可用支援的版本的.NET 根據Exchange 支援性矩陣

狀態

Microsoft 已確認這是<套用>一節所列出的 Microsoft 產品的問題。

更多的資訊

如需有關軟體更新術語的詳細資訊,請按一下下面的文件編號,檢視「Microsoft 知識庫」中的文件:

用來描述 Microsoft 軟體更新標準術語的編號 824684描述

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×