在Visual Studio 2013.3中,我創建了一個測試.Net 4.5 C#MVC 5項目,以在Azure網站中運行。我創建了一個新的Azure a/c並在VS中登錄到它。當我嘗試發佈項目(以管理員身份運行VS)時,驗證連接失敗,並且沒有錯誤代碼。我已經從Azure重新下載了「發佈」設置,以確保我擁有正確的發佈設置。我得到的消息是: (2014-10-27 11:04:13)在遠程計算機上處理請求時發生錯誤。 服務器遇到處理請求的問題。聯繫服務器管理員以獲取更多信息。Visual Studio 2013.3通過web部署發佈到azure網站驗證連接失敗,無錯誤代碼
當我嘗試反正我收到以下消息發佈項目:
C:\ Program Files文件 (86)\的MSBuild \微軟\ VisualStudio的\ V12.0 \網絡\ Microsoft.Web。 Publishing.targets(4270,5): 錯誤:Web部署任務失敗。 ((2014-10-27 11:06:25)在遠程計算機上處理請求時發生錯誤 )。
(2014-10-27 11:06:25)請求發生錯誤在遠程計算機上處理了 。服務器遇到處理 請求的問題。聯繫服務器管理員以獲取更多信息。 發佈失敗部署。
我已經通過MS網絡者平臺安裝5 在線Azure的管理頁面安裝的Visual Studio 2013 2.4.1最新天青SDK顯示默認的網站上。我正在運行Windows 8.1。
有一兩件事我注意到的是,如果我改變了網站名稱的發佈設置,我得到:
無法連接到遠程計算機[...]遠程名稱可能 沒有得到解決。
另外,當我嘗試ping遠程URL即[sitename] .scm.azurewebsites.net:443它超時,但是,我可以通過瀏覽器訪問它。
[更新] 通過改變輸出爲verbose我得到這個消息:
(2014-10-27 12:28:01) An error occurred when the request was processed on the remote computer.
The server experienced an issue processing the request. Contact the server administrator for more information.
at Microsoft.Web.Deployment.AgentClientProvider.GetHttpResponse(HttpWebRequest request)
at Microsoft.Web.Deployment.AgentClientProvider.PerformHeadRequestHelper(Boolean getVersionInfo, Version& maximumSupportedVersion, Version& minimumSupportedVersion)
at Microsoft.Web.Deployment.AgentClientProvider..ctor(DeploymentProviderContext providerContext, DeploymentBaseContext baseContext, String serverVersion)
at Microsoft.Web.Deployment.DeploymentManager.CreateObjectPrivate(DeploymentProviderContext providerContext, DeploymentBaseOptions baseOptions, DeploymentObject sourceObject, String serverVersion)
at Microsoft.Web.Deployment.DeploymentManager.CreateDestinationObject(DeploymentProviderOptions providerOptions, DeploymentBaseOptions baseOptions, DeploymentObject sourceObject, String serverVersion)
at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentProviderOptions providerOptions, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)
at CallSite.Target(Closure , CallSite , Object , Object , Object , Object)
at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid4[T0,T1,T2,T3](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3)
at Microsoft.Web.Publishing.Tasks.VSMSDeployObject.SyncTo(VSMSDeployObject destObject, Object syncOptions, IVSMSDeployHost _host)
at CallSite.Target(Closure , CallSite , VSMSDeployObject , VSMSDeployObject , Object , IVSMSDeployHost)
at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid4[T0,T1,T2,T3](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3)
at Microsoft.Web.Publishing.Tasks.BaseMSDeployDriver.InvokeMSdeploySync()
at Microsoft.Web.Publishing.Tasks.VSMSDeployDriverInCmd.StartSync()
at Microsoft.Web.Publishing.Tasks.BaseMSDeployDriver.SyncThruMSDeploy()
at Microsoft.Web.Publishing.Tasks.VSMSDeploy.Execute()
VSMSDeploy: Publish failed to deploy.
Done executing task "VSMSDeploy" -- FAILED.
提前非常感謝。 將