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.

徵狀

請試想下列案例:

  • Active Directory 網域 NetBIOS 名稱包含一個連字號 (&) 在 Microsoft Exchange Server 2010年環境中的字元。

  • 您嘗試在環境中的伺服器上安裝 Exchange Server 2010 Service Pack 1 (SP1)。

在這個案例中,安裝就會失敗。 此外,您收到下列錯誤訊息:

剖析 EntityName 時,發生錯誤。 Line7,放置 12。

原因

連字號字元是保留的字元在 XML 中,就會發生這個問題。 因此,字元會造成失敗的目前登入使用者的剖析。

解決方案

如果要解決這個問題,請依照下列步驟執行: 答 5: 針對 Windows Server 2016 和 Windows 10 1709 版的 Windows Server 容器映像而發行的更新,包含適用於這組弱點的緩和措施,並且不需要額外設定。 更新彙總套件 4] 中解決這個問題,Exchange Server 2010 Service Pack 1。 如需詳細資訊,請按一下下面的文章編號,檢視「Microsoft 知識庫」中的文章:

2579150 更新彙總套件 4 的 Exchange Server 2010 Service Pack 1 的描述

  1. 從 CD 複製所有的安裝檔案到硬碟,,,然後開啟 [指令碼] 資料夾中的 [ManageScheduledTask.ps1 檔案。

  2. 找出下列幾行:

    function Get-CurrentUserName { [System.Security.Principal.WindowsIdentity]$id = [System.Security.Principal.WindowsIdentity]::GetCurrent() $id.Name }
  3. 請變更行,如下所示:

    function Get-CurrentUserName{ [System.Security.Principal.WindowsIdentity]$id = [System.Security.Principal.WindowsIdentity]::GetCurrent() [System.String]$fixedName = $id.Name.Replace('&','`&') return $fixedName }
  4. 儲存檔案,再從硬碟安裝 Exchange Server 2010 SP1。

  5. 安裝下列更新程式:

    2579150 更新彙總套件 4 的 Exchange Server 2010 Service Pack 1 的描述

狀態

Microsoft 已確認本篇文章<適用於>一節所列之 Microsoft 產品確實有上述問題。

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!

×