Hello,
we are configuring a Build Task in TeamCity to integrate with Sql Source Control.
We are using Sql Source Control 3.6.6.178 Standard Edition
When the Build task is executed w get the following error
Step 1/1: Build (Red Gate SQL CI Build) (2s)
[17:35:53][Step 1/1] Starting: C:\TeamCity\buildAgent\plugins\sqlci-teamcity-agent\assets\sqlCI.exe build /temporaryDatabaseServer=srvName,1234 /scriptsFolder=. /packageId=ForTest /packageVersion=2
[17:35:53][Step 1/1] in directory: C:\TeamCity\buildAgent\work\268c606942066354
[17:35:53][Step 1/1] sqlCI.exe -- Red Gate's SQL Continuous Integration v2.0.0.162
[17:35:53][Step 1/1]
[17:35:53][Step 1/1] Creating scratch database sqlCI_40a858c8-c61f-4080-a432-4a100ef784a9 (1s)
[17:35:53][Creating scratch database sqlCI_40a858c8-c61f-4080-a432-4a100ef784a9] STARTING: Creating scratch database sqlCI_40a858c8-c61f-4080-a432-4a100ef784a9
[17:35:54][Creating scratch database sqlCI_40a858c8-c61f-4080-a432-4a100ef784a9] FINISHED WITH ERROR: Creating scratch database sqlCI_40a858c8-c61f-4080-a432-4a100ef784a9
[17:35:54][Step 1/1] sqlCI error occurred: RedGate.Deploy.SqlServerDbPackage.Shared.Exceptions.InvalidSqlException: Cannot find the principal 'sa', because it does not exist or you do not have permission.
The build task is configured to use Windows Authentication and the User that is running the Team City Agent has all the permission.
Do you have any thoughts about what could be the problem? Why the 'sa' is used?
Thanks
we are configuring a Build Task in TeamCity to integrate with Sql Source Control.
We are using Sql Source Control 3.6.6.178 Standard Edition
When the Build task is executed w get the following error
Step 1/1: Build (Red Gate SQL CI Build) (2s)
[17:35:53][Step 1/1] Starting: C:\TeamCity\buildAgent\plugins\sqlci-teamcity-agent\assets\sqlCI.exe build /temporaryDatabaseServer=srvName,1234 /scriptsFolder=. /packageId=ForTest /packageVersion=2
[17:35:53][Step 1/1] in directory: C:\TeamCity\buildAgent\work\268c606942066354
[17:35:53][Step 1/1] sqlCI.exe -- Red Gate's SQL Continuous Integration v2.0.0.162
[17:35:53][Step 1/1]
[17:35:53][Step 1/1] Creating scratch database sqlCI_40a858c8-c61f-4080-a432-4a100ef784a9 (1s)
[17:35:53][Creating scratch database sqlCI_40a858c8-c61f-4080-a432-4a100ef784a9] STARTING: Creating scratch database sqlCI_40a858c8-c61f-4080-a432-4a100ef784a9
[17:35:54][Creating scratch database sqlCI_40a858c8-c61f-4080-a432-4a100ef784a9] FINISHED WITH ERROR: Creating scratch database sqlCI_40a858c8-c61f-4080-a432-4a100ef784a9
[17:35:54][Step 1/1] sqlCI error occurred: RedGate.Deploy.SqlServerDbPackage.Shared.Exceptions.InvalidSqlException: Cannot find the principal 'sa', because it does not exist or you do not have permission.
The build task is configured to use Windows Authentication and the User that is running the Team City Agent has all the permission.
Do you have any thoughts about what could be the problem? Why the 'sa' is used?
Thanks