使用“Visual Studio 安装程序"创建的安装程序安装后,应用程序未打开
我已经使用 Visual Studio 2017 创建了安装文件.当我将它安装到我的系统中时,它已正确安装并正常工作.但是我试图在其他系统中安装而不是安装正确安装但是当用户尝试打开它时它没有打开.
I have created setup file using visual studio 2017. When I installed it in my system it was installed properly and worked properly. But I am trying to install in some other system than set up gets installed properly but when user tries to open it then it does not opened.
当我在事件查看器中检查它时出现以下错误.
When I checked it in event viewer it gives following error.
我在事件查看器(.Net 运行时)中遇到以下错误
I got following error in event viewer(.Net runtime)
应用程序:FaultyStatus.exe 框架版本:v4.0.30319 描述:进程因未处理的异常而终止.异常信息:System.Reflection.RuntimeAssembly._nLoad(System.Reflection.AssemblyName, System.String, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark ByRef, IntPtr, 处的 System.IO.FileNotFoundExceptionBoolean, Boolean, Boolean) at System.Reflection.RuntimeAssembly.nLoad(System.Reflection.AssemblyName, System.String, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark ByRef, IntPtr, Boolean,Boolean, Boolean) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(System.Reflection.AssemblyName, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark ByRef, IntPtr, Boolean, Boolean, Boolean) at System.Reflection.RuntimeAssembly.InternalLoad(System.String, System.Security.Policy.Evidence, System.Threading.StackCrawlMark ByRef, IntPtr, Boolean) 在 System.Reflection.RuntimeAssembly.InternalLoad(System.String, System.Security.Policy.Evidence,System.Threading.StackCrawlMark ByRef, Boolean) at System.Reflection.Assembly.Load(System.String) at DevExpress.Utils.AssemblyHelper.GetAssembly(System.String) at DevExpress.Xpf.Core.Theme.GetAssembly() at DevExpress.Xpf.Core.Theme.get_Assembly() 在 DevExpress.Xpf.Core.ThemedElementsDictionary.GetThemeAssembly(System.String) 在 DevExpress.Xpf.Core.ThemedElementsDictionary.ForceThemeKeysLoading(System.String) 在 DevExpress.Xpf.Core.ThemeManager.ChangeTheme(System.Windows.DependencyObject, System.String, Boolean, Boolean, System.String) 在 DevExpress.Xpf.Core.ThemeManager.ThemeNamePropertyChanged(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs) 在 System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs) 在 System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs) 在 System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs)) 在 System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, Boolean, System.Windows.OperationType) 在 System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty, System.Object, System.Windows.PropertyMetadata, Boolean, Boolean, System.Windows.OperationType, Boolean) 在 System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty, System.Object) 在 DevExpress.Xpf.Core.DXMessageBox.ShowCore(DevExpress.Xpf.Core.DXMessageBoxCreator, System.Windows.FrameworkElement, System.String, System.String, System.Windows.MessageBoxButton, System.Windows.MessageBoxImage, System.Windows.MessageBoxResult, System.Windows.MessageBoxOptions, DevExpress.Xpf.Core.FloatingMode, Boolean, Double) at DevExpress.Xpf.Core.DXMessageBox.Show(System.String) at FaultyStatus.MainWindow..ctor()异常信息: System.Windows.Markup.WpfXamlLoader.Load(System.Xaml.XamlReader, System.Xaml.IXamlObjectWriterFactory, Boolean, System.Object, System.Xaml.XamlObjectWriterSettings, System.Uri) 的 System.Windows.Markup.XamlParseException 在 System.Windows.Markup.WpfXamlLoader.LoadBaml(System.Xaml.XamlReader, Boolean, System.Object, System.Xaml.Permissions.XamlAccessLevel, System.Uri) 在 System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream, System.Windows.Markup.ParserContext, System.Object, Boolean) 在 System.Windows.Application.LoadBamlStreamWithSyncInfo(System.IO.Stream, System.Windows.Markup.ParserContext) 在 System.Windows.Application.LoadComponent(System.Uri, Boolean)) 在 System.Windows.Application.DoStartup() 在 System.Windows.Application.<.ctor>b__1_0(System.Object) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) 在 System.Windows.Threading.DispatcherOperation.InvokeImpl() 在 System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object) 在 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback,System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.委托,System.Object, Int32) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) 在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) 在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) 在 MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)) 在 System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame) 在 System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame) 在 System.Windows.Application.RunDispatcher(System.对象) 在 System.Windows.Application.RunInternal(System.Windows.Window) 在 System.Windows.Application.Run(System.Windows.Window) 在 System.Windows.Application.Run() 在 FaultyStatus.App.Main()
日志名称:应用程序来源:应用程序错误日期:2019 年 4 月 4 日上午 6:25:57事件 ID:1000任务类别:(100)级别:错误关键词:经典描述:错误应用程序名称:FaultyStatus.exe,版本:1.0.0.0,时间戳:0x5ca3b1ee错误模块名称:KERNELBASE.dll,版本:10.0.17134.556,时间戳:0xadca2670异常代码:0xe0434352故障偏移:0x001118a2错误进程 ID:0x1ea8错误的应用程序启动时间:0x01d4ea424abf8640错误的应用程序路径:C:\Program Files (x86)\Vesta\FaultyProduct\FaultyStatus.exe错误模块路径:C:\WINDOWS\System32\KERNELBASE.dll报告 ID:d303086d-4bbf-4497-9c98-a71963842a88错误包全名:错误的包相关应用程序 ID:事件 XML:100021000x8000000000000016288应用笔记本电脑-GIILLVJT故障状态.exe1.0.0.05ca3b1ee内核数据库文件10.0.17134.556adca2670e0434352001118a21ea801d4ea424abf8640C:\Program Files (x86)\Vesta\FaultyProduct\FaultyStatus.exeC:\WINDOWS\System32\KERNELBASE.dlld303086d-4bbf-4497-9c98-a71963842a88
Application: FaultyStatus.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.IO.FileNotFoundException at System.Reflection.RuntimeAssembly._nLoad(System.Reflection.AssemblyName, System.String, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark ByRef, IntPtr, Boolean, Boolean, Boolean) at System.Reflection.RuntimeAssembly.nLoad(System.Reflection.AssemblyName, System.String, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark ByRef, IntPtr, Boolean, Boolean, Boolean) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(System.Reflection.AssemblyName, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark ByRef, IntPtr, Boolean, Boolean, Boolean) at System.Reflection.RuntimeAssembly.InternalLoad(System.String, System.Security.Policy.Evidence, System.Threading.StackCrawlMark ByRef, IntPtr, Boolean) at System.Reflection.RuntimeAssembly.InternalLoad(System.String, System.Security.Policy.Evidence, System.Threading.StackCrawlMark ByRef, Boolean) at System.Reflection.Assembly.Load(System.String) at DevExpress.Utils.AssemblyHelper.GetAssembly(System.String) at DevExpress.Xpf.Core.Theme.GetAssembly() at DevExpress.Xpf.Core.Theme.get_Assembly() at DevExpress.Xpf.Core.ThemedElementsDictionary.GetThemeAssembly(System.String) at DevExpress.Xpf.Core.ThemedElementsDictionary.ForceThemeKeysLoading(System.String) at DevExpress.Xpf.Core.ThemeManager.ChangeTheme(System.Windows.DependencyObject, System.String, Boolean, Boolean, System.String) at DevExpress.Xpf.Core.ThemeManager.ThemeNamePropertyChanged(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs) at System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs) at System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs) at System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs) at System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, Boolean, System.Windows.OperationType) at System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty, System.Object, System.Windows.PropertyMetadata, Boolean, Boolean, System.Windows.OperationType, Boolean) at System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty, System.Object) at DevExpress.Xpf.Core.DXMessageBox.ShowCore(DevExpress.Xpf.Core.DXMessageBoxCreator, System.Windows.FrameworkElement, System.String, System.String, System.Windows.MessageBoxButton, System.Windows.MessageBoxImage, System.Windows.MessageBoxResult, System.Windows.MessageBoxOptions, DevExpress.Xpf.Core.FloatingMode, Boolean, Double) at DevExpress.Xpf.Core.DXMessageBox.Show(System.String) at FaultyStatus.MainWindow..ctor() Exception Info: System.Windows.Markup.XamlParseException at System.Windows.Markup.WpfXamlLoader.Load(System.Xaml.XamlReader, System.Xaml.IXamlObjectWriterFactory, Boolean, System.Object, System.Xaml.XamlObjectWriterSettings, System.Uri) at System.Windows.Markup.WpfXamlLoader.LoadBaml(System.Xaml.XamlReader, Boolean, System.Object, System.Xaml.Permissions.XamlAccessLevel, System.Uri) at System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream, System.Windows.Markup.ParserContext, System.Object, Boolean) at System.Windows.Application.LoadBamlStreamWithSyncInfo(System.IO.Stream, System.Windows.Markup.ParserContext) at System.Windows.Application.LoadComponent(System.Uri, Boolean) at System.Windows.Application.DoStartup() at System.Windows.Application.<.ctor>b__1_0(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef) at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame) at System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame) at System.Windows.Application.RunDispatcher(System.Object) at System.Windows.Application.RunInternal(System.Windows.Window) at System.Windows.Application.Run(System.Windows.Window) at System.Windows.Application.Run() at FaultyStatus.App.Main()
Log Name: Application
Source: Application Error
Date: 4/04/2019 6:25:57 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
Description:
Faulting application name: FaultyStatus.exe, version: 1.0.0.0, time stamp: 0x5ca3b1ee
Faulting module name: KERNELBASE.dll, version: 10.0.17134.556, time stamp: 0xadca2670
Exception code: 0xe0434352
Fault offset: 0x001118a2
Faulting process id: 0x1ea8
Faulting application start time: 0x01d4ea424abf8640
Faulting application path: C:\Program Files (x86)\Vesta\FaultyProduct\FaultyStatus.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: d303086d-4bbf-4497-9c98-a71963842a88
Faulting package full name:
Faulting package-relative application ID:
Event Xml:
1000
2
100
0x80000000000000
16288
Application
LAPTOP-GIILLVJT
FaultyStatus.exe
1.0.0.0
5ca3b1ee
KERNELBASE.dll
10.0.17134.556
adca2670
e0434352
001118a2
1ea8
01d4ea424abf8640
C:\Program Files (x86)\Vesta\FaultyProduct\FaultyStatus.exe
C:\WINDOWS\System32\KERNELBASE.dll
d303086d-4bbf-4497-9c98-a71963842a88
我通过查看扩展名为 .Net Runtime 的事件查看器日志文件中的错误日志解决了问题.问题是缺少一些 dev express 支持文件.需要使用 devexpress 部署工具部署所有 Dls.
I resolved issue by looking the error log in Event viewer log file with the extension .Net Runtime. issue was some of the dev express supporitng file were missing. Need to deploy all Dls using devexpress deploy tool.