我在Windows Azure上有一個雲服務,我創建了一個Asp.net WebAPI項目併發布到雲服務,在Visual Studio更新Visual Studio之前,將4和Azure SDK 2.2更新到2.6。但更新後,當我發佈時,我收到以下錯誤消息。我嘗試了幾次,都失敗了。誰能幫我?發佈到Azur失敗,出現500個內部服務器錯誤
即使我無法在新的天青服務上發佈新創建的項目!
11:00:31 PM - Warning: There are package validation warnings.
11:00:31 PM - Checking for Remote Desktop certificate...
11:00:39 PM - Preparing deployment for TempAzure - 2/12/2014 10:58:23 PM with Subscription ID 'e94e9aeb-7003-4eae-be92-7b7ac0a1ba2c' using Service Management URL ' https://management.core.windows.net/ '...
11:00:39 PM - Connecting...
11:00:39 PM - Verifying storage account 'jasontest'...
11:00:41 PM - Uploading Package...
11:06:48 PM - Warning: The remote server returned an error: (500) Internal Server Error.
11:11:50 PM - Warning: The remote server returned an error: (500) Internal Server Error.
11:26:16 PM - Warning: The remote server returned an error: (500) Internal Server Error.
12:00:27 AM - Warning: The remote server returned an error: (500) Internal Server Error.
12:05:05 AM - Warning: The remote server returned an error: (500) Internal Server Error.
12:27:54 AM - Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
沒關係,剛纔看到你發佈到雲服務而不是網絡應用程序。您選擇通過Web應用程序實現API的雲服務的任何原因?您可以將RDP加入您的雲服務並檢查日誌以查看是否有問題。您還可以刪除您的雲服務並創建一個新的服務器,以重建您的虛擬機(解決虛擬機問題)。 –
看起來錯誤在於將.CSPKG上傳到存儲。您可以手動創建CSPKG(選擇包而不是在VS中發佈),然後嘗試手動將CSPKG上傳到存儲?如果可以的話,你可以從門戶發佈。您可能還想在嘗試發佈時運行Fiddler,以查看是否獲得有關存儲故障的更多詳細信息。 – kwill
我做了手動包並上傳到門戶。它工作正常。但問題是VS部署不工作。 – Mahesh