powershell スクリプトを使用してアプリケーションを Windows Azure にアップロードしています
New-AzureDeployment -ServiceName $servicename -Label MySite
-Slot "Staging" -Package "C:\Users\ronak\Documents\Visual Studio 2012\Projects\samplewebrole\samplewebrole\bin\Release\app.publish\samplewebrole.cspkg"
-Configuration "C:\Users\ronak\Documents\Visual Studio 2012\Projects\samplewebrole\samplewebrole\bin\Release\app.publish\ServiceConfiguration.Cloud.cscfg"
これを実行すると、次のようなエラーが表示されます
New-AzureDeployment : Unable to write data to the transport connection: An
existing connection was forcibly closed by the remote host.
At line:14 char:1
+ New-AzureDeployment -ServiceName $servicename -Label MySite -Slot "Staging" -Pac...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [New-AzureDeployment], StorageException
+ FullyQualifiedErrorId : Microsoft.WindowsAzure.Management.ServiceManagement.HostedServices.NewAzureDeploymentCommand
これを解決するために、asp.net がアップロードできるサイズを増やすためのいくつかの提案を見つけました。これが起こっている他の理由はありますか?
また、クラウド サービスとストレージを作成できますが、そこにパッケージをアップロードできません。