Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- System.TypeInitializationException was unhandled
- HResult=-2146233036
- Message=The type initializer for 'Microsoft.Surface.Presentation.Input.InteractiveSurface' threw an exception.
- Source=Microsoft.Surface.Presentation
- TypeName=Microsoft.Surface.Presentation.Input.InteractiveSurface
- StackTrace:
- at Microsoft.Surface.Presentation.Controls.ScatterCanvas.GetItemOrientation(ScatterContentControlBase item)
- at Microsoft.Surface.Presentation.Controls.ScatterCanvas.SetItemTransform(ScatterContentControlBase item, Size parentSize)
- at Microsoft.Surface.Presentation.Controls.ScatterCanvas.SetItemTransformIfNeeded(ScatterContentControlBase item, Size parentSize)
- at Microsoft.Surface.Presentation.Controls.ScatterCanvas.<>c__DisplayClass3.<ArrangeOverride>b__1(ScatterContentControlBase svi)
- at Microsoft.Surface.Presentation.Controls.Primitives.CanvasHelper.ArrangeOverride[TItem](UIElementCollection canvasInternalChildren, Size arrangeSize, Func`2 extractItemFromChild, Action`1 positionItem)
- at Microsoft.Surface.Presentation.Controls.ScatterCanvas.ArrangeOverride(Size arrangeSize)
- at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
- at System.Windows.UIElement.Arrange(Rect finalRect)
- at System.Windows.ContextLayoutManager.UpdateLayout()
- at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
- at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
- at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
- at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
- at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
- at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
- at System.Windows.Threading.DispatcherOperation.InvokeImpl()
- at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
- at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
- at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
- at System.Windows.Threading.DispatcherOperation.Invoke()
- at System.Windows.Threading.Dispatcher.ProcessQueue()
- at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
- at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
- at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
- at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
- at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
- at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
- at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
- at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
- at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
- at System.Windows.Application.RunInternal(Window window)
- at System.Windows.Application.Run()
- at iShowRoom.App.Main() in c:\git\ishowroom2\src\iShowRoom\obj\Debug\App.g.cs:line 0
- InnerException: System.TypeInitializationException
- HResult=-2146233036
- Message=The type initializer for 'Microsoft.Surface.Core.InteractiveSurface' threw an exception.
- Source=Microsoft.Surface.Presentation
- TypeName=Microsoft.Surface.Core.InteractiveSurface
- StackTrace:
- at Microsoft.Surface.Presentation.Input.InteractiveSurface..cctor()
- InnerException: System.OverflowException
- HResult=-2146233066
- Message=Arithmetic operation resulted in an overflow.
- Source=Microsoft.Surface.Core
- StackTrace:
- at Microsoft.Surface.Core.RawInput.HidInput.RawImageDevice.FindFirstInterface(Guid interfaceGuid)
- at Microsoft.Surface.Core.RawInput.HidInput.RawImageDevice.get_Instance()
- at Microsoft.Surface.Core.RawInput.HidInput.HidInputProvider..ctor()
- at Microsoft.Surface.Core.ContextMap.EnsureInputProvider()
- at Microsoft.Surface.Core.InteractiveSurface..cctor()
- InnerException:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement