{"action":"created","issue":{"url":"https://api.github.com/repos/NEventStore/NEventStore/issues/373","labels_url":"https://api.github.com/repos/NEventStore/NEventStore/issues/373/labels{/name}","comments_url":"https://api.github.com/repos/NEventStore/NEventStore/issues/373/comments","events_url":"https://api.github.com/repos/NEventStore/NEventStore/issues/373/events","html_url":"https://github.com/NEventStore/NEventStore/issues/373","id":45860339,"number":373,"title":"Ambient transaction regression in 5.1.0","user":{"login":"adamralph","id":677704,"avatar_url":"https://avatars.githubusercontent.com/u/677704?v=3","gravatar_id":"","url":"https://api.github.com/users/adamralph","html_url":"https://github.com/adamralph","followers_url":"https://api.github.com/users/adamralph/followers","following_url":"https://api.github.com/users/adamralph/following{/other_user}","gists_url":"https://api.github.com/users/adamralph/gists{/gist_id}","starred_url":"https://api.github.com/users/adamralph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamralph/subscriptions","organizations_url":"https://api.github.com/users/adamralph/orgs","repos_url":"https://api.github.com/users/adamralph/repos","events_url":"https://api.github.com/users/adamralph/events{/privacy}","received_events_url":"https://api.github.com/users/adamralph/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NEventStore/NEventStore/labels/Bug","name":"Bug","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"damianh","id":57436,"avatar_url":"https://avatars.githubusercontent.com/u/57436?v=3","gravatar_id":"","url":"https://api.github.com/users/damianh","html_url":"https://github.com/damianh","followers_url":"https://api.github.com/users/damianh/followers","following_url":"https://api.github.com/users/damianh/following{/other_user}","gists_url":"https://api.github.com/users/damianh/gists{/gist_id}","starred_url":"https://api.github.com/users/damianh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianh/subscriptions","organizations_url":"https://api.github.com/users/damianh/orgs","repos_url":"https://api.github.com/users/damianh/repos","events_url":"https://api.github.com/users/damianh/events{/privacy}","received_events_url":"https://api.github.com/users/damianh/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/NEventStore/NEventStore/milestones/8","labels_url":"https://api.github.com/repos/NEventStore/NEventStore/milestones/8/labels","id":866370,"number":8,"title":"v5.1.1","description":"","creator":{"login":"damianh","id":57436,"avatar_url":"https://avatars.githubusercontent.com/u/57436?v=3","gravatar_id":"","url":"https://api.github.com/users/damianh","html_url":"https://github.com/damianh","followers_url":"https://api.github.com/users/damianh/followers","following_url":"https://api.github.com/users/damianh/following{/other_user}","gists_url":"https://api.github.com/users/damianh/gists{/gist_id}","starred_url":"https://api.github.com/users/damianh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianh/subscriptions","organizations_url":"https://api.github.com/users/damianh/orgs","repos_url":"https://api.github.com/users/damianh/repos","events_url":"https://api.github.com/users/damianh/events{/privacy}","received_events_url":"https://api.github.com/users/damianh/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":0,"state":"open","created_at":"2014-11-14T10:04:20Z","updated_at":"2014-11-27T10:19:32Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2014-10-15T12:29:14Z","updated_at":"2015-01-27T09:32:16Z","closed_at":null,"body":"After moving from 5.0.1.2 to 5.1.0, an SQL exception was raised with the following message*\r\n\r\n> The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION.\r\n\r\nThanks to @hyrmn, I discovered that exception can be avoided by removing `.EnlistInAmbientTransaction()` from the wire up.\r\n\r\nSo questions remaining are:\r\n\r\n1. What effect does removing that have?\r\n1. Does this need fixing?\r\n\r\n\\* *Unfortunately I can't copy and paste the stacktrace because my place of work have banned writing to GitHub and I can't think of a legal way of sending it outside the company.*"},"comment":{"url":"https://api.github.com/repos/NEventStore/NEventStore/issues/comments/71615802","html_url":"https://github.com/NEventStore/NEventStore/issues/373#issuecomment-71615802","issue_url":"https://api.github.com/repos/NEventStore/NEventStore/issues/373","id":71615802,"user":{"login":"fschmied","id":139564,"avatar_url":"https://avatars.githubusercontent.com/u/139564?v=3","gravatar_id":"","url":"https://api.github.com/users/fschmied","html_url":"https://github.com/fschmied","followers_url":"https://api.github.com/users/fschmied/followers","following_url":"https://api.github.com/users/fschmied/following{/other_user}","gists_url":"https://api.github.com/users/fschmied/gists{/gist_id}","starred_url":"https://api.github.com/users/fschmied/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fschmied/subscriptions","organizations_url":"https://api.github.com/users/fschmied/orgs","repos_url":"https://api.github.com/users/fschmied/repos","events_url":"https://api.github.com/users/fschmied/events{/privacy}","received_events_url":"https://api.github.com/users/fschmied/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T09:32:16Z","updated_at":"2015-01-27T09:32:16Z","body":"@damianh If the reason is only because of async/await, just use the `TransactionScopeAsyncFlowOption.Enabled` parameter when constructing the scope."}}