问题
I am trying to deploy SSIS projects to Azure SSIS DB using powershell. THis script is running on Bamboo server. I am getting below mentioned error.
30-Jul-2019 09:03:18 Exception calling "DeployProject" with "2" argument(s): "Could not load file or assembly 30-Jul-2019 09:03:18 'Microsoft.SqlServer.IntegrationServices.Common.ObjectModel, Version=14.0.0.0, Culture=neutral, 30-Jul-2019 09:03:18 PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified." 30-Jul-2019 09:03:18 At E:\bamboo-home-2\temp\139919379-138969217-145721286-ScriptBuildTask-4952971710305912424.ps1:84 char:17 30-Jul-2019 09:03:18 + ...
$folder.DeployProject($projectfilename, $projectFileConte ... 30-Jul-2019 09:03:18 +
.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30-Jul-2019 09:03:18 + CategoryInfo : NotSpecified: (:) [], MethodInvocationException 30-Jul-2019 09:03:18 + FullyQualifiedErrorId : FileNotFoundException
Using PowerShell script avaialable at below location:
- Tutorial: Deploy and run a SQL Server Integration Services (SSIS) package in Azure
30-Jul-2019 09:03:18 Exception calling "DeployProject" with "2" argument(s): "Could not load file or assembly 30-Jul-2019 09:03:18 'Microsoft.SqlServer.IntegrationServices.Common.ObjectModel, Version=14.0.0.0, Culture=neutral, 30-Jul-2019 09:03:18 PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified." 30-Jul-2019 09:03:18 At E:\bamboo-home-2\temp\139919379-138969217-145721286-ScriptBuildTask-4952971710305912424.ps1:84 char:17 30-Jul-2019 09:03:18 + ...
$folder.DeployProject($projectfilename, $projectFileConte ... 30-Jul-2019 09:03:18 +
.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30-Jul-2019 09:03:18 + CategoryInfo : NotSpecified: (:) [], MethodInvocationException 30-Jul-2019 09:03:18 + FullyQualifiedErrorId : FileNotFoundException
来源:https://stackoverflow.com/questions/57267037/error-deploying-ssis-projects-into-azure-ssis-db-using-powershell