Florian Bidaut
Hello,
 
Since yesterday, PI Toolset crash as soon as I connect my computer to a car. I uninstalled PI Toolset 10.0 and I installed PI Toolset 10.3 and 11.0 and both work perfectly. Do you have any solution for the 10.0, because I have to use this version of the software ?
 
Here is the error :
Exception: System.Reflection.TargetInvocationException
Une exception a été levée par la cible d'un appel.
Source:
mscorlib
Stack Trace:
à System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
à System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
à System.Delegate.DynamicInvokeImpl(Object[] args)
à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
à System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
à System.Windows.Threading.DispatcherOperation.InvokeImpl()
à MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
à System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
à MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
à System.Windows.Threading.DispatcherOperation.Invoke()
à System.Windows.Threading.Dispatcher.ProcessQueue()
à System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
à MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
à MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
à System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
à System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
à MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
à MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
à System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
à System.Windows.Application.RunDispatcher(Object ignore)
à System.Windows.Application.RunInternal(Window window)
à Pi.Research.Toolset.Shell.SingleInstanceManager.OnStartup(StartupEventArgs eventArgs)
à Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
à Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
à Pi.Research.Toolset.Shell.EntryPoint.Main(String[] args)
Inner Exception: System.Reflection.TargetInvocationException
Une exception a été levée par la cible d'un appel.
Source:
mscorlib
Stack Trace:
à System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
à System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
à System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
à System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
à System.Activator.CreateInstance(String assemblyString, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark)
à System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
à System.AppDomain.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
à System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
à System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
à Pi.Research.Toolset.Metadata.MetadataCache.GetAppDomainForKey(MetadataKey key)
à Pi.Research.Toolset.Metadata.MetadataCache.CreateInstance(MetadataKey key, String assemblyName, String typeName, Object[] arguments)
à Pi.Research.Toolset.Metadata.MetadataCache.CreateInstance[T](MetadataKey key, Object[] arguments)
à Pi.Research.Toolset.Metadata.MetadataCache.CreateInstanceAndUnwrap[T](MetadataKey key)
à Pi.Research.Toolset.Metadata.MetadataDeviceContextFactory.CreateContext(MetadataKey key, MetadataDeviceContextParameters parameters, IDevice parent, MetadataCache metadataCache, Stream pcPrivateStream)
à Pi.Research.Toolset.Ethernet.EthernetDevice.CreateSetupDependentMetadata(Guid setupIdentifier)
à Pi.Research.Toolset.Ethernet.EthernetDevice.StartIdling()
à Pi.Research.Toolset.Ethernet.EthernetDevice.GoToState(DeviceStateType deviceStateType, Object param)
à Pi.Research.Toolset.Ethernet.States.DeviceState.OnCompleted(EventArgs args)
à Pi.Research.Toolset.Ethernet.States.InitializingState.dataSetRetriever_RetrievedDataSet(Object sender, RetrievedDataSetMessageEventArgs e)
à Pi.Research.Toolset.Ethernet.States.DataSetRetriever.OnRetrievedDataSet(RetrievedDataSetMessage response)
à Pi.Research.Toolset.Ethernet.States.DataSetRetriever.m_dataSetSocketHandler_MessageReceived(Object sender, DataSetMessageReceivedEventArgs e)
à Pi.Research.Toolset.Ethernet.DataSets.DataSetSocketHandler.OnMessageReceived(DataSetMessageReceivedEventArgs args)
à Pi.Research.Toolset.Ethernet.DataSets.DataSetSocketHandler.ProcessReceivedMessage(Byte[] data)
Inner Exception: System.Configuration.ConfigurationErrorsException
Échec de l'initialisation du système de configuration
Source:
System.Configuration
Stack Trace:
à System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)
à System.Configuration.Internal.InternalConfigRoot.OnConfigRemoved(InternalConfigEventArgs e)
à System.Configuration.Internal.InternalConfigRoot.RemoveConfigImpl(String configPath, BaseConfigurationRecord configRecord)
à System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
à System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
à System.Configuration.ConfigurationManager.GetSection(String sectionName)
à System.Configuration.ClientSettingsStore.ReadSettings(String sectionName, Boolean isUserScoped)
à System.Configuration.LocalFileSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties)
à System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider)
à System.Configuration.SettingsBase.SetPropertyValueByName(String propertyName, Object propertyValue)
à System.Configuration.SettingsBase.set_Item(String propertyName, Object value)
à System.Configuration.ApplicationSettingsBase.set_Item(String propertyName, Object value)
à Pi.Research.Toolset.Metadata.MetadataCache.AppDomainCoreServices..ctor(MetadataKey key, String relativePathToLogs)
Inner Exception: System.Configuration.ConfigurationErrorsException
'.', valeur hexadécimale 0x00, est un caractère non valide. Ligne 11, position 1. (C:\Users\atelier\AppData\Local\Cosworth_Electronics_Ltd\MetadataKey_MetafileName__Url_axbktibkzpylr2dugjxgbnrzx12yrbxh\10.0\user.config line 11)
Source:
System.Configuration
Stack Trace:
à System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
à System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
à System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)
Inner Exception: System.Xml.XmlException
'.', valeur hexadécimale 0x00, est un caractère non valide. Ligne 11, position 1.
Source:
System.Xml
Stack Trace:
à System.Xml.XmlTextReaderImpl.Throw(Exception e)
à System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
à System.Xml.XmlTextReaderImpl.ParseText()
à System.Xml.XmlTextReaderImpl.ParseElementContent()
à System.Xml.XmlTextReaderImpl.Skip()
à System.Configuration.XmlUtil.StrictSkipToNextElement(ExceptionAction action)
à System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(XmlUtil xmlUtil, String parentConfigKey, Boolean inLocation, String locationSubPath, OverrideModeSetting overrideMode, Boolean skipInChildApps)
à System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(XmlUtil xmlUtil, String parentConfigKey, Boolean inLocation, String locationSubPath, OverrideModeSetting overrideMode, Boolean skipInChildApps)
à System.Configuration.BaseConfigurationRecord.ScanSections(XmlUtil xmlUtil)
à System.Configuration.BaseConfigurationRecord.InitConfigFromFile()
Inner Exception:
null
 
Thank you in advance.
Reply 0 0
Florian Bidaut
The problem is solved. It was a corrupted file. If you encounter the same error, copy paste it in Chat GPT, it will help you resolve the problem.
Reply 0 0
Reply