Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Error While uploading to windows Azure using powershell Script

$
0
0

I am uploading the application to windows Azure using the powershell Script

New-AzureDeployment-ServiceName $servicename -LabelMySite-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"

When I run this I receive an error as follows

New-AzureDeployment:Unable to write data to the transport connection:An
    existing connection was forcibly closed by the remote host.At line:14char:1+New-AzureDeployment-ServiceName $servicename -LabelMySite-Slot"Staging"-Pac...+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+CategoryInfo:CloseError:(:)[New-AzureDeployment],StorageException+FullyQualifiedErrorId:Microsoft.WindowsAzure.Management.ServiceManagement.HostedServices.NewAzureDeploymentCommand
 

on my local machine but when i run this on a  virtual machine this script runs fine why is this happening.



Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>