我们已经在虚拟服务器上安装了一个bran新的windows 7 pro,并安装了Microsoft office。然后我们安装了我们的小应用程序。我在我们制造的第二个VM中,仍然有相同的问题出现。在运行应用程序时,我们得到:
Application: ------.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Windows.Markup.XamlParseException
Stack:
at System.Windows.Markup.XamlReader.RewrapException(System.Exception, System.Xaml.IXamlLineInfo, System.Uri)
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()但这个错误不会发生在8个用户中的2个。这不是代码问题,因为应用程序在1台计算机上,每个人都连接到远程桌面来运行应用程序。一次只能有一个远程会话。远程会话用户是域用户,他们是计算机上本地管理员组的一部分。因此,我们想知道哪个右程序可能阻塞了XAML加载程序?
我要补充的是,该文件没有在网络上运行,它完全是本地的,如c:\program files (x86)\mysoftware\software.exe。也不是网络重定向驱动器。
发布于 2014-09-19 10:54:42
问题是域名权利。其他用户作为其他两个帐户属于不同的组。政策改变了,现在一切都好了。
https://stackoverflow.com/questions/25914751
复制相似问题