malikye
Hello, I performed an upgrade on my laptop from Windows 7 to Windows 10 this morning. Everything works fine except for Toolset. When I go to "Setups" tab, and click on a setup, I get an error message and Toolset will close on me. Any ideas what's going on? I did an un-install and re-install of Toolset. That did NOT fix the issue. I am using Toolset v7.0. Error log is attached below. Thank you.
screenshot1.png 

 

Exception: System.TypeInitializationException

The type initializer for 'Pi.Research.Toolset.Setups.CapabilitiesTokenPackage' threw an exception.

 

Source:

Pi.Research.Toolset.Setups

 

Stack Trace:

   at Pi.Research.Toolset.Setups.CapabilitiesTokenPackage.Open(Stream stream)

   at Pi.Research.Toolset.Setups.SetupPackage.GetCapabilitiesToken(String fileName)

   at Pi.Research.Toolset.Setups.SetupPackage.GetProtectionCode(String fileName)

   at Pi.Research.Toolset.Setups.SetupPackage.GetProtectionCodeWithNullCheck(String fileName)

   at Pi.Research.Toolset.Shell.Setup.SetupInRepositoryViewModel.<get_ProtectionCode>b__a()

   at Pi.Research.Toolset.Shell.Setup.SetupInRepositoryViewModel.HandleExceptions(Action action)

   at Pi.Research.Toolset.Shell.Setup.SetupInRepositoryViewModel.get_ProtectionCode()

   at Pi.Research.Toolset.Shell.Setup.SetupRepositoryViewModel.OpenSetups()

   at Pi.Research.Toolset.Shell.Setup.SetupRepositoryView.Row_MouseDoubleClick(Object sender, MouseButtonEventArgs e)

   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)

   at System.Windows.Controls.Control.OnMouseDoubleClick(MouseButtonEventArgs e)

   at System.Windows.Controls.Control.HandleDoubleClick(Object sender, MouseButtonEventArgs e)

   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)

   at System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e)

   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)

   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)

   at System.Windows.Input.InputManager.ProcessStagingArea()

   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)

   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)

   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)

   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at System.Windows.Interop.HwndSource.InputFilterMessage(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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, 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.Threading.Dispatcher.PushFrame(DispatcherFrame frame)

   at System.Windows.Application.RunDispatcher(Object ignore)

   at System.Windows.Application.RunInternal(Window window)

   at System.Windows.Application.Run(Window window)

   at Pi.Research.Toolset.Shell.SingleInstanceManager.OnStartup(StartupEventArgs eventArgs)

   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()

   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)

   at Pi.Research.Toolset.Shell.EntryPoint.Main(String[] args)

 

Inner Exception: System.Security.Cryptography.CryptographicException

The profile for the user is a temporary profile.

 

 

Source:

mscorlib

 

Stack Trace:

   at System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)

   at System.Security.Cryptography.Utils.get_StaticDssProvHandle()

   at System.Security.Cryptography.Utils.ImportCspBlobHelper(CspAlgorithmType keyType, Byte[] keyBlob, Boolean publicOnly, CspParameters& parameters, Boolean randomKeyContainer, SafeProvHandle& safeProvHandle, SafeKeyHandle& safeKeyHandle)

   at Pi.Research.Toolset.Setups.CapabilitiesTokenPackage.CreateDSAProvider()

   at Pi.Research.Toolset.Setups.CapabilitiesTokenPackage..cctor()

 

Inner Exception:

null

Quote 0 0
littleozfella
I would suggest uninstalling Toolset and re-installing.. Toolset 7 works seamlessly with win10 pro for sure.  If you have done that and still have problems I would suggest to not try to open the setup files but re import them using the import button. 

Cheers.
Quote 0 0
malikye
I got his working again. The solution was to update Windows 10 to 1903. I believe the Windows 10 version I was on was 1511.
Quote 1 0