I Was Start Windows Application Then application Not Start.
Error Exception code: 0xe0434352 I was find Following Error from EventViewer.
Application_develop in Visual studio 2010,Startup error
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). 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?).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?
Below is the original answer.
A list of specific questions:
.NET
, VC++ runtime
, VC runtime
, java
, etc...).modules view
to get an idea of what the project loads interactively: Debug => Start Debugging
, then go 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
. It lacks handling of advanced features such as side-by-side assemblies and API-sets.Links (basically for safekeeping only):
User contributions licensed under CC BY-SA 3.0