1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83:
| A first chance exception of type 'System.Data.EntityException' occurred in System.Data.Entity.dll 'Company.vshost.exe' (Managed): Loaded 'C:\windows\assembly\GAC_MSIL\System.Transactions.resources\2.0.0.0_de_b77a5c561934e089\System.Transactions.resources.dll' System.Transactions Critical: 0 : <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Critical"><TraceIdentifier>http: bei System.Data.Objects.ObjectContext.SaveChanges(Boolean acceptChangesDuringSave) bei System.Data.Objects.ObjectContext.SaveChanges() bei Company.DepartmentPresenter.View_AddDepartment(String departmentName) in C:\MVPSampleCompany\Company\Company\DepartmentPresenter.cs:Zeile 46. bei Company.MainWindowView.addDepartmentButton_Click_1(Object sender, EventArgs e) in C:\MVPSampleCompany\Company\Company\MainWindowView.cs:Zeile 27. bei System.Windows.Forms.Control.OnClick(EventArgs e) bei System.Windows.Forms.Button.OnClick(EventArgs e) bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) bei System.Windows.Forms.Control.WndProc(Message& m) bei System.Windows.Forms.ButtonBase.WndProc(Message& m) bei System.Windows.Forms.Button.WndProc(Message& m) bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) bei System.Windows.Forms.Application.Run(Form mainForm) bei Company.Program.Main() in C:\MVPSampleCompany\Company\Company\Program.cs:Zeile 19. bei System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args) bei System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() bei System.Threading.ThreadHelper.ThreadStart_Context(Object state) bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) bei System.Threading.ThreadHelper.ThreadStart()</StackTrace><ExceptionString>System.Data.EntityException: Fehler beim zugrunde liegenden Anbieter auf Commit. ---> System.Data.SQLite.SQLiteException: SQLite error cannot commit transaction - SQL statements in progress bei System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) bei System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) bei System.Data.SQLite.SQLiteDataReader.NextResult() bei System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) bei System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) bei System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() bei System.Data.SQLite.SQLiteTransaction.Commit() bei System.Data.EntityClient.EntityTransaction.Commit() --- Ende der internen Ausnahmestapelüberwachung --- bei System.Data.EntityClient.EntityTransaction.Commit() bei System.Data.Objects.ObjectContext.SaveChanges(Boolean acceptChangesDuringSave) bei System.Data.Objects.ObjectContext.SaveChanges() bei Company.DepartmentPresenter.View_AddDepartment(String departmentName) in C:\MVPSampleCompany\Company\Company\DepartmentPresenter.cs:Zeile 46. bei Company.MainWindowView.addDepartmentButton_Click_1(Object sender, EventArgs e) in C:\MVPSampleCompany\Company\Company\MainWindowView.cs:Zeile 27. bei System.Windows.Forms.Control.OnClick(EventArgs e) bei System.Windows.Forms.Button.OnClick(EventArgs e) bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) bei System.Windows.Forms.Control.WndProc(Message& m) bei System.Windows.Forms.ButtonBase.WndProc(Message& m) bei System.Windows.Forms.Button.WndProc(Message& m) bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) bei System.Windows.Forms.Application.Run(Form mainForm) bei Company.Program.Main() in C:\MVPSampleCompany\Company\Company\Program.cs:Zeile 19. bei System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args) bei System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() bei System.Threading.ThreadHelper.ThreadStart_Context(Object state) bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) bei System.Threading.ThreadHelper.ThreadStart()</ExceptionString><InnerException><ExceptionType>System.Data.SQLite.SQLiteException, System.Data.SQLite, Version=1.0.60.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139</ExceptionType><Message>SQLite error cannot commit transaction - SQL statements in progress</Message><StackTrace> bei System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) bei System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) bei System.Data.SQLite.SQLiteDataReader.NextResult() bei System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) bei System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) bei System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() bei System.Data.SQLite.SQLiteTransaction.Commit() bei System.Data.EntityClient.EntityTransaction.Commit()</StackTrace><ExceptionString>System.Data.SQLite.SQLiteException: SQLite error cannot commit transaction - SQL statements in progress bei System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) bei System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) bei System.Data.SQLite.SQLiteDataReader.NextResult() bei System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) bei System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) bei System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() bei System.Data.SQLite.SQLiteTransaction.Commit() bei System.Data.EntityClient.EntityTransaction.Commit()</ExceptionString></InnerException></Exception></TraceRecord> |