{"action":"created","issue":{"url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/2572","repository_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate","labels_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/2572/labels{/name}","comments_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/2572/comments","events_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/2572/events","html_url":"https://github.com/aspnetboilerplate/aspnetboilerplate/issues/2572","id":262982267,"number":2572,"title":"Migrations don't work anymore (2.3.0, Oracle)","user":{"login":"Worthy7","id":4762399,"avatar_url":"https://avatars3.githubusercontent.com/u/4762399?v=4","gravatar_id":"","url":"https://api.github.com/users/Worthy7","html_url":"https://github.com/Worthy7","followers_url":"https://api.github.com/users/Worthy7/followers","following_url":"https://api.github.com/users/Worthy7/following{/other_user}","gists_url":"https://api.github.com/users/Worthy7/gists{/gist_id}","starred_url":"https://api.github.com/users/Worthy7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Worthy7/subscriptions","organizations_url":"https://api.github.com/users/Worthy7/orgs","repos_url":"https://api.github.com/users/Worthy7/repos","events_url":"https://api.github.com/users/Worthy7/events{/privacy}","received_events_url":"https://api.github.com/users/Worthy7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2017-10-05T01:51:36Z","updated_at":"2017-10-21T05:56:21Z","closed_at":null,"author_association":"NONE","body":"Apologies that I am not (can not) use the latest version of Abp, and that I am using Oracle which you don't usually support, but I could use some direction as to where the problem might be.\r\n\r\nI have made a simple migration, which works completely fine through the Package-Manager-Console, but when trying to migration on Application startup, it fails, citing that it already has made a connection and can't make another:\r\n\r\n`Connection is already part of a local or a distributed transaction`\r\n\r\n\r\n\r\n`\r\n  Oracle.ManagedDataAccess.Client.OracleConnection.BeginTransaction(IsolationLevel isolationLevel) +378\r\n   Oracle.ManagedDataAccess.Client.OracleConnection.BeginDbTransaction(IsolationLevel isolationLevel) +130\r\n   System.Data.Common.DbConnection.BeginTransaction(IsolationLevel isolationLevel) +10\r\n   System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.<BeginTransaction>b__0(DbConnection t, BeginTransactionInterceptionContext c) +9\r\n   System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch(TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) +576\r\n   System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.BeginTransaction(DbConnection connection, BeginTransactionInterceptionContext interceptionContext) +341\r\n   System.Data.Entity.Migrations.DbMigrator.ExecuteStatementsWithinNewTransaction(IEnumerable`1 migrationStatements, DbConnection connection, DbInterceptionContext interceptionContext) +138\r\n   System.Data.Entity.Migrations.DbMigrator.ExecuteStatementsInternal(IEnumerable`1 migrationStatements, DbConnection connection, DbInterceptionContext interceptionContext) +346\r\n   System.Data.Entity.Migrations.DbMigrator.ExecuteStatementsInternal(IEnumerable`1 migrationStatements, DbConnection connection) +509\r\n   System.Data.Entity.Migrations.<>c__DisplayClass30.<ExecuteStatements>b__2e() +19\r\n   System.Data.Entity.Infrastructure.DefaultExecutionStrategy.Execute(Action operation) +9\r\n   System.Data.Entity.Migrations.DbMigrator.ExecuteStatements(IEnumerable`1 migrationStatements, DbTransaction existingTransaction) +194\r\n   System.Data.Entity.Migrations.DbMigrator.ExecuteStatements(IEnumerable`1 migrationStatements) +7\r\n   System.Data.Entity.Migrations.DbMigrator.ExecuteOperations(String migrationId, VersionedModel targetModel, IEnumerable`1 operations, IEnumerable`1 systemOperations, Boolean downgrading, Boolean auto) +828\r\n   System.Data.Entity.Migrations.DbMigrator.ApplyMigration(DbMigration migration, DbMigration lastMigration) +364\r\n   System.Data.Entity.Migrations.DbMigrator.Upgrade(IEnumerable`1 pendingMigrations, String targetMigrationId, String lastMigrationId) +133\r\n   System.Data.Entity.Migrations.DbMigrator.UpdateInternal(String targetMigration) +446\r\n   System.Data.Entity.Migrations.<>c__DisplayClassc.<Update>b__b() +13\r\n   System.Data.Entity.Migrations.DbMigrator.EnsureDatabaseExists(Action mustSucceedToKeepDatabase) +422\r\n   System.Data.Entity.Migrations.DbMigrator.Update(String targetMigration) +78\r\n   System.Data.Entity.MigrateDatabaseToLatestVersion`2.InitializeDatabase(TContext context) +108\r\n   System.Data.Entity.Internal.<>c__DisplayClassf`1.<CreateInitializationAction>b__e() +76\r\n   System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action) +60\r\n   System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization() +357\r\n   System.Data.Entity.Internal.LazyInternalContext.<InitializeDatabase>b__4(InternalContext c) +7\r\n   System.Data.Entity.Internal.RetryAction`1.PerformAction(TInput input) +110\r\n   System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action`1 action) +198\r\n   System.Data.Entity.Internal.LazyInternalContext.InitializeDatabase() +73\r\n   System.Data.Entity.Internal.InternalContext.ForceOSpaceLoadingForKnownEntityTypes() +60\r\n   System.Data.Entity.DbContext.System.Data.Entity.Infrastructure.IObjectContextAdapter.get_ObjectContext() +25\r\n   Abp.EntityFramework.AbpDbContext.RegisterToChanges() +27\r\n   Abp.Zero.EntityFramework.AbpZeroDbContext`3..ctor(String nameOrConnectionString) +29\r\n   Project.EntityFramework.ProjectDbContext..ctor(String nameOrConnectionString) in C:\\User\\Project.EntityFramework\\EntityFramework\\ProjectAbpContext.cs:176\r\n`\r\n\r\nI am really quite stuck. Do you know why there might already be another connection at this point?"},"comment":{"url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/comments/338366588","html_url":"https://github.com/aspnetboilerplate/aspnetboilerplate/issues/2572#issuecomment-338366588","issue_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/2572","id":338366588,"user":{"login":"acjh","id":14091939,"avatar_url":"https://avatars0.githubusercontent.com/u/14091939?v=4","gravatar_id":"","url":"https://api.github.com/users/acjh","html_url":"https://github.com/acjh","followers_url":"https://api.github.com/users/acjh/followers","following_url":"https://api.github.com/users/acjh/following{/other_user}","gists_url":"https://api.github.com/users/acjh/gists{/gist_id}","starred_url":"https://api.github.com/users/acjh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acjh/subscriptions","organizations_url":"https://api.github.com/users/acjh/orgs","repos_url":"https://api.github.com/users/acjh/repos","events_url":"https://api.github.com/users/acjh/events{/privacy}","received_events_url":"https://api.github.com/users/acjh/received_events","type":"User","site_admin":false},"created_at":"2017-10-21T05:56:21Z","updated_at":"2017-10-21T05:56:21Z","author_association":"CONTRIBUTOR","body":"Can you show your config?"}}
{"actor":{"display_login":"acjh"}}