Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error When Perform Dacpac Schema Compare in YAML version of Azure Build pipeline #174

Open
wildan-m opened this issue Oct 30, 2021 · 0 comments

Comments

@wildan-m
Copy link

Hi,

I use YAML version of the azure build pipeline.

There is no option for checking OAuth there.

Is this error caused by it?

Starting: DacPacReport
==============================================================================
Task         : DacPac Schema Compare
Description  : Provides a report on database model changes since the last build
Version      : 1.2.114
Author       : Colin Dembovsky (colinsalmcorner.com)
Help         : [More Information](https://github.com/colindembovsky/cols-agent-tasks/tree/master/Tasks/DacPacReport)
==============================================================================
"C:\ProgramData\Chocolatey\bin\vswhere.exe" -version [15.0,16.0) -latest -format json
"C:\ProgramData\Chocolatey\bin\vswhere.exe" -version [15.0,16.0) -products Microsoft.VisualStudio.Product.BuildTools -latest -format json
Attempting to get System.AccessToken
Successfully obtained System.AccessToken
##[error]Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
Finishing: DacPacReport

This is my task definition


- task: DacPacReport@1
  inputs:
    dropName: 'drop'
    dacpacName: 'Demo.Database'
    targetDacPacPath: '$(Agent.BuildDirectory)\s\Pipeline-Demo.Database\bin\Debug\'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant