[英]Windows Application Startup Error Exception code: 0xe0434352
I Was Start Windows Application Then application Not Start. 我正在启动Windows应用程序,然后启动应用程序。
Error Exception code: 0xe0434352 I was find Following Error from EventViewer. 错误异常代码:0xe0434352我从EventViewer中发现“跟随错误”。
Application_develop in Visual studio 2010,Startup error Visual Studio 2010中的Application_develop,启动错误
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()
Not my usual task to handle, but some sort of missing dependency or misconfiguration I would assume. 这不是我通常要处理的任务,而是我会假设的某种缺失的依赖关系或配置错误。 This is a rehash of previous answers. 这是先前答案的重述。
Here is a somewhat broader-scope check-list of things to try than the below list: EXE file is not working (recommended skim). 与下面的列表相比,这里的检查列表范围更广: EXE文件不起作用 (建议略读)。 Maybe try the questions below first though. 也许首先尝试下面的问题。
This is just a messy list intended to spark debugging ideas. 这只是一个混乱的清单,旨在激发调试思路。 Please improve inline if you find inaccuracies. 如果发现错误,请改进内联。
Many things could make an application crash on launch. 许多事情可能会使应用程序在启动时崩溃。 I doubt all the issues listed would cause crashes, but rather error messages. 我怀疑列出的所有问题都将导致崩溃,而是错误消息。 Also: several of the points overlap quite a bit . 另外: 几个点有很多重叠 。
POSBarcode.exe
indicating communication with a hardware device?). (您的exe文件称为POSBarcode.exe
指示与硬件设备进行通信吗?)。 Overall question : are you launching as a valid user with the necessary AD group memberships and licenses on a machine that is current and up to date with the runtimes required and you have a working network connection with security software momentarily disabled for testing purposes? 总体问题 :您是否以有效用户身份启动,且该计算机具有必需的AD组成员身份和许可证,且该计算机是最新的且具有所需运行时的最新信息,并且您的网络连接正常,并且出于测试目的而暂时禁用了安全软件?
Below is the original answer. 以下是原始答案。
A list of specific questions: 具体问题清单:
.NET
, VC++ runtime
, VC runtime
, java
, etc...). ( .NET
, VC++ runtime
, VC runtime
, java
等)。 modules view
to get an idea of what the project loads interactively: Debug => Start Debugging
, then go Debug => Windows => Modules
. 如果它在Visual Studio中可用,请尝试使用modules view
来了解项目以交互方式加载的内容: Debug => Start Debugging
,然后转到Debug => Windows => Modules
。 It should show whatever was loaded to run your project interactively. 它应该显示为交互运行项目而加载的内容。 Copy whatever is missing from your release folder in place when identified. 确定后,将释放文件夹中缺少的所有内容复制到位。 C# / C
application Dependencies.exe
. 这是一个C ++应用程序,与提到的C# / C
应用程序Dependencies.exe
相反。 It lacks handling of advanced features such as side-by-side assemblies and API-sets. 它缺少对高级功能的处理,例如并排程序集和API集。 Links (basically for safekeeping only): 链接 (主要用于保管):
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.