2014-10-30 28 views
1

它已經相當一段時間,我嘗試發佈數據基地在VS 2013使用webdeploy我的網站,但我不斷收到以下錯誤:無法發佈使用Web部署的SQL Server 2014數據庫在VS 2013

Web deployment task failed. (Could not generate deployment script.
Internal Error. The database platform service with type Microsoft.Data.Tools.Schema.Sql.Sql120DatabaseSchemaProvider is not valid. You must make sure the service is loaded, or you must provide the full type name of a valid database platform service.

我已經嘗試安裝新的更新。我確保本地服務器在部署過程中正在運行。我確定我輸入了完整的服務器名稱而不是點。我已經盡了我所能想到的一切,但無濟於事。

任何人都可以幫助我嗎?

回答

0

該問題可能與VisualStudioVersion環境變量有關,需要將其設置爲VisualStudioVersion = 11.0或VisualStudioVersion = 12.0才能支持SQL Server 2014.請檢查this answer,這裏還有信息how to target the VisualStudioVersion

+0

我檢查了我的批處理文件,環境變量設置爲12.0 – user3860157 2014-10-30 14:10:51

相關問題