Hello ,
I am facing several issues when using the mentioned Octopus template for deploying an SSIS package (with project deployment mode). The main issues are I think,
- When the underlying powershell script tries to create an instance of object “Microsoft.SqlServer.IntegrationServices.IntegrationServices” I get the following exception. I am assuming its a permission issue of the account under which Octopus is running the script. But unable to figure out the steps needed to fix this issue.
15:41:56 Error | New-Object : Exception calling “.ctor” with “1” argument(s): "Failed to
15:41:56 Error | connect to server .“
15:41:56 Error | At C:\Octopus\Work\20170804204135-1106-47\Script.ps1:11 char:24
15:41:56 Error | + $IntegrationServices = New-Object $SsisNamespace”.IntegrationServices"
15:41:56 Error | $SqlConne …
15:41:56 Error | +
15:41:56 Error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15:41:56 Error | + CategoryInfo : InvalidOperation: ( [New-Object], MethodInvoca
15:41:56 Error | tionException
15:41:56 Error | + FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.Power
15:41:56 Error | Shell.Commands.NewObjectCommand
- SECOND ISSUE:
I have created a Nuget package but not sure what path needs to specified in the field “Ispac File Path field”. As an ugly work around, we are trying to use a zip file instead of a nuget for packging. And added an extra step of unzipping and specifying the path of .ispac file.
Any help in this regard would be greatly appreciated.
Regards,
Shashanka S