2016-02-17 41 views
0

我正嘗試在Azure中安裝Sitecore(CMS)。作爲該過程的一部分,我正在嘗試安裝Sql,並且面臨以下問題。 我有一臺虛擬機,我安裝了SQL Server 2014。
每當我試圖在Azure與SQL中我的虛擬機上安裝Sitecore的,我得到以下錯誤:在Azure中部署時缺少Sql Server雲適配器

Could not load file or assembly 'Microsoft.SqlServer.SqlEnum, Version=11.0.0.0,

Initializing database deployment failed ---> System.ApplicationException: Initializing database deployment is failed ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.SqlServer.SqlEnum, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified. at Sitecore.Azure.Pipelines.DeployDatabase.DeployDatabasePipelineArgs..ctor(DatabaseReference databasesDefinition) 

我試着檢查此DLL在GAC文件夾中,並沒有能夠找到這一點。我很不確定從哪裏開始。谷歌沒有太大的幫助。 任何方向如何進行這將是偉大的。

回答

0

該程序集是Microsoft Shared Management Objects的一部分。 安裝SMO是Sitecore Azure installation的預先要求的一部分。

Download and install these tools from Microsoft:

  • Microsoft SQL Server 2012 Shared Management Objects
  • Microsoft System CLR Types for Microsoft SQL Server 2012

Sitecore Azure requires that you install these tools on your local — on premises — content editing environment (Web Server).

Download and install these tools from Microsoft — :

  • SQLSysClrTypes.msi (X64 Package)
  • Shared Management Objects.msi (X64 Package)

更新:

鏈接已經過時。可以找到工具here

+1

上面的鏈接是無效的,很確定它只是一個錯字,第一個和第二個鏈接的順序是: https://www.microsoft.com/en-us/download/details .aspx?id = 38797 https://www.microsoft.com/en-us/download/confirmation.aspx?id=29065 –