Environment: | Production |
Script: | Deploy |
Pipeline: | Release (Production) |
Created: | 5/8/2021 4:35:18 AM by apapadimoulis@inedo.local |
Start date: | 5/8/2021 4:35:18 AM |
Completed date: | 5/8/2021 4:36:26 AM (1min 8s) |
Status: | Failed |
Your account is not authorized to view debug logs in this context, therefore certain groups' log entries may appear empty.
Executing C:\Websites\ChooseYourStory\ChooseYourStory.WebApplication\dbartifact-staging\OBJECTS\1.FUNCTIONS\1.MAG.CsvToTable.sql...
Unhandled exception: System.Data.SqlClient.SqlException (0x80131904): Cannot open database "ChooseYourStory" requested by the login. The login failed. Login failed for user 'NT AUTHORITY\SYSTEM'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.WaitForPendingOpen() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.Extensions.SqlServer.SqlServerDatabaseProvider.<GetConnectionAsync>d__15.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19543\Src\SqlServer\InedoExtension\DatabaseProviders\SqlServerDatabaseProvider.cs:line 271 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.Extensions.SqlServer.SqlServerDatabaseProvider.<ExecuteQueryAsync>d__14.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19543\Src\SqlServer\InedoExtension\DatabaseProviders\SqlServerDatabaseProvider.cs:line 250 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.BuildMaster.DatabaseConnections.ExecuteDatabaseScriptsJob.<ExecuteAsync>d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.Agents.AgentCommand`1.<Inedo-Agents-IAgentCommandWithResponse-ExecuteAsync>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.Agents.AgentCommandDispatcher.<ExecuteCommandAsync>d__11.MoveNext() ClientConnectionId:6cb1f724-d074-4d52-86b4-7decf63ded2b Error Number:4060,State:1,Class:11