导航
WASP Helpdesk.
  • 注册

  • 或者
  • 登录
    需要密码提醒?
或者
联系我们
  • 保持联系

    给我们发邮件

  • 开始聊天会话

  • 知识库阅读帮助文章
  • 消息新闻和更新
  • 联系我们我们在这里提供帮助
  • 培训查看我们的选择
  • 门户网站
  • 知识库
  • 软件
  • 贴标者
  • Version 7
  • 标签员v7在启动时崩溃,带有记录错误而提到了XAML和/或BAML
订阅 下载

标签员v7在启动时崩溃,带有记录错误而提到了XAML和/或BAML

斯科特·克瑞尔
2017-04-10
在Version 7

症状

在启动Labeler v7之后,程序立即崩溃并出现一个Unhandled Error。检查日志文件和Windows应用程序事件日志显示错误包含术语“Xaml”和/或“Baml”。

错误集1,可以在C:\Program Files\Wasp Technologies\Wasp Labeler V7\Wasp.log中找到(见下面的完整错误列表):
2016-01-19 13:41:05.423 1错误|匹配指定绑定约束的“WASP.WPF.UI.MAINWINDOW”匹配的构造函数的调用抛出异常。
2016-01-19 13:41:05. 441 1错误| PresentationFramework
2016-01-19 13:41:05.473 1 ERROR | at System.Windows.Markup.WpfXamlLoader。加载(XamlReader XamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)

错误设置2,在不同的PC上,从Musual WaspleAlerv7.log文件中:
2015-11-13 15:17:58.185 1 ERROR | Provide value on 'System.Windows.Baml2006. aspx . aspx . aspx . aspx . aspx . aspx . aspx . aspx。TypeConverterMarkupExtension'抛出一个异常。
Windows应用程序事件日志记录如下:
应用范围:WaspLabelerV7.exe
框架版本:v4.0.30319
说明:由于一个未处理的异常,进程被终止。
例外信息:system.windows.markup.xamlparseexception

导致

Labeler使用的Microsoft . net组件已经损坏。

解析度

删除.NET组件,重新启动PC,然后重新安装组件。
  1. 在Windows控制面板的“程序和功能”中,单击“打开或关闭Windows功能”,展开“Microsoft . net Framework 3.5.1”和“Microsoft . net Framework 4.5”(如果存在)。请稍后注意在这些组件中选中了哪些框,然后取消选中它们。单击OK并完成该过程。提示不重启PC。

  2. 在程序和功能列表中,如果有Microsoft . net Framework 4的列表。X(4的任何版本),右键单击并卸载它。

  3. 重新启动电脑。

  4. 当PC启动时,如果你收到任何错误,说明。net 4。X缺失了,可以安全地忽略它。

  5. 在Windows控制面板程序和功能中,单击或关闭Windows功能,展开并重新检查Microsoft .NET Framework 3.5.1和Microsoft .NET Framework 4.5(如果存在)上方的框。单击确定,让进程完成。

  6. 从Microsoft下载.NET v4.5.2安装程序并安装它:
    http://www.microsoft.com/en-us/download/details.aspx?id=42642
  7. 贴标程序现在应该在没有崩溃的情况下运行。

来自Wasp.log的完整错误集:
2016-01-19 13:41:05.413 1错误|---------------------------- Unhandled的异常信息-----------------------------
2016-01-19 13:41:05.423 1 ERROR | ------Exception Message------- .日志含义
2016-01-19 13:41:05.423 1错误|匹配指定绑定约束的“WASP.WPF.UI.MAINWINDOW”匹配的构造函数的调用抛出异常。
2016-01-19 13:41:05.433 1错误 | ------------------------------
2016-01-19 13:41:05.433 1错误 | ------------ 源 ------------
2016-01-19 13:41:05. 441 1错误| PresentationFramework
2016-01-19 13:41:05.453 1错误 | ------------------------------
2016-01-19 13:41:05.463 1错误 | ------- 堆栈跟踪 -----------
2016-01-19 13:41:05.473 1 ERROR | at System.Windows.Markup.WpfXamlLoader。加载(XamlReader XamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
在System.Windows.Markup.WpfXamlLoader |。LoadBaml(XamlReader XamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
在System.Windows.Markup.XamlReader |。LoadBaml(Stream Stream, ParserContext ParserContext, Object parent, Boolean closeStream)
在System.Windows.Application |。LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
在System.Windows.Application |。LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
在System.Windows.Application |。DoStartup()
|在System.Windows.Application。<。男星> b__1(对象未使用)
在System.Windows.Threading.ExceptionWrapper |。内部的realcall(委托回调,对象参数,Int32 numArgs)
|在Ms.Internal.Treading.ExceptionFilterHelper.TryCatchwhen(对象源,委托方法,对象args,Int32 Numargs,委托Caplandler))
2016-01-19 13:41:05.473 1错误 | ------------------------------
2016-01-19 13:41:08.084 1错误 | ------------------------------ 未处理的异常信息 ------------------------------
2016-01-19 13:41:08.104 1 ERROR | ------Exception Message------- .日志含义
2016-01-19 13:41:08.104 1错误|匹配指定绑定约束的“WASP.WPF.UI.MAINWINDOW”匹配的构造函数的调用抛出异常。
2016-01-19 13:41:08.114 1错误 | ------------------------------
2016-01-19 13:41:08.114 1错误 | ------------ 源 ------------
2016-01-19 13:41:08.124 1 ERROR | PresentationFramework
2016-01-19 13:41:08.124 1错误 | ------------------------------
2016-01-19 13:41:08.134 1错误 | ------- 堆栈跟踪 -----------
2016-01-19 13:41:08.134 1 ERROR | at System.Windows.Markup.WpfXamlLoader。加载(XamlReader XamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
在System.Windows.Markup.WpfXamlLoader |。LoadBaml(XamlReader XamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
在System.Windows.Markup.XamlReader |。LoadBaml(Stream Stream, ParserContext ParserContext, Object parent, Boolean closeStream)
在System.Windows.Application |。LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
在System.Windows.Application |。LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
在System.Windows.Application |。DoStartup()
|在System.Windows.Application。<。男星> b__1(对象未使用)
在System.Windows.Threading.ExceptionWrapper |。内部的realcall(委托回调,对象参数,Int32 numArgs)
|在Ms.Internal.Treading.ExceptionFilterHelper.TryCatchwhen(对象源,委托方法,对象args,Int32 Numargs,委托Caplandler))
在System.Windows.Threading.DispatcherOperation |。InvokeImpl()
在System.Windows.Threading.DispatcherOperation |。InvokeInSecurityContext(对象状态)
在System.Threading.ExecutionContext |。RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在System.Threading.ExecutionContext |。运行(ExecutionContext ExecutionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在System.Threading.ExecutionContext |。运行(ExecutionContext ExecutionContext, ContextCallback回调,对象状态)
|在System.Windows.Threading.DispatcherOperation.Invoke ()
|在System.Windows.Threading.Dispatcher.ProcessQueue ()
在System.Windows.Threading.Dispatcher |。WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在MS.Win32.HwndWrapper |。WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&处理)
在MS.Win32.HwndSubclass |。DispatcherCallbackOperation(Object o)
在System.Windows.Threading.ExceptionWrapper |。内部的realcall(委托回调,对象参数,Int32 numArgs)
|在Ms.Internal.Treading.ExceptionFilterHelper.TryCatchwhen(对象源,委托方法,对象args,Int32 Numargs,委托Caplandler))
在System.Windows.Threading.Dispatcher |。LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
在MS.Win32.HwndSubclass |。SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
|在Ms.Win32.UnsafenativeMethods.dispatchMessage(MSG&MSG)
在System.Windows.Threading.Dispatcher |。PushFrameImpl (DispatcherFrame框架)
在System.Windows.Threading.Dispatcher |。PushFrame(DispatcherFrame frame)
|在System.Windows.Threading.Dispatcher.Run ()
在System.Windows.Application |。RunDispatcher(Object ignore)
在System.Windows.Application |。RunInternal窗口(窗口)
在System.Windows.Application |。运行窗口(窗口)
|在WASP.WPF.UI.App.Main ()

给这一页的质量打分

这个页面很有帮助:) :(这个页面没有帮助

0 / 1的人认为这个页面有用

相关页面

  • Labeler v7在发布时崩溃

快速跳转
  • WASP Helpdesk.
  • 知识库
  • 消息
  • 联系我们
前
提供帮助显示软件Deskpro