Unhandled exception System.Runtime.InteropServices.SEHException

223 views
Skip to first unread message

Andy Jerison

unread,
Apr 13, 2018, 11:17:58 AM4/13/18
to Migrated By Firefly
I'm getting repeatable crashes on two Windows 2008 R2 Standard Terminal Servers. Here are the top few lines of the event viewer entry:

Application: TankSystem.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Runtime.InteropServices.SEHException
   at TankSystem.Reports.Views.ProductSearchByPH_FE_ProductsByPH_andMSC_Report..ctor(TankSystem.Reports.ProductSearchByPH_FE)
   at TankSystem.Reports.ProductSearchByPH_FE.<OnLoad>b__9_0()
   at ENV.AbstractUIController+<>c__DisplayClass115_0.<set_View>b__0()
   at Firefly.Box.Engine.MultiThreadedMessageLoop.InvokeOnUIThread(System.Action, System.Object)
   at ENV.AbstractUIController.set_View(System.Func`1<Firefly.Box.UI.Form>)
   at TankSystem.Reports.ProductSearchByPH_FE.OnLoad()
   at ENV.AbstractUIController.MyLoad()
   at Firefly.Box.Task+<>c__DisplayClass51_1.<Run>b__2(Firefly.Box.LoadTaskCommandDelegate, Boolean)
   at Firefly.Box.RegularTaskRunner.LoadTask(Firefly.Box.LoadTask)
   at Firefly.Box.Task+<>c__DisplayClass51_0.<Run>b__0(Firefly.Box.Engine.TaskRunContext)

The class runs fine on my development machine and on a Windows Server 2012 Standard machine. I'm at a total loss as to how to troubleshoot this. Can anyone point me at some areas to look at?

Thanks,

Andy

Sefi Bar-El

unread,
Apr 13, 2018, 3:46:26 PM4/13/18
to Migrated By Firefly
Hi Andy,

According to the error message, I assume the application is on a network drive. 
Please try to run it from a local folder and let me know if this solves the issue.

Best regards,

Andy Jerison

unread,
Apr 13, 2018, 4:22:12 PM4/13/18
to migrated-...@googlegroups.com
Hi Sefi,

That would be a workaround, not a solution. This app is running on a small Terminal Server farm (if two servers counts as a "farm"). I don't want to have to install the executables on multiple servers, even it it's only two of them.

Besides, the same app runs without these errors on a similar environment (though with different Windows versions): the executables are located on a server. The only difference is that the shortcut itself resides on the machine the app executes on.

As a test, I've copied the shortcut from the network server to the terminal server so that it's now local. I get the same error.

Andy

Sefi Bar-El

unread,
Apr 14, 2018, 2:31:36 AM4/14/18
to Migrated By Firefly
Hi Andy,


Just to clarify, I would like to narrow down the issue and understand if it occurs when running the app from a local folder.
If the error only occurs only when running from a network location, we'll advise accordingly.

Please try to run from a local folder and let me know if this works.

Thanks

Zohar

unread,
Apr 14, 2018, 11:25:02 AM4/14/18
to Migrated By Firefly
Hi Andi,
Will you please check the windows event viewer log to see some more details?
Post the error log here and I'll try to take a look.

Andy Jerison

unread,
Apr 14, 2018, 1:28:58 PM4/14/18
to Migrated By Firefly
Hi Zohar,

Here are the first three sections:
-------------------------- Start event log ------------------------------
Application: TankSystem.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Runtime.InteropServices.SEHException
   at TankSystem.Reports.Views.ProductSearchByPH_FE_ProductsByPH_andMSC_Report..ctor(TankSystem.Reports.ProductSearchByPH_FE)
   at TankSystem.Reports.ProductSearchByPH_FE.<OnLoad>b__9_0()
   at ENV.AbstractUIController+<>c__DisplayClass115_0.<set_View>b__0()
   at Firefly.Box.Engine.MultiThreadedMessageLoop.InvokeOnUIThread(System.Action, System.Object)
   at ENV.AbstractUIController.set_View(System.Func`1<Firefly.Box.UI.Form>)
   at TankSystem.Reports.ProductSearchByPH_FE.OnLoad()
   at ENV.AbstractUIController.MyLoad()
   at Firefly.Box.Task+<>c__DisplayClass51_1.<Run>b__2(Firefly.Box.LoadTaskCommandDelegate, Boolean)
   at Firefly.Box.RegularTaskRunner.LoadTask(Firefly.Box.LoadTask)
   at Firefly.Box.Task+<>c__DisplayClass51_0.<Run>b__0(Firefly.Box.Engine.TaskRunContext)
   at WizardOfOz.Witch.Engine.CallStackClass.RunTask(WizardOfOz.Witch.Engine.HostedItem, Boolean, WizardOfOz.Witch.Engine.RunTask)
   at WizardOfOz.Witch.Engine.CallStackClass+<>c__DisplayClass34_0.<WizardOfOz.Witch.Engine.HostEnvironment.ExecuteTask>b__0()
   at WizardOfOz.Witch.Engine.CallStackClass.RunActionWithModuleController(Firefly.Box.Advanced.ModuleController, System.Action)
   at WizardOfOz.Witch.Engine.CallStackClass.WizardOfOz.Witch.Engine.HostEnvironment.ExecuteTask(WizardOfOz.Witch.Engine.HostedItem, Firefly.Box.Advanced.ModuleController, WizardOfOz.Witch.Engine.RunTask)
   at Firefly.Box.RegularTaskRunner.Execute(WizardOfOz.Witch.Engine.HostEnvironment, WizardOfOz.Witch.Engine.HostedItem, WizardOfOz.Witch.Engine.RunTask, System.Action)
   at Firefly.Box.Task.Run(Firefly.Box.TaskRunner)
   at Firefly.Box.Task.Run()
   at Firefly.Box.UIController.Run()
   at ENV.AbstractUIController.RunTheTask()
   at ENV.ControllerBase.RunTask()
   at ENV.ControllerBase+<>c.<.ctor>b__3_2(System.Action)
   at ENV.ControllerBase.Execute()
   at ENV.AbstractUIController.Execute()
   at TankSystem.Reports.ProductSearchByPH_FE.Run()
   at TankSystem.MenuSystem.Gen_ProductReportsMenu+<>c.<InitializeDataViewAndUserFlow>b__9_5(TankSystem.Reports.IProductSearchByPH_FE)
   at ENV.FlowUIControllerBase+UserFlow+<>c__DisplayClass42_0`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<Add>b__0()
   at Firefly.Box.UIController+TaskTypeInteractive+UserFlowItemActivationResultClass+<>c__DisplayClass9_0.<WrapRunnedTask>b__0()
   at Firefly.Box.UIController+TaskTypeInteractive+<>c.<Run>b__11_1(System.Action, Boolean)
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass59_0.<GoToUserFlowItem>b__1(System.Action)
   at Firefly.Box.UIController+TaskTypeInteractive+UserFlowItemActivationResultClass.WrapRunnedTask(System.Action, Boolean)
   at Firefly.Box.Flow.UserFlow+myUserFlowItemActivationResult.WrapRunnedTask(System.Action, Boolean)
   at WizardOfOz.Witch.Engine.RunTaskUserFlowItem.ActivateFlow(WizardOfOz.Witch.Engine.UserFlowItemActivationResult, Firefly.Box.Flow.FlowMode, Firefly.Box.Flow.Direction, Boolean, Firefly.Box.Data.Advanced.DuplicateIndexCheckHelper, Boolean, Firefly.Box.Flow.FlowMode, System.Action`1<System.Action>)
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass59_0.<GoToUserFlowItem>b__9()
   at Firefly.Box.Engine.NormalViewMode.RunFlowItem(System.Action, System.Action)
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass59_0.<GoToUserFlowItem>b__8()
   at Firefly.Box.UIController+TaskTypeInteractive.RunInFlowContext(System.Action, Firefly.Box.Advanced.FlowActionVisitor)
   at Firefly.Box.UIController+TaskTypeInteractive.GoToUserFlowItem(GoToUserFlowItemState)
   at Firefly.Box.UIController+TaskTypeInteractive.GoToUserFlowItem(GoToUserFlowItemHelper)
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass54_0.<LeaveControlAndGoTo>b__1()
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass40_0.<LeaveControl>b__1()
   at Firefly.Box.UI.Advanced.InputControlBase+myControlForFlow+<>c__DisplayClass11_0.<Leave>b__0(System.Action, System.Action)
   at Firefly.Box.UI.Advanced.InputControlBase.EndEditing(WizardOfOz.Witch.UI.DoAfterEditingEnded, Boolean, Boolean)
   at Firefly.Box.UI.Advanced.InputControlBase+myControlForFlow.Leave(Boolean, Boolean, Boolean, Boolean, System.Action, System.Action)
   at Firefly.Box.UIController+myFlowForColumnInUserFlow.Leave(Boolean, Boolean, Boolean, Boolean, System.Action, System.Action)
   at WizardOfOz.Witch.Engine.ColumnInUserFlow.LeaveColumn(System.Action, WizardOfOz.Witch.Engine.LeaveColumnBehavior, Firefly.Box.Data.Advanced.DuplicateIndexCheckHelper)
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass40_0.<LeaveControl>b__0(WizardOfOz.Witch.Engine.ParkedColumn)
   at Firefly.Box.UIController+TaskTypeInteractive.DoOnParkedColumn(System.Action`1<WizardOfOz.Witch.Engine.ParkedColumn>)
   at Firefly.Box.UIController+TaskTypeInteractive.LeaveControl(System.Action, WizardOfOz.Witch.Engine.LeaveColumnBehavior)
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass54_0.<LeaveControlAndGoTo>b__0()
   at Firefly.Box.UIController+TaskTypeInteractive.RunInFlowContext(System.Action, Firefly.Box.Advanced.FlowActionVisitor)
   at Firefly.Box.UIController+TaskTypeInteractive.LeaveControlAndGoTo(GoToUserFlowItemHelper, Boolean)
   at Firefly.Box.UIController+TaskTypeInteractive.<Expand>b__98_0(Boolean, System.Action)
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass98_2.<Expand>b__3()
   at Firefly.Box.UIController+TaskTypeInteractive.<Expand>b__98_0(Boolean, System.Action)
   at Firefly.Box.UIController+TaskTypeInteractive.Expand()
   at Firefly.Box.UIController+TaskTypeInteractive.<AddActionsTo>b__111_2(Firefly.Box.UI.Advanced.ControlBase, System.Object[])
   at Firefly.Box.Task+RunToolsForTaskTypeClass+<>c__DisplayClass29_0.<Add>b__1(Firefly.Box.UI.Advanced.ControlBase, System.Object[])
   at WizardOfOz.Witch.Engine.CommandInvokationStuff.Invoke(WizardOfOz.Witch.Engine.ActionWithParameters)
   at Firefly.Box.Task+RunToolsForTaskTypeClass.Handle(Firefly.Box.Command, WizardOfOz.Witch.Engine.CommandInvokationStuff, System.Action)
   at Firefly.Box.Command.DefaultAction(WizardOfOz.Witch.Engine.EventHandler, WizardOfOz.Witch.Engine.CommandInvokationStuff, System.Action)
   at Firefly.Box.Task+<>c__DisplayClass93_1.<Raise>b__2()
   at WizardOfOz.Witch.Engine.InvokeParams.DoDefaultAction(WizardOfOz.Witch.Engine.EventHandler)
   at Firefly.Box.Task+RunToolsForTaskTypeClass+<>c__DisplayClass80_0.<Invoke>b__2()
   at Firefly.Box.Task.Raise(ApplyAndReturnTrueToPropogate, System.Action)
   at Firefly.Box.Task+RunToolsForTaskTypeClass.Invoke(Firefly.Box.ListenerRunner)
   at Firefly.Box.Task+<>c__DisplayClass93_0.<Raise>b__1(WizardOfOz.Witch.Engine.EventHandler, Firefly.Box.UI.Advanced.ControlBase)
   at Firefly.Box.Task+<>c__DisplayClass93_2.<Raise>b__8(Firefly.Box.UI.Advanced.ControlBase)
   at Firefly.Box.Task+RunToolsForTaskTypeClass+<>c__DisplayClass84_1.<WrapInvokingFromQueue>b__4()
   at Firefly.Box.UIController+TaskTypeInteractive.RunInFlowContext(System.Action, Firefly.Box.Advanced.FlowActionVisitor)
   at Firefly.Box.Task+RunToolsForTaskTypeClass+<>c__DisplayClass84_1.<WrapInvokingFromQueue>b__3()
   at Firefly.Box.UIController+TaskTypeInteractive+SingleSelection.WrapEventInvokation(System.Action, System.Action)
   at Firefly.Box.UIController+TaskTypeInteractive.WrapEventInvokation(System.Action, Boolean, System.Action)
   at Firefly.Box.Task+RunToolsForTaskTypeClass+<>c__DisplayClass84_1.<WrapInvokingFromQueue>b__0()
   at Firefly.Box.Command._DoWhileCurrentHandledKeyIs(System.Action`2<System.String,System.Action>, System.Action)
   at Firefly.Box.Command+<>c__DisplayClass181_0.<WrapInvokingFromQueue>b__0()
   at Firefly.Box.Task.DoWhileCurrentCommandIs(Firefly.Box.Command, Firefly.Box.UI.Advanced.ControlBase, System.Action)
   at Firefly.Box.Command.WrapInvokingFromQueue(System.Action`3<Firefly.Box.Command,Firefly.Box.UI.Advanced.ControlBase,System.Action>, System.Action`1<Firefly.Box.KeyContextResult>, System.Action`2<System.String,System.Action>, Firefly.Box.UI.Advanced.ControlBase, System.Action)
   at Firefly.Box.Task+RunToolsForTaskTypeClass.WrapInvokingFromQueue(Firefly.Box.Command, System.Func`2<Firefly.Box.UI.Advanced.ControlBase,Firefly.Box.UI.Advanced.ControlBase>, Boolean, System.Action`1<Firefly.Box.UI.Advanced.ControlBase>, System.Action)
   at Firefly.Box.Task+<>c__DisplayClass93_0.<Raise>b__6(WizardOfOz.Witch.Engine.EventHandler)
   at WizardOfOz.Witch.Engine.CallStackClass+<>c__DisplayClass41_1.<ProcessEvents>b__0(WizardOfOz.Witch.Engine.EventHandler)
   at Firefly.Box.Task+HostedItemClass.ExecuteEvent(WizardOfOz.Witch.Engine.EventDelegate)
   at WizardOfOz.Witch.Engine.CallStackClass+TaskInCallStack.ExecuteEvent(WizardOfOz.Witch.Engine.EventDelegate)
   at WizardOfOz.Witch.Engine.CallStackClass.ProcessEvents(System.Func`1<Boolean>)
   at WizardOfOz.Witch.Engine.CallStackClass+TaskInCallStack+<>c__DisplayClass40_0.<RunMessageLoop>b__0()
   at WizardOfOz.Witch.Engine.CallStackClass+TaskInCallStack+<>c__DisplayClass40_0.<RunMessageLoop>b__2()
   at Firefly.Box.DataAccess.Transactions.TaskTransactionContainer.RunRecoverableMonitoredCommand(System.Action, System.Action, Boolean)
   at WizardOfOz.Witch.Engine.CallStackClass+TaskInCallStack.RunRecoverableMonitoredCommand(System.Action, System.Action, Boolean)
   at Firefly.Box.Task+myTaskTransactionManager.RunRecoverableMonitoredCommand(System.Action, System.Action, Boolean)
   at Firefly.Box.TransactionScopesStrategy+Row.RunMonitoredRowLevelCommand(System.Action, System.Action)
   at Firefly.Box.Task.RunMonitoredRowLevelCommand(System.Action, Boolean)
   at Firefly.Box.Task.WrapEventProcessing(System.Action)
   at WizardOfOz.Witch.Engine.CallStackClass+TaskInCallStack.RunMessageLoop(StopLoop, MessageHandler, System.Action`1<System.Action>)
   at Firefly.Box.Task+RunToolsForTaskTypeClass.RunInteractiveLoop(System.Func`1<Boolean>)
   at Firefly.Box.UIController+TaskTypeInteractive.Run(WizardOfOz.Witch.Engine.RunToolsForTaskType, WizardOfOz.Witch.Engine.EventHandlerBuilder)
   at Firefly.Box.Task.<Run>b__55_0(Firefly.Box.RunTools)
   at Firefly.Box.Task+<>c__DisplayClass51_2.<Run>b__6()
   at Firefly.Box.DataAccess.Transactions.TaskTransactionContainer.RunMonitoredCommand(System.Action, WizardOfOz.Witch.DataAccess.TransactionRollbackDelegate)
   at WizardOfOz.Witch.Engine.CallStackClass+TaskInCallStack.RunMonitoredCommand(System.Action, WizardOfOz.Witch.DataAccess.TransactionRollbackDelegate)
   at Firefly.Box.Task+myTaskTransactionManager.RunMonitoredCommand(System.Action, WizardOfOz.Witch.DataAccess.TransactionRollbackDelegate)
   at Firefly.Box.TransactionScopesStrategy+Row.RunMonitoredTaskLevelCommand(System.Action)
   at Firefly.Box.Task+<>c__DisplayClass51_1.<Run>b__2(Firefly.Box.LoadTaskCommandDelegate, Boolean)
   at Firefly.Box.RegularTaskRunner.LoadTask(Firefly.Box.LoadTask)
   at Firefly.Box.Task+<>c__DisplayClass51_0.<Run>b__0(Firefly.Box.Engine.TaskRunContext)
   at WizardOfOz.Witch.Engine.CallStackClass.RunTask(WizardOfOz.Witch.Engine.HostedItem, Boolean, WizardOfOz.Witch.Engine.RunTask)
   at WizardOfOz.Witch.Engine.CallStackClass+<>c__DisplayClass34_0.<WizardOfOz.Witch.Engine.HostEnvironment.ExecuteTask>b__0()
   at WizardOfOz.Witch.Engine.CallStackClass.RunActionWithModuleController(Firefly.Box.Advanced.ModuleController, System.Action)
   at WizardOfOz.Witch.Engine.CallStackClass.WizardOfOz.Witch.Engine.HostEnvironment.ExecuteTask(WizardOfOz.Witch.Engine.HostedItem, Firefly.Box.Advanced.ModuleController, WizardOfOz.Witch.Engine.RunTask)
   at Firefly.Box.RegularTaskRunner.Execute(WizardOfOz.Witch.Engine.HostEnvironment, WizardOfOz.Witch.Engine.HostedItem, WizardOfOz.Witch.Engine.RunTask, System.Action)
   at Firefly.Box.Task.Run(Firefly.Box.TaskRunner)
   at Firefly.Box.Task.Run()
   at Firefly.Box.UIController.Run()
   at ENV.AbstractUIController.RunTheTask()
   at ENV.ControllerBase.RunTask()
   at ENV.ControllerBase+<>c.<.ctor>b__3_2(System.Action)
   at ENV.ControllerBase.Execute()
   at ENV.AbstractUIController.Execute()
   at TankSystem.MenuSystem.ReportsMenu+<>c.<InitializeDataViewAndUserFlow>b__32_8(TankSystem.MenuSystem.Gen_ProductReportsMenu)
   at ENV.FlowUIControllerBase+UserFlow+<>c__DisplayClass42_0`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<Add>b__0()
   at Firefly.Box.UIController+TaskTypeInteractive+UserFlowItemActivationResultClass+<>c__DisplayClass9_0.<WrapRunnedTask>b__0()
   at Firefly.Box.UIController+TaskTypeInteractive+<>c.<Run>b__11_1(System.Action, Boolean)
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass59_0.<GoToUserFlowItem>b__1(System.Action)
   at Firefly.Box.UIController+TaskTypeInteractive+UserFlowItemActivationResultClass.WrapRunnedTask(System.Action, Boolean)
   at Firefly.Box.Flow.UserFlow+myUserFlowItemActivationResult.WrapRunnedTask(System.Action, Boolean)
   at WizardOfOz.Witch.Engine.RunTaskUserFlowItem.ActivateFlow(WizardOfOz.Witch.Engine.UserFlowItemActivationResult, Firefly.Box.Flow.FlowMode, Firefly.Box.Flow.Direction, Boolean, Firefly.Box.Data.Advanced.DuplicateIndexCheckHelper, Boolean, Firefly.Box.Flow.FlowMode, System.Action`1<System.Action>)
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass59_0.<GoToUserFlowItem>b__9()
   at Firefly.Box.Engine.NormalViewMode.RunFlowItem(System.Action, System.Action)
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass59_0.<GoToUserFlowItem>b__8()
   at Firefly.Box.UIController+TaskTypeInteractive.RunInFlowContext(System.Action, Firefly.Box.Advanced.FlowActionVisitor)
   at Firefly.Box.UIController+TaskTypeInteractive.GoToUserFlowItem(GoToUserFlowItemState)
   at Firefly.Box.UIController+TaskTypeInteractive.GoToUserFlowItem(GoToUserFlowItemHelper)
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass54_0.<LeaveControlAndGoTo>b__1()
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass40_0.<LeaveControl>b__1()
   at Firefly.Box.UI.Advanced.InputControlBase+myControlForFlow+<>c__DisplayClass11_0.<Leave>b__0(System.Action, System.Action)
   at Firefly.Box.UI.Advanced.InputControlBase.EndEditing(WizardOfOz.Witch.UI.DoAfterEditingEnded, Boolean, Boolean)
   at Firefly.Box.UI.Advanced.InputControlBase+myControlForFlow.Leave(Boolean, Boolean, Boolean, Boolean, System.Action, System.Action)
   at Firefly.Box.UIController+myFlowForColumnInUserFlow.Leave(Boolean, Boolean, Boolean, Boolean, System.Action, System.Action)
   at WizardOfOz.Witch.Engine.ColumnInUserFlow.LeaveColumn(System.Action, WizardOfOz.Witch.Engine.LeaveColumnBehavior, Firefly.Box.Data.Advanced.DuplicateIndexCheckHelper)
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass40_0.<LeaveControl>b__0(WizardOfOz.Witch.Engine.ParkedColumn)
   at Firefly.Box.UIController+TaskTypeInteractive.DoOnParkedColumn(System.Action`1<WizardOfOz.Witch.Engine.ParkedColumn>)
   at Firefly.Box.UIController+TaskTypeInteractive.LeaveControl(System.Action, WizardOfOz.Witch.Engine.LeaveColumnBehavior)
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass54_0.<LeaveControlAndGoTo>b__0()
   at Firefly.Box.UIController+TaskTypeInteractive.RunInFlowContext(System.Action, Firefly.Box.Advanced.FlowActionVisitor)
   at Firefly.Box.UIController+TaskTypeInteractive.LeaveControlAndGoTo(GoToUserFlowItemHelper, Boolean)
   at Firefly.Box.UIController+TaskTypeInteractive.<Expand>b__98_0(Boolean, System.Action)
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass98_2.<Expand>b__3()
   at Firefly.Box.UIController+TaskTypeInteractive.<Expand>b__98_0(Boolean, System.Action)
   at Firefly.Box.UIController+TaskTypeInteractive.Expand()
   at Firefly.Box.UIController+TaskTypeInteractive.<AddActionsTo>b__111_2(Firefly.Box.UI.Advanced.ControlBase, System.Object[])
   at Firefly.Box.Task+RunToolsForTaskTypeClass+<>c__DisplayClass29_0.<Add>b__1(Firefly.Box.UI.Advanced.ControlBase, System.Object[])
   at WizardOfOz.Witch.Engine.CommandInvokationStuff.Invoke(WizardOfOz.Witch.Engine.ActionWithParameters)
   at Firefly.Box.Task+RunToolsForTaskTypeClass.Handle(Firefly.Box.Command, WizardOfOz.Witch.Engine.CommandInvokationStuff, System.Action)
   at Firefly.Box.Command.DefaultAction(WizardOfOz.Witch.Engine.EventHandler, WizardOfOz.Witch.Engine.CommandInvokationStuff, System.Action)
   at Firefly.Box.Task+<>c__DisplayClass93_1.<Raise>b__2()
   at WizardOfOz.Witch.Engine.InvokeParams.DoDefaultAction(WizardOfOz.Witch.Engine.EventHandler)
   at Firefly.Box.Task+RunToolsForTaskTypeClass+<>c__DisplayClass80_0.<Invoke>b__2()
   at Firefly.Box.Task.Raise(ApplyAndReturnTrueToPropogate, System.Action)
   at Firefly.Box.Task+RunToolsForTaskTypeClass.Invoke(Firefly.Box.ListenerRunner)
   at Firefly.Box.Task+<>c__DisplayClass93_0.<Raise>b__1(WizardOfOz.Witch.Engine.EventHandler, Firefly.Box.UI.Advanced.ControlBase)
   at Firefly.Box.Task+<>c__DisplayClass93_2.<Raise>b__8(Firefly.Box.UI.Advanced.ControlBase)
   at Firefly.Box.Task+RunToolsForTaskTypeClass+<>c__DisplayClass84_1.<WrapInvokingFromQueue>b__4()
   at Firefly.Box.UIController+TaskTypeInteractive.RunInFlowContext(System.Action, Firefly.Box.Advanced.FlowActionVisitor)
   at Firefly.Box.Task+RunToolsForTaskTypeClass+<>c__DisplayClass84_1.<WrapInvokingFromQueue>b__3()
   at Firefly.Box.UIController+TaskTypeInteractive+SingleSelection.WrapEventInvokation(System.Action, System.Action)
   at Firefly.Box.UIController+TaskTypeInteractive.WrapEventInvokation(System.Action, Boolean, System.Action)
   at Firefly.Box.Task+RunToolsForTaskTypeClass+<>c__DisplayClass84_1.<WrapInvokingFromQueue>b__0()
   at Firefly.Box.Command._DoWhileCurrentHandledKeyIs(System.Action`2<System.String,System.Action>, System.Action)
   at Firefly.Box.Command+<>c__DisplayClass181_0.<WrapInvokingFromQueue>b__0()
   at Firefly.Box.Task.DoWhileCurrentCommandIs(Firefly.Box.Command, Firefly.Box.UI.Advanced.ControlBase, System.Action)
   at Firefly.Box.Command.WrapInvokingFromQueue(System.Action`3<Firefly.Box.Command,Firefly.Box.UI.Advanced.ControlBase,System.Action>, System.Action`1<Firefly.Box.KeyContextResult>, System.Action`2<System.String,System.Action>, Firefly.Box.UI.Advanced.ControlBase, System.Action)
   at Firefly.Box.Task+RunToolsForTaskTypeClass.WrapInvokingFromQueue(Firefly.Box.Command, System.Func`2<Firefly.Box.UI.Advanced.ControlBase,Firefly.Box.UI.Advanced.ControlBase>, Boolean, System.Action`1<Firefly.Box.UI.Advanced.ControlBase>, System.Action)
   at Firefly.Box.Task+<>c__DisplayClass93_0.<Raise>b__6(WizardOfOz.Witch.Engine.EventHandler)
   at WizardOfOz.Witch.Engine.CallStackClass+<>c__DisplayClass41_1.<ProcessEvents>b__0(WizardOfOz.Witch.Engine.EventHandler)
   at Firefly.Box.Task+HostedItemClass.ExecuteEvent(WizardOfOz.Witch.Engine.EventDelegate)
   at WizardOfOz.Witch.Engine.CallStackClass+TaskInCallStack.ExecuteEvent(WizardOfOz.Witch.Engine.EventDelegate)
   at WizardOfOz.Witch.Engine.CallStackClass.ProcessEvents(System.Func`1<Boolean>)
   at WizardOfOz.Witch.Engine.CallStackClass+TaskInCallStack+<>c__DisplayClass40_0.<RunMessageLoop>b__0()
   at WizardOfOz.Witch.Engine.CallStackClass+TaskInCallStack+<>c__DisplayClass40_0.<RunMessageLoop>b__2()
   at Firefly.Box.DataAccess.Transactions.TaskTransactionContainer.RunRecoverableMonitoredCommand(System.Action, System.Action, Boolean)
   at WizardOfOz.Witch.Engine.CallStackClass+TaskInCallStack.RunRecoverableMonitoredCommand(System.Action, System.Action, Boolean)
   at Firefly.Box.Task+myTaskTransactionManager.RunRecoverableMonitoredCommand(System.Action, System.Action, Boolean)
   at Firefly.Box.TransactionScopesStrategy+Row.RunMonitoredRowLevelCommand(System.Action, System.Action)
   at Firefly.Box.Task.RunMonitoredRowLevelCommand(System.Action, Boolean)
   at Firefly.Box.Task.WrapEventProcessing(System.Action)
   at WizardOfOz.Witch.Engine.CallStackClass+TaskInCallStack.RunMessageLoop(StopLoop, MessageHandler, System.Action`1<System.Action>)
   at Firefly.Box.Task+RunToolsForTaskTypeClass.RunInteractiveLoop(System.Func`1<Boolean>)
   at Firefly.Box.UIController+TaskTypeInteractive.Run(WizardOfOz.Witch.Engine.RunToolsForTaskType, WizardOfOz.Witch.Engine.EventHandlerBuilder)
   at Firefly.Box.Task.<Run>b__55_0(Firefly.Box.RunTools)
   at Firefly.Box.Task+<>c__DisplayClass51_2.<Run>b__6()
   at Firefly.Box.DataAccess.Transactions.TaskTransactionContainer.RunMonitoredCommand(System.Action, WizardOfOz.Witch.DataAccess.TransactionRollbackDelegate)
   at WizardOfOz.Witch.Engine.CallStackClass+TaskInCallStack.RunMonitoredCommand(System.Action, WizardOfOz.Witch.DataAccess.TransactionRollbackDelegate)
   at Firefly.Box.Task+myTaskTransactionManager.RunMonitoredCommand(System.Action, WizardOfOz.Witch.DataAccess.TransactionRollbackDelegate)
   at Firefly.Box.TransactionScopesStrategy+Row.RunMonitoredTaskLevelCommand(System.Action)
   at Firefly.Box.Task+<>c__DisplayClass51_1.<Run>b__2(Firefly.Box.LoadTaskCommandDelegate, Boolean)
   at Firefly.Box.RegularTaskRunner.LoadTask(Firefly.Box.LoadTask)
   at Firefly.Box.Task+<>c__DisplayClass51_0.<Run>b__0(Firefly.Box.Engine.TaskRunContext)
   at WizardOfOz.Witch.Engine.CallStackClass.RunTask(WizardOfOz.Witch.Engine.HostedItem, Boolean, WizardOfOz.Witch.Engine.RunTask)
   at WizardOfOz.Witch.Engine.CallStackClass+<>c__DisplayClass34_0.<WizardOfOz.Witch.Engine.HostEnvironment.ExecuteTask>b__0()
   at WizardOfOz.Witch.Engine.CallStackClass.RunActionWithModuleController(Firefly.Box.Advanced.ModuleController, System.Action)
   at WizardOfOz.Witch.Engine.CallStackClass.WizardOfOz.Witch.Engine.HostEnvironment.ExecuteTask(WizardOfOz.Witch.Engine.HostedItem, Firefly.Box.Advanced.ModuleController, WizardOfOz.Witch.Engine.RunTask)
   at Firefly.Box.RegularTaskRunner.Execute(WizardOfOz.Witch.Engine.HostEnvironment, WizardOfOz.Witch.Engine.HostedItem, WizardOfOz.Witch.Engine.RunTask, System.Action)
   at Firefly.Box.Task.Run(Firefly.Box.TaskRunner)
   at Firefly.Box.Task.Run()
   at Firefly.Box.UIController.Run()
   at ENV.AbstractUIController.RunTheTask()
   at ENV.ControllerBase.RunTask()
   at ENV.ControllerBase+<>c.<.ctor>b__3_2(System.Action)
   at ENV.ControllerBase.Execute()
   at ENV.AbstractUIController.Execute()
   at TankSystem.MenuSystem.DesktopDisplay+PerformCommand.OnEnd()
   at ENV.BusinessProcessBase.<.ctor>b__7_3()
   at Firefly.Box.BusinessProcess+TaskTypeBatch.RunTaskSection(WizardOfOz.Witch.Engine.FlowEvent)
   at Firefly.Box.Task.<Run>b__51_22()
   at Firefly.Box.RegularTaskRunner.RunTaskEnd(System.Action)
   at Firefly.Box.Task+<>c__DisplayClass51_2.<Run>b__6()
   at Firefly.Box.DataAccess.Transactions.TaskTransactionContainer.RunMonitoredCommand(System.Action, WizardOfOz.Witch.DataAccess.TransactionRollbackDelegate)
   at WizardOfOz.Witch.Engine.CallStackClass+TaskInCallStack.RunMonitoredCommand(System.Action, WizardOfOz.Witch.DataAccess.TransactionRollbackDelegate)
   at Firefly.Box.Task+myTaskTransactionManager.RunMonitoredCommand(System.Action, WizardOfOz.Witch.DataAccess.TransactionRollbackDelegate)
   at Firefly.Box.TransactionScopesStrategy+None.RunMonitoredTaskLevelCommand(System.Action)
   at Firefly.Box.Task+<>c__DisplayClass51_1.<Run>b__2(Firefly.Box.LoadTaskCommandDelegate, Boolean)
   at Firefly.Box.RegularTaskRunner.LoadTask(Firefly.Box.LoadTask)
   at Firefly.Box.Task+<>c__DisplayClass51_0.<Run>b__0(Firefly.Box.Engine.TaskRunContext)
   at WizardOfOz.Witch.Engine.CallStackClass.RunTask(WizardOfOz.Witch.Engine.HostedItem, Boolean, WizardOfOz.Witch.Engine.RunTask)
   at WizardOfOz.Witch.Engine.CallStackClass+<>c__DisplayClass34_0.<WizardOfOz.Witch.Engine.HostEnvironment.ExecuteTask>b__0()
   at WizardOfOz.Witch.Engine.CallStackClass.RunActionWithModuleController(Firefly.Box.Advanced.ModuleController, System.Action)
   at WizardOfOz.Witch.Engine.CallStackClass.WizardOfOz.Witch.Engine.HostEnvironment.ExecuteTask(WizardOfOz.Witch.Engine.HostedItem, Firefly.Box.Advanced.ModuleController, WizardOfOz.Witch.Engine.RunTask)
   at Firefly.Box.RegularTaskRunner.Execute(WizardOfOz.Witch.Engine.HostEnvironment, WizardOfOz.Witch.Engine.HostedItem, WizardOfOz.Witch.Engine.RunTask, System.Action)
   at Firefly.Box.Task.Run(Firefly.Box.TaskRunner)
   at Firefly.Box.Task.Run()
   at Firefly.Box.BusinessProcess.Run()
   at ENV.BusinessProcessBase.RunTheTask()
   at ENV.ControllerBase.RunTask()
   at ENV.ControllerBase+<>c.<.ctor>b__3_2(System.Action)
   at ENV.ControllerBase.Execute()
   at ENV.BusinessProcessBase.Execute()
   at TankSystem.MenuSystem.DesktopDisplay+PerformCommand.Run(ENV.NumberParameter, ENV.TextParameter)
   at TankSystem.MenuSystem.DesktopDisplay.<InitializeDataViewAndUserFlow>b__19_16(PerformCommand)
   at ENV.FlowUIControllerBase+UserFlow+<>c__DisplayClass42_0`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<Add>b__0()
   at Firefly.Box.UIController+TaskTypeInteractive+UserFlowItemActivationResultClass+<>c__DisplayClass9_0.<WrapRunnedTask>b__0()
   at Firefly.Box.UIController+TaskTypeInteractive+<>c.<Run>b__11_1(System.Action, Boolean)
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass59_0.<GoToUserFlowItem>b__1(System.Action)
   at Firefly.Box.UIController+TaskTypeInteractive+UserFlowItemActivationResultClass.WrapRunnedTask(System.Action, Boolean)
   at Firefly.Box.Flow.UserFlow+myUserFlowItemActivationResult.WrapRunnedTask(System.Action, Boolean)
   at WizardOfOz.Witch.Engine.RunTaskUserFlowItem.ActivateFlow(WizardOfOz.Witch.Engine.UserFlowItemActivationResult, Firefly.Box.Flow.FlowMode, Firefly.Box.Flow.Direction, Boolean, Firefly.Box.Data.Advanced.DuplicateIndexCheckHelper, Boolean, Firefly.Box.Flow.FlowMode, System.Action`1<System.Action>)
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass59_0.<GoToUserFlowItem>b__9()
   at Firefly.Box.Engine.NormalViewMode.RunFlowItem(System.Action, System.Action)
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass59_0.<GoToUserFlowItem>b__8()
   at Firefly.Box.UIController+TaskTypeInteractive.RunInFlowContext(System.Action, Firefly.Box.Advanced.FlowActionVisitor)
   at Firefly.Box.UIController+TaskTypeInteractive.GoToUserFlowItem(GoToUserFlowItemState)
   at Firefly.Box.UIController+TaskTypeInteractive.GoToUserFlowItem(GoToUserFlowItemHelper)
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass54_0.<LeaveControlAndGoTo>b__1()
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass40_0.<LeaveControl>b__1()
   at Firefly.Box.UI.Advanced.InputControlBase+myControlForFlow+<>c__DisplayClass11_0.<Leave>b__0(System.Action, System.Action)
   at Firefly.Box.UI.Advanced.InputControlBase.EndEditing(WizardOfOz.Witch.UI.DoAfterEditingEnded, Boolean, Boolean)
   at Firefly.Box.UI.Advanced.InputControlBase+myControlForFlow.Leave(Boolean, Boolean, Boolean, Boolean, System.Action, System.Action)
   at Firefly.Box.UIController+myFlowForColumnInUserFlow.Leave(Boolean, Boolean, Boolean, Boolean, System.Action, System.Action)
   at WizardOfOz.Witch.Engine.ColumnInUserFlow.LeaveColumn(System.Action, WizardOfOz.Witch.Engine.LeaveColumnBehavior, Firefly.Box.Data.Advanced.DuplicateIndexCheckHelper)
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass40_0.<LeaveControl>b__0(WizardOfOz.Witch.Engine.ParkedColumn)
   at Firefly.Box.UIController+TaskTypeInteractive.DoOnParkedColumn(System.Action`1<WizardOfOz.Witch.Engine.ParkedColumn>)
   at Firefly.Box.UIController+TaskTypeInteractive.LeaveControl(System.Action, WizardOfOz.Witch.Engine.LeaveColumnBehavior)
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass54_0.<LeaveControlAndGoTo>b__0()
   at Firefly.Box.UIController+TaskTypeInteractive.RunInFlowContext(System.Action, Firefly.Box.Advanced.FlowActionVisitor)
   at Firefly.Box.UIController+TaskTypeInteractive.LeaveControlAndGoTo(GoToUserFlowItemHelper, Boolean)
   at Firefly.Box.UIController+TaskTypeInteractive.<Expand>b__98_0(Boolean, System.Action)
   at Firefly.Box.UIController+TaskTypeInteractive+<>c__DisplayClass98_2.<Expand>b__3()
   at Firefly.Box.UIController+TaskTypeInteractive.<Expand>b__98_0(Boolean, System.Action)
   at Firefly.Box.UIController+TaskTypeInteractive.Expand()
   at Firefly.Box.UIController+TaskTypeInteractive.<AddActionsTo>b__111_2(Firefly.Box.UI.Advanced.ControlBase, System.Object[])
   at Firefly.Box.Task+RunToolsForTaskTypeClass+<>c__DisplayClass29_0.<Add>b__1(Firefly.Box.UI.Advanced.ControlBase, System.Object[])
   at WizardOfOz.Witch.Engine.CommandInvokationStuff.Invoke(WizardOfOz.Witch.Engine.ActionWithParameters)
   at Firefly.Box.Task+RunToolsForTaskTypeClass.Handle(Firefly.Box.Command, WizardOfOz.Witch.Engine.CommandInvokationStuff, System.Action)
   at Firefly.Box.Command.DefaultAction(WizardOfOz.Witch.Engine.EventHandler, WizardOfOz.Witch.Engine.CommandInvokationStuff, System.Action)
   at Firefly.Box.Task+<>c__DisplayClass93_1.<Raise>b__2()
   at WizardOfOz.Witch.Engine.InvokeParams.DoDefaultAction(WizardOfOz.Witch.Engine.EventHandler)
   at Firefly.Box.Task+RunToolsForTaskTypeClass+<>c__DisplayClass80_0.<Invoke>b__2()
   at Firefly.Box.Task.Raise(ApplyAndReturnTrueToPropogate, System.Action)
   at Firefly.Box.Task+RunToolsForTaskTypeClass.Invoke(Firefly.Box.ListenerRunner)
   at Firefly.Box.Task+<>c__DisplayClass93_0.<Raise>b__1(WizardOfOz.Witch.Engine.EventHandler, Firefly.Box.UI.Advanced.ControlBase)
   at Firefly.Box.Task+<>c__DisplayClass93_2.<Raise>b__8(Firefly.Box.UI.Advanced.ControlBase)
   at Firefly.Box.Task+RunToolsForTaskTypeClass+<>c__DisplayClass84_1.<WrapInvokingFromQueue>b__4()
   at Firefly.Box.UIController+TaskTypeInteractive.RunInFlowContext(System.Action, Firefly.Box.Advanced.FlowActionVisitor)
   at Firefly.Box.Task+RunToolsForTaskTypeClass+<>c__DisplayClass84_1.<WrapInvokingFromQueue>b__3()
   at Firefly.Box.UIController+TaskTypeInteractive+SingleSelection.WrapEventInvokation(System.Action, System.Action)
   at Firefly.Box.UIController+TaskTypeInteractive.WrapEventInvokation(System.Action, Boolean, System.Action)
   at Firefly.Box.Task+RunToolsForTaskTypeClass+<>c__DisplayClass84_1.<WrapInvokingFromQueue>b__0()
   at Firefly.Box.Command._DoWhileCurrentHandledKeyIs(System.Action`2<System.String,System.Action>, System.Action)
   at Firefly.Box.Command+<>c__DisplayClass181_0.<WrapInvokingFromQueue>b__0()
   at Firefly.Box.Task.DoWhileCurrentCommandIs(Firefly.Box.Command, Firefly.Box.UI.Advanced.ControlBase, System.Action)
   at Firefly.Box.Command.WrapInvokingFromQueue(System.Action`3<Firefly.Box.Command,Firefly.Box.UI.Advanced.ControlBase,System.Action>, System.Action`1<Firefly.Box.KeyContextResult>, System.Action`2<System.String,System.Action>, Firefly.Box.UI.Advanced.ControlBase, System.Action)
   at Firefly.Box.Task+RunToolsForTaskTypeClass.WrapInvokingFromQueue(Firefly.Box.Command, System.Func`2<Firefly.Box.UI.Advanced.ControlBase,Firefly.Box.UI.Advanced.ControlBase>, Boolean, System.Action`1<Firefly.Box.UI.Advanced.ControlBase>, System.Action)
   at Firefly.Box.Task+<>c__DisplayClass93_0.<Raise>b__6(WizardOfOz.Witch.Engine.EventHandler)
   at WizardOfOz.Witch.Engine.CallStackClass+<>c__DisplayClass41_1.<ProcessEvents>b__0(WizardOfOz.Witch.Engine.EventHandler)
   at Firefly.Box.Task+HostedItemClass.ExecuteEvent(WizardOfOz.Witch.Engine.EventDelegate)
   at WizardOfOz.Witch.Engine.CallStackClass+TaskInCallStack.ExecuteEvent(WizardOfOz.Witch.Engine.EventDelegate)
   at WizardOfOz.Witch.Engine.CallStackClass.ProcessEvents(System.Func`1<Boolean>)

The remainder of the message was truncated.
Faulting application name: TankSystem.exe, version: 3.4.24.29513, time stamp: 0x5aa021ba
Faulting module name: clr.dll, version: 4.7.2563.0, time stamp: 0x5a334e14
Exception code: 0xc0000006
Fault offset: 0x00028f39
Faulting process id: 0x22c4
Faulting application start time: 0x01d3d2a0e856e02a
Faulting application path: \\ChemPervA\magic\Dotnet.Binaries.1.064\TankSystem.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Report Id: 31141d3f-3e94-11e8-88a1-001372f8611c

Windows cannot access the file  for one of the following reasons: there is a problem with the network connection, the disk that the file is stored on, or the storage drivers installed on this computer; or the disk is missing. Windows closed the program TankSystem because of this error.

Program: TankSystem
File: 

The error value is listed in the Additional Data section.
User Action
1. Open the file again. This situation might be a temporary problem that corrects itself when the program runs again.
2. If the file still cannot be accessed and
- It is on the network, your network administrator should verify that there is not a problem with the network and that the server can be contacted.
- It is on a removable disk, for example, a floppy disk or CD-ROM, verify that the disk is fully inserted into the computer.
3. Check and repair the file system by running CHKDSK. To run CHKDSK, click Start, click Run, type CMD, and then click OK. At the command prompt, type CHKDSK /F, and then press ENTER.
4. If the problem persists, restore the file from a backup copy.
5. Determine whether other files on the same disk can be opened. If not, the disk might be damaged. If it is a hard disk, contact your administrator or computer hardware vendor for further assistance.

Additional Data
Error value: C000020C
Disk type: 0

-------------------------- End event log ------------------------------

Andy Jerison

unread,
Apr 14, 2018, 1:30:01 PM4/14/18
to Migrated By Firefly

Andy Jerison

unread,
Apr 14, 2018, 1:42:14 PM4/14/18
to Migrated By Firefly
Hi Sefi,

Thanks. I've copied the shortcut to the terminal server's local desktop and updated its Target and Start In properties to point to copies on that server. It crashes in the same place.

This application accesses Btrieve data residing on the server, though. It won't be practical to copy the database folder to a local drive and access it there. Other network resources may also be accessed.

Thanks again,

Andy
Reply all
Reply to author
Forward
0 new messages