Windows应用程序启动错误exception代码:0xe0434352
我是启动Windows应用程序然后应用程序未启动。
错误exception代码:0xe0434352我从EventViewer发现以下错误。
Application_develop在Visual Studio 2010中,启动错误
Application: POSBarcode.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.Xml.XmlException at System.Xml.XmlTextReaderImpl.Throw(System.Exception) at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlTextReader.Read() at System.Configuration.XmlUtil..ctor(System.IO.Stream, System.String, Boolean, System.Configuration.ConfigurationSchemaErrors) at System.Configuration.BaseConfigurationRecord.InitConfigFromFile() Exception Info: System.Configuration.ConfigurationErrorsException at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean) at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(System.Configuration.ConfigurationSchemaErrors) at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors() at System.Configuration.ClientConfigurationSystem.OnConfigRemoved(System.Object, System.Configuration.Internal.InternalConfigEventArgs) Exception Info: System.Configuration.ConfigurationErrorsException at System.Configuration.ClientConfigurationSystem.OnConfigRemoved(System.Object, System.Configuration.Internal.InternalConfigEventArgs) at System.Configuration.Internal.InternalConfigRoot.OnConfigRemoved(System.Configuration.Internal.InternalConfigEventArgs) at System.Configuration.Internal.InternalConfigRoot.RemoveConfigImpl(System.String, System.Configuration.BaseConfigurationRecord) at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(System.String, Boolean, Boolean, Boolean, Boolean, System.Object ByRef, System.Object ByRef) at System.Configuration.BaseConfigurationRecord.GetSection(System.String) at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(System.String) at System.Configuration.ConfigurationManager.GetSection(System.String) at System.Configuration.ClientSettingsStore.ReadSettings(System.String, Boolean) at System.Configuration.LocalFileSettingsProvider.GetPropertyValues(System.Configuration.SettingsContext, System.Configuration.SettingsPropertyCollection) at System.Configuration.SettingsBase.GetPropertiesFromProvider(System.Configuration.SettingsProvider) at System.Configuration.SettingsBase.GetPropertyValueByName(System.String) at System.Configuration.SettingsBase.get_Item(System.String) at System.Configuration.ApplicationSettingsBase.GetPropertyValue(System.String) at System.Configuration.ApplicationSettingsBase.get_Item(System.String) at POSBarcode.Properties.Settings.get_MotherBoardID() at POSBarcode.Global..cctor() Exception Info: System.TypeInitializationException at POSBarcode.Global..ctor() at POSBarcode.Login..ctor() at POSBarcode.Program.Main()
不是我通常要处理的任务,但我会假设某种缺失的依赖或错误配置。 这是以前答案的重演。
这是一个比下面的列表更广泛的范围检查列表: EXE文件不起作用 (推荐脱脂)。 也许先尝试下面的问题。
发射时崩溃
这只是一个凌乱的列表,旨在激发调试思路。 如果您发现不准确,请改进内联。
许多事情可能会导致应用程序在启动时崩溃。 我怀疑列出的所有问题都会导致崩溃,而是错误消息。 另外: 几个点重叠很多 。
总体问题 :您是否作为有效用户在具有所需运行时的当前和最新的计算机上启动必要的AD组成员身份和许可证,并且您与安全软件的工作网络连接暂时被禁用以进行测试?
以下是原始答案。
依赖性和错误配置
一系列具体问题:
链接 (基本上只用于保管):
上述就是C#学习教程:Windows应用程序启动错误exception代码:0xe0434352分享的全部内容,如果对大家有所用处且需要了解更多关于C#学习教程,希望大家多多关注—计算机技术网(www.ctvol.com)!
本文来自网络收集,不代表计算机技术网立场,如涉及侵权请联系管理员删除。
ctvol管理联系方式QQ:251552304
本文章地址:https://www.ctvol.com/cdevelopment/992301.html