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 SQL Server 2012 Service Pack 1 (SP1)套用到已安裝 Microsoft SQL Server 管理工具(包括 Microsoft SQL Server 2012 分析服務工具)的電腦上。 當您嘗試編輯資料來源的連線字串時,請開啟 [Analysis Services 部署嚮導] 工具中的 [指定設定屬性] 對話方塊,您會收到下列錯誤訊息:

無法載入檔案或程式集 ' ConnectionUI、Version = 8.0.0.0、Culture = 中性、PublicKeyToken = b03f5f7f11d50a3a ' 或其其中一個相依性。 找到的元件資訊清單定義與程式集參照不相符。 (來自 HRESULT 的例外狀況:0x80131040)

原因

之所以會發生此問題,是因為在 ConnectionUI 的 ConnectionUI 中,為 microsoft. .dll 檔案的資訊清單中不正確的參照。

解決方案

累積更新資訊

SQL Server 2012 的累積更新 3 Service Pack 1 (SP1)

此問題的修正程式是在累積更新3中第一次發行。如需如何針對 SQL Server 2012 SP 1 取得累積更新套件的詳細資訊,請按一下下列文章編號,以查看 Microsoft 知識庫中的文章:

2812412 SQL Server 2012 的累積更新套件 3 Service Pack 1注意: 因為組建是累加的,所以每個新的修正版本都包含舊版 SQL Server 2012 SP 1 修正版本中所包含的所有修復程式及所有安全性修正程式。 我們建議您考慮套用包含此熱修復程式的最新修正版本。 如需詳細資訊,請按一下下面的文章編號,檢視「Microsoft 知識庫」中的文章:

2772858 在發行 SQL Server 2012 Service Pack 1 之後發行的 SQL Server 2012 組建

狀態

Microsoft 已確認<適用於>一節所列的 Microsoft 產品確實有上述問題。

因應措施

若要解決此問題,請遵循下列步驟:

  1. 以系統管理員身分在文字編輯器(如記事本)中開啟下列設定檔:

    <系統磁片磁碟機>:\Program Files (x86) \Microsoft SQL Server\110\Tools\Binn\ManagementStudio\Microsoft.AnalysisServices.Deployment.exe.config

  2. 在 [設定] 區段中,將 [</startup>] 標記之後插入執行時間 XML 標記:

    <configuration>  <startup>    <requiredRuntime version="v4.0.30319" safemode="true" />  </startup>  <runtime>                <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">                                <dependentAssembly>                                <assemblyIdentity name="Microsoft.Data.ConnectionUI" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>                                <bindingRedirect oldVersion="8.0.0.0-9.0.0.0" newVersion="10.0.0.0"/>                                </dependentAssembly>                <dependentAssembly>                                <assemblyIdentity name="Microsoft.Data.ConnectionUI.Dialog" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>                                <bindingRedirect oldVersion="8.0.0.0-9.0.0.0" newVersion="10.0.0.0"/>                </dependentAssembly>                </assemblyBinding>   </runtime></configuration>
  3. 儲存設定檔。

  4. 執行 AnalysisServices,然後再次嘗試資料庫部署。

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!

×