23.02.2019, 16:54
(Ten post był ostatnio modyfikowany: 23.02.2019, 16:54 przez Dzaga.)
SCM i problem z Net Framework
Witam wszystkich serdecznie
Od jakiegoś czasu borykam się z problemem, otóż gdy odpalam SCM wyskakuje mi bład związany z Frameworkiem i nie odpala mi SCMa.
Pomoże ktoś ?
Od jakiegoś czasu borykam się z problemem, otóż gdy odpalam SCM wyskakuje mi bład związany z Frameworkiem i nie odpala mi SCMa.
Kod:
Szczegółowe informacje na temat wywoływania debugowania w trybie JIT (just in time)
zamiast tego okna dialogowego znajdują się na końcu tego komunikatu.
************** Tekst wyjątku **************
System.Configuration.ConfigurationErrorsException: Nie można zainicjować systemu konfiguracji ---> System.Configuration.ConfigurationErrorsException: Element '.', szesnastkowa wartość 0x00, jest nieprawidłowym znakiem. wiersz 10, pozycja 1. (C:\Users\Dzagers\AppData\Local\MSI\SCM.exe_Url_zv0ikcohnhzptbjtykvepncdk0ijftla\13.16.6153.0\user.config line 10) ---> System.Xml.XmlException: Element '.', szesnastkowa wartość 0x00, jest nieprawidłowym znakiem. wiersz 10, pozycja 1.
w System.Xml.XmlTextReaderImpl.Throw(Exception e)
w System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
w System.Xml.XmlTextReaderImpl.ParseText()
w System.Xml.XmlTextReaderImpl.ParseElementContent()
w System.Xml.XmlTextReaderImpl.Skip()
w System.Configuration.XmlUtil.StrictSkipToNextElement(ExceptionAction action)
w System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(XmlUtil xmlUtil, String parentConfigKey, Boolean inLocation, String locationSubPath, OverrideModeSetting overrideMode, Boolean skipInChildApps)
w System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(XmlUtil xmlUtil, String parentConfigKey, Boolean inLocation, String locationSubPath, OverrideModeSetting overrideMode, Boolean skipInChildApps)
w System.Configuration.BaseConfigurationRecord.ScanSections(XmlUtil xmlUtil)
w System.Configuration.BaseConfigurationRecord.InitConfigFromFile()
--- Koniec śladu stosu wyjątków wewnętrznych ---
w System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
w System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
w System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)
--- Koniec śladu stosu wyjątków wewnętrznych ---
w System.Configuration.ConfigurationManager.PrepareConfigSystem()
w System.Configuration.ConfigurationManager.RefreshSection(String sectionName)
w System.Configuration.ClientSettingsStore.ReadSettings(String sectionName, Boolean isUserScoped)
w System.Configuration.LocalFileSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties)
w System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider)
w System.Configuration.SettingsBase.SetPropertyValueByName(String propertyName, Object propertyValue)
w System.Configuration.SettingsBase.set_Item(String propertyName, Object value)
w System.Configuration.ApplicationSettingsBase.set_Item(String propertyName, Object value)
w MSI.SCM.SCMII.SetECOtoEC()
w MSI.SCM.SCMII.WndProc(Message& m)
w System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Zestawy załadowane **************
mscorlib
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.7.3260.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
SCM
Wersja zestawu: 13.16.6153.0
Wersja Win32: 13.016.06153.0
CodeBase: file:///C:/Program%20Files%20(x86)/SCM/SCM.exe
----------------------------------------
System.Configuration
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.7.3314.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.7.3221.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.7.3221.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.xml.resources
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.resources/v4.0_4.0.0.0_pl_b77a5c561934e089/System.Xml.resources.dll
----------------------------------------
System.Configuration.resources
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration.resources/v4.0_4.0.0.0_pl_b03f5f7f11d50a3a/System.Configuration.resources.dll
----------------------------------------
WPFOSD
Wersja zestawu: 1.0.0.0
Wersja Win32: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/SCM/WPFOSD.DLL
----------------------------------------
PresentationFramework
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.7.3221.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
WindowsBase
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.7.3221.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
PresentationCore
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.7.3221.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
System.Xaml
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.7.3221.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
----------------------------------------
System.Management
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
PresentationFramework.Aero2
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero2/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero2.dll
----------------------------------------
UIAutomationTypes
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.7.3221.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll
----------------------------------------
MSIECO
Wersja zestawu: 1.0.1308.2003
Wersja Win32: 1.0.1308.2003
CodeBase: file:///C:/Program%20Files%20(x86)/SCM/MSIECO.DLL
----------------------------------------
System.Windows.Forms.resources
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_pl_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
mscorlib.resources
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_pl_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
************** Debugowanie w trybie JIT **************
Aby włączyć debugowanie w trybie just in time (JIT), plik .config tej
aplikacji lub komputera (machine.config) musi mieć
wartość jitDebugging ustawioną w sekcji system.windows.forms.
Aplikacja musi być również skompilowana z włączonym
debugowaniem.
Na przykład:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Gdy debugowanie JIT jest włączone, wszystkie nieobsługiwane wyjątki
są wysyłane do debugera JIT zarejestrowanego na komputerze
i nie są obsługiwane w tym oknie dialogowym.
Pomoże ktoś ?