Hi,
When I attempt to deploy to an Azure cloud service from Octopus, I get this error:
System.ArgumentException: Part URI is not valid per rules defined in the Open Packaging Conventions specification.
October 14th 2016 12:22:05Error
at System.IO.Packaging.PackUriHelper.ValidatePartUri(Uri partUri)
October 14th 2016 12:22:05Error
at System.IO.Packaging.Package.GetPartHelper(Uri partUri)
October 14th 2016 12:22:05Error
at System.IO.Packaging.Package.GetPart(Uri partUri)
October 14th 2016 12:22:05Error
at Microsoft.WindowsAzure.Packaging.PackageConverter.AddSoftwarePackageToLayout(PackageBuilder builder, String layoutPath, ServiceSoftwarePackage softwarePacakge)
October 14th 2016 12:22:05Error
at Microsoft.WindowsAzure.Packaging.PackageConverter.ConvertFromLegacy(Stream srcPackage, PackageStore dstPackage, X509Certificate2 decrypt, PackageRestrictions restrictions)
October 14th 2016 12:22:05Error
at Calamari.Azure.Deployment.Conventions.EnsureCloudServicePackageIsCtpFormatConvention.ConvertPackage(String packagePath) in Z:\BuildAgent\work\14ffc968155e4956\source\Calamari.Azure\Deployment\Conventions\EnsureCloudServicePackageIsCtpFormatConvention.cs:line 48
October 14th 2016 12:22:05Error
at Calamari.Azure.Deployment.Conventions.EnsureCloudServicePackageIsCtpFormatConvention.Install(RunningDeployment deployment) in Z:\BuildAgent\work\14ffc968155e4956\source\Calamari.Azure\Deployment\Conventions\EnsureCloudServicePackageIsCtpFormatConvention.cs:line 38
October 14th 2016 12:22:05Error
at Calamari.Deployment.ConventionProcessor.RunInstallConventions() in Z:\BuildAgent\work\14ffc968155e4956\source\Calamari\Deployment\ConventionProcessor.cs:line 60
October 14th 2016 12:22:05Error
at Calamari.Deployment.ConventionProcessor.RunConventions() in Z:\BuildAgent\work\14ffc968155e4956\source\Calamari\Deployment\ConventionProcessor.cs:line 28
October 14th 2016 12:22:05Error
Running rollback conventions…
October 14th 2016 12:22:05Error
System.ArgumentException: Part URI is not valid per rules defined in the Open Packaging Conventions specification.
October 14th 2016 12:22:05Error
at System.IO.Packaging.PackUriHelper.ValidatePartUri(Uri partUri)
October 14th 2016 12:22:05Error
at System.IO.Packaging.Package.GetPartHelper(Uri partUri)
October 14th 2016 12:22:05Error
at System.IO.Packaging.Package.GetPart(Uri partUri)
October 14th 2016 12:22:05Error
at Microsoft.WindowsAzure.Packaging.PackageConverter.AddSoftwarePackageToLayout(PackageBuilder builder, String layoutPath, ServiceSoftwarePackage softwarePacakge)
October 14th 2016 12:22:05Error
at Microsoft.WindowsAzure.Packaging.PackageConverter.ConvertFromLegacy(Stream srcPackage, PackageStore dstPackage, X509Certificate2 decrypt, PackageRestrictions restrictions)
October 14th 2016 12:22:05Error
at Calamari.Azure.Deployment.Conventions.EnsureCloudServicePackageIsCtpFormatConvention.ConvertPackage(String packagePath) in Z:\BuildAgent\work\14ffc968155e4956\source\Calamari.Azure\Deployment\Conventions\EnsureCloudServicePackageIsCtpFormatConvention.cs:line 48
October 14th 2016 12:22:05Error
at Calamari.Azure.Deployment.Conventions.EnsureCloudServicePackageIsCtpFormatConvention.Install(RunningDeployment deployment) in Z:\BuildAgent\work\14ffc968155e4956\source\Calamari.Azure\Deployment\Conventions\EnsureCloudServicePackageIsCtpFormatConvention.cs:line 38
October 14th 2016 12:22:05Error
at Calamari.Deployment.ConventionProcessor.RunInstallConventions() in Z:\BuildAgent\work\14ffc968155e4956\source\Calamari\Deployment\ConventionProcessor.cs:line 60
October 14th 2016 12:22:05Error
at Calamari.Deployment.ConventionProcessor.RunConventions() in Z:\BuildAgent\work\14ffc968155e4956\source\Calamari\Deployment\ConventionProcessor.cs:line 50
October 14th 2016 12:22:05Error
at Calamari.Azure.Commands.DeployAzureCloudServiceCommand.Execute(String[] commandLineArguments) in Z:\BuildAgent\work\14ffc968155e4956\source\Calamari.Azure\Commands\DeployAzureCloudServiceCommand.cs:line 97
October 14th 2016 12:22:05Error
at Calamari.Program.Execute(String[] args) in Z:\BuildAgent\work\14ffc968155e4956\source\Calamari\Program.cs:line 38
October 14th 2016 12:22:05Fatal
The remote script failed with exit code 100
October 14th 2016 12:22:05Fatal
Deploy to Cloud Service on the Octopus Server
Can you please assist.
Regards