Rank: Advanced Member
Joined: 9/27/2011(UTC) Posts: 89 Location: sf
|
Is this error related: Code:
Finkit.ManicTime.Shared.Helpers.WorkItemException: Error executing work item. Caller stack trace:
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at Finkit.ManicTime.Shared.Helpers.ThreadHelper.QueueUserWorkItem(Action action)
at ActivityTracker.ComputerUsageTracking.ComputerUsageTracker.kv2rwwV1J(Object , PowerModeChangedEventArgs )
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at Microsoft.Win32.SystemEvents.SystemEventInvokeInfo.InvokeCallback(Object arg)
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at System.Windows.Forms.WindowsFormsSynchronizationContext.Send(SendOrPostCallback d, Object state)
at Microsoft.Win32.SystemEvents.SystemEventInvokeInfo.Invoke(Boolean checkFinalization, Object[] args)
at Microsoft.Win32.SystemEvents.RaiseEvent(Boolean checkFinalization, Object key, Object[] args)
at Microsoft.Win32.SystemEvents.OnPowerModeChanged(IntPtr wParam)
at Microsoft.Win32.SystemEvents.WindowProc(IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.UnsafeNativeMethods.PeekMessage(MSG& msg, HandleRef hwnd, Int32 msgMin, Int32 msgMax, Int32 remove)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run()
at Finkit.ManicTime.Tracker.Main.TrackerApplicationInstance.Run()
at Finkit.ManicTime.Tracker.WinApp.Program.Main(String[] args)
--- End of caller stack trace
at Finkit.ManicTime.Shared.Helpers.ThreadHelper.<>c__DisplayClass1.<QueueUserWorkItem>b__0(Object state)
at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
---
System.Data.SqlServerCe.SqlCeException: There is a file sharing violation. A different process might be using the file. [ E:\Programs\ManicTimeUsb\Data\ManicTime.sdf ]
at System.Data.SqlServerCe.SqlCeConnection.ProcessResults(Int32 hr)
at System.Data.SqlServerCe.SqlCeConnection.Open(Boolean silent)
at System.Data.SqlServerCe.SqlCeConnection.Open()
at Finkit.ManicTime.Common.DataAccess.ThreadStaticConnectionPool.GetConnection()
at Finkit.ManicTime.Common.DataAccess.ConnectionPoolUnitOfWork.GetConnection()
at Finkit.ManicTime.Common.DataAccess.ConnectionPoolUnitOfWork.EnsureTransactionStarted()
at Finkit.ManicTime.Common.DataAccess.ConnectionPoolUnitOfWork.EnsureTransactionStarted()
at Finkit.ManicTime.Common.DataAccess.ConnectionPoolUnitOfWork.EnlistCommand(IDbCommand command)
at Finkit.ManicTime.Common.DataAccess.ConnectionPoolUnitOfWork.Enlist[T](T objectToEnlist)
at Finkit.ManicTime.Common.DataAccess.GenericCommandExecutor.<ExecuteReader>d__0.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at Finkit.ManicTime.Common.ActivityTimelines.EntityRepository.<Enumerate>d__0`1.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Finkit.ManicTime.Common.ActivityTimelines.Activities.ActivityRepository.Get(ActivityQuery query)
at Finkit.ManicTime.Tracker.TrackerEventProcessor.ActivityDBWriter.GetPreviousActivityByEndTime(DateTimeOffset endLocalTime)
at Finkit.ManicTime.Tracker.Tracking.TrackerEventProcessor.ApplicationDocument.ApplicationDocumentDbWriter.GetPreviousTrackerActivityByEndTime(DateTimeOffset endTime)
at Finkit.ManicTime.Tracker.TrackerEventProcessor.ActivityProcessor.SynchronizeActivityWithDB(ITrackerActivity activity)
at Finkit.ManicTime.Tracker.TrackerEventProcessor.ActivityProcessor.SynchronizeActivitiesWithDB()
at Finkit.ManicTime.Tracker.TrackerEventProcessor.ActivityProcessor.ProcessTrackerEvents(TrackerEvent[] trackerEvents)
at Finkit.ManicTime.Tracker.TrackerEventProcessor.ActivityProcessor.OnTrackerEventsEvent(TrackerEventsEvent trackerEventsEvent)
at Finkit.ManicTime.Common.EventHub.Publish[T](T subject)
at Finkit.ManicTime.Tracker.TrackerCache.EventTracker.PublishTrackerEventsEvent()
at Finkit.ManicTime.Tracker.TrackerCache.EventTracker.ComputerUsageTracker_ComputerUsageTypeChangedEvent(Object sender, ComputerUsageTypeChangedEventArgs e)
at ActivityTracker.ComputerUsageTracking.ComputerUsageTracker.HSJAt0TDU(String , DateTimeOffset )
at ActivityTracker.ComputerUsageTracking.ComputerUsageTracker.<>c__DisplayClass1.<SystemEvents_PowerModeChanged>b__0()
at Finkit.ManicTime.Shared.Helpers.ThreadHelper.<>c__DisplayClass1.<QueueUserWorkItem>b__0(Object state)
***ProcessInfo:
*** Start: 22.03.2012 21:58:12.468
*ProcessInfoX86 Start: 22.03.2012 21:58:12.468
System.TimeoutException: Process did not return results in time: E:\Programs\ManicTimeUsb\ProcessInfoX86.exe;ManicTime.exe ManicTimeClient.exe
at Finkit.ManicTime.Shared.Logging.ProcessInfo.ProcessInfoService.RunAndCaptureOutput(String fileName, String arguments, TimeSpan timeout)
at Finkit.ManicTime.Shared.Logging.ProcessInfo.ProcessInfoService.GetProcessInfo(String processInfoFileName, String arguments)
*ProcessInfoX86 End: 22.03.2012 21:58:28.890
*** End: 22.03.2012 21:58:28.890
|