{"action":"opened","issue":{"url":"https://api.github.com/repos/Starcounter/Starcounter/issues/3134","labels_url":"https://api.github.com/repos/Starcounter/Starcounter/issues/3134/labels{/name}","comments_url":"https://api.github.com/repos/Starcounter/Starcounter/issues/3134/comments","events_url":"https://api.github.com/repos/Starcounter/Starcounter/issues/3134/events","html_url":"https://github.com/Starcounter/Starcounter/issues/3134","id":120124456,"number":3134,"title":"DbException occurred in Starcounter.dll","user":{"login":"jwillmer","id":1503577,"avatar_url":"https://avatars.githubusercontent.com/u/1503577?v=3","gravatar_id":"","url":"https://api.github.com/users/jwillmer","html_url":"https://github.com/jwillmer","followers_url":"https://api.github.com/users/jwillmer/followers","following_url":"https://api.github.com/users/jwillmer/following{/other_user}","gists_url":"https://api.github.com/users/jwillmer/gists{/gist_id}","starred_url":"https://api.github.com/users/jwillmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwillmer/subscriptions","organizations_url":"https://api.github.com/users/jwillmer/orgs","repos_url":"https://api.github.com/users/jwillmer/repos","events_url":"https://api.github.com/users/jwillmer/events{/privacy}","received_events_url":"https://api.github.com/users/jwillmer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-03T09:19:26Z","updated_at":"2015-12-03T09:19:26Z","closed_at":null,"body":"This problem is reoccurring every now and then:\r\nI have two Projects in my Solution. One is created via Starcounter project template and the other is a library there I put my database models.\r\nSometimes if I change something and run the solution I get an DbException. I think it is a caching problem. Cleaning & rebuilding of the solution does not help every time, sometimes the only option is to delete the database.\r\n\r\n![error](https://cloud.githubusercontent.com/assets/1503577/11556442/3d6130b0-99af-11e5-8eb4-af4253fc09cd.png)\r\n\r\n```\r\n   bei Starcounter.Query.QueryPreparation.PrepareOrExecuteQuery[T](String query, Boolean slowSql, Object[] values) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter\\Query\\QueryPreparation.cs:Zeile 67.\r\n   bei Starcounter.Query.Sql.SqlEnumCache.CacheOrExecuteEnumerator[T](String query, Boolean slowSQL, Object[] values) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter\\Query\\SQL\\_SqlEnumCache.cs:Zeile 127.\r\n   bei Starcounter.Db.FullQueryProcess[T](String query, Boolean slowSQL, Object[] values) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter\\Mock\\Db.cs:Zeile 126.\r\n   bei Starcounter.Db.SlowSQL(String query, Object[] values) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter\\Mock\\Db.cs:Zeile 104.\r\n   bei PIM.DemoData.<>c.<ClearDatabase>b__1_0() in D:\\Projects\\ProjectName\\ProjectName\\PIM\\DemoData.cs:Zeile 31.\r\n   bei Starcounter.Db.Transact(Action action, UInt32 flags, Boolean forceSnapshot, Int32 maxRetries) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter\\Db.cs:Zeile 192.\r\n```"}}