繁体   English   中英

使用“ Visual Studio安装程序”创建的安装程序安装后,应用程序未打开

[英]Application is not getting opened after installing it with the installer created by “Visual studio installer”

我已使用Visual Studio 2017创建了安装文件。将其安装到系统中后,它已正确安装且可以正常工作。 但是我试图在其他系统上安装,而不是正确安装了安装程序,但是当用户尝试打开它时,它没有打开。

当我在事件查看器中检查它时,它给出以下错误。

我在事件查看器中发现以下错误(.Net运行时)

应用程序: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.Reflection.RuntimeAssembly.nLoad(System.Reflection.AssemblyName,System.String,System.Security.Policy.Evidence,System.Reflection.RuntimeAssembly,System.Threading.StackCrawlMark ByRef,IntPtr,Boolean,布尔值,布尔值)在System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(System.Reflection.AssemblyName,System.Security.Policy.Evidence,System.Reflection.RuntimeAssembly,System.Threading.StackCrawlMark ByRef,IntPtr,Boolean,Boolean,Boolean) .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 , DevExpress的SystemExpress.Utils.AssemblyHelper.GetAssembly(System.String)的DevExpress.Xpf.Core.Theme.GetAssembly()的System.Reflection.Assembly.Load(System.String)的System.Threading.StackCrawlMark ByRef,Boolean) DevExpress.Xpf.Core.ThemedElementsDictionary.GetThemeAssembly(System.String)的Xpf.Core.Theme.get_Assembly()在DevExpress.Xpf.Core.ThemeManager.ChangeTheme(DevExpress.Xpf.Core.ThemedElementsDictionary.ForceThemeKeysLoading(System.String) DevExpress.Xpf.Core.ThemeManager.ThemeNamePropertyChanged(System.Windows.DependencyObject,System.Windows.DependencyPropertyChangedEventArgs)处的System.Windows.DependencyObject,System.String,Boolean,Boolean,System.String)(System.Windows.DependencyObject.OnPropertyChanged( 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,布尔值,布尔值,System.Windows.OperationType ),位于System.Windows.DependencyObject.SetValue(System.Windows)处的System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty,System.Object,System.Windows.PropertyMetadata,布尔值,布尔值,System.Windows.OperationType,布尔值) DevExpress.Xpf.Core.DXMessageBox.ShowCore(DevExpress.Xpf.Core.DXMessageBoxCreator,System.Windows.FrameworkElement,System.String,System.String,System.Windows.MessageBoxButton,System.Windows上的.DependencyProperty,System.Object)。 MessageBoxImage,System.Windows.MessageBoxResult,System.Windows.MessageBoxOptions,DevExpress.Xpf.Core.FloatingMode,布尔值和Double)在DevExpress.Xpf.Core.DXMessageBox.Show(System.String)在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.XamlReader.LoadBaml(System.IO.Stream,System上的Windows.Markup.WpfXamlLoader.LoadBaml(System.Xaml.XamlReader,Boolean,System.Object,System.Xaml.Permissions.XamlAccessLevel,System.Uri) System.Windows.Application.LoadBamlStreamWithSyncInfo(System.IO.Stream,System.Windows.Markup.ParserContext)的.Windows.Markup.ParserContext,System.Object,布尔)System.Windows.Application.LoadComponent(System.Uri,布尔) )在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.Delega te)在System.Windows.Threading.DispatcherOperation.InvokeImpl()在System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)在System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext,System.Threading.ContextCallback, System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,Boolean)处的System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System。 System.Windows.Threading.DispatcherOperation.Invoke()-System.Windows.Threading.Dispatcher.WndProcHook(IntPtr,Int32,IntPtr,IntPtr)上的System.Windows.Threading.DispatcherOperation.Invoke() ,MS.Win32.HwndWrapper.WndProc(IntPtr,Int32,IntPtr,IntPtr,布尔ByRef)处的MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)处System.Windows.Threading.ExceptionWrapper.InternalRealCall(System。委托System.Object System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object,System.Delegate,System.Object,Int32,System.Delegate)处的System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, MS.Win32的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.Application.RunDispatcher(System.Object)上的System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)上的System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)在System.Windows.Application.RunInternal(System.Windows.Window)在System.Windows.Application.Run(System.Windows.Window)在System.Windows.Application.Run()在FaultyStatus.App.Main()
日志名称:应用程序源:应用程序错误日期:4/04/2019 6:25:57 AM事件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:1000 2 100 0x80000000000000 16288应用程序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 \\。 \\ WINDOWS \\ System32 \\ KERNELBASE.dl l d303086d-4bbf-4497-9c98-a71963842a88

更新 :只是一些指针:


经常出现的非常常见的查询。 通常缺少的运行时或你有你的配置文件或注册表设置错误的配置设置的某个地方。 这是有关类似问题的最新评论

请先检查上述问题 ,然后再查看下面的清单(链接的和一些内联的关键字)。 首先验证非常基本的运行时需求,例如.NET runtimeVisual C++ RuntimesJava runtime requirements以及类似,简单和基本的运行时。

只是为了从上面的链接评论中总结出要点:

关键字 :缺少依赖项/运行时? (Java,.NET等)。 配置错误? (指向UAT服务器等)。 编码? 许可? 司机? ness? 权限? 特权? 注册表注册? 认证/授权? 锁定? (安全软件等)


一些链接

我通过在事件查看器日志文件中查找扩展名为.Net Runtime的错误日志来解决了该问题。 问题是缺少一些开发者快速支持文件。 需要使用devexpress部署工具来部署所有Dls。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM