标准用户分析器-如何解释? [英] Standard User Analyzer - how to interpret?

查看:67
本文介绍了标准用户分析器-如何解释?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

晚上好, 

我 我正在使用WPF开发的应用程序中的标准用户分析器(SUA)(应用程序验证程序)进行测试,并且在将与软件开发生成的日志相关联时遇到困难. um dos erros gerados pelo标准用户分析器:"style =" background-color:#ffffff>下面 我将说明标准用户分析器产生的错误之一:

停止代码:0x331B-错误-访问仅限于受信任的用户.

仅在打开和关闭应用程序时出现此错误,请执行以下步骤:
-OnStartup事件,检查可执行文件所在的文件夹中是否存在文件 是我在跑步吗?
-在此测试中,未找到此文件; 
-然后连接到嵌入式的Firebird 2.1数据库(fbembed.ddl,也位于app文件夹中); 
-我正在使用ADO.Net驱动程序FirebirdSql.Data.FirebirdClient.dll;
-通过FbCommand/FbDataReader执行SELECT,返回设置应用程序; 
-具有设置的类归因于当前应用的属性(Current.Properties); 
-最终创建的一个窗口是main; 
-实例化主窗口我启用了一个计时器(DispatcherTimer),用于检查 常规备份的执行时间;
-我正在系统托盘中创建一个NotifyIcon(System.Windows.Forms.NotifyIcon); 
-在主窗口中有一个指向首页的框架; 
-在此页面上加载了运行数据库(ADO.Net)中的一些其他查询并带有日历 组件

在任何时候都无法实现对Windows注册表的访问以搜索信息或设置. 如何 可以解决此问题,然后不访问Windows注册表吗?

仅打开和关闭应用程序,我遇到了25个错误. 关注以下内容 我描述的脚本,我什么时候都不会创建任何文件,但是SUA会向我返回另一条消息:

CreateFileMappingW:全局\ CodePage932_3_2_0_0_EUCJP"部分位于受限制的名称空间(全局\)中.
停止代码:0x3306-错误-在受限的命名空间中打开/创建了对象.

有没有人遇到过这种情况并可以提供任何提示? 

谢谢,

Rodrigo

Good evening, 

I am running tests with the Standard User Analyzer (SUA) (Application Verifier) ​​in an application developed in WPF, and difficulties encountered in relating the logs generated with software development. Below I will illustrate one of the errors generated by the Standard User Analyzer: 

RegOpenKeyExW: Key (\ REGISTRY \ MACHINE \ SOFTWARE \ Wow6432Node \ Microsoft \ Windows \ CurrentVersion \ Internet Settings \ ZoneMap) only grants requested 'KEY_SET_VALUE' to 'BUILTIN \ Administrators, NT AUTHORITY \ SYSTEM' 
StopCode: 0x331B - Error - Access was restricted to trusted users only. 

This error has been raised only to open and close the application, the steps are performed: 
- OnStartup the event, check whether a file exists in the folder where the executable is that I'm running; 
- In the case of this test, this file was not found; 
- Then do a connection to a database Firebird 2.1 embedded (fbembed.ddl, also in the app folder); 
- I am using the ADO.Net driver FirebirdSql.Data.FirebirdClient.dll; 
- Execute a SELECT through FbCommand / FbDataReader that returns me the settings app; 
- The class with the settings is attributed to the properties of the current app (Current.Properties); 
- Finally created a Window is main; 
- Instantiating main Window I enable a timer (DispatcherTimer) that checks the time of execution of the routine backup; 
- I am creating a NotifyIcon in the system tray (System.Windows.Forms.NotifyIcon); 
- In the main window have a frame that points to a home page; 
- On this page loaded run some more queries in the database (ADO.Net) and carry a calendar component 

At no time realize access to the Windows Registry to search for information or settings. How can I solve this problem then do not access the Windows registry? 

Only open and close the application I got 25 errors. If you run all operations of the application I get the tag of nearly 100 errors, and all in the same direction. Following the script that I described, at no time do I create any file, but SUA returns me another message: 

CreateFileMappingW: Section 'Global \ CodePage932_3_2_0_0_EUCJP' is in restricted namespace (Global \). 
StopCode: 0x3306 - Error - Object opened / created in a restricted namespace. 

Has anyone experienced this and can provide any tips? 

Thanks, 

Rodrigo

推荐答案

嗨罗德里戈,

根据他的MSDN文档: http://msdn.microsoft.com/es-es/library/ms220948(VS.90).aspx

According to his MSDN document: http://msdn.microsoft.com/es-es/library/ms220948(VS.90).aspx

用户要求
如果您正在运行Windows XP或Windows Server 2003,则需要成为管理员才能运行Application Verifier.否则,您将收到以下错误:

User Requirements
If you are running Windows XP or Windows Server 2003 you will need to be an administrator to run Application Verifier. Otherwise, you will receive the following error:

访问被拒绝.您需要管理凭据才能在映像< App_Name.exe>上使用应用程序验证程序.在机器< Machine_Name>上.请与系统管理员联系以获得帮助

如果在标准用户访问"下运行Windows Vista,则会收到以下错误消息:

访问被拒绝.您需要管理凭据才能在映像< App_Name.exe>上使用应用程序验证程序.在机器< Machine_Name>上或按用户验证程序设置应由管理员启用.请参阅文档以了解更多信息 信息.

Access denied. You need administrative credentials to use Application Verifier on image <App_Name.exe> on machine <Machine_Name> or per user verifier settings should be enabled by the administrator. Please refer to documentation for more information.

管理员:每个用户验证程序设置允许标准用户在Windows Vista上使用应用程序验证程序.若要启用每个用户验证程序设置,管理员将必须创建HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Session Manger \ ImageExecutionOptions 注册表中的REG_DWORD值并将其设置为0x1.进行更改后,您将需要重新引导计算机,并要求标准用户再次尝试访问Application Verifier.

Administrator: Per user verifier settings allow standard users to use Application Verifier on Windows Vista. To enable per user verifier settings, administrators will have to create the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manger\ImageExecutionOptions REG_DWORD value in the registry and set it to 0x1. Once the change is made, you will need to reboot the machine and ask the standard user to try accessing Application Verifier again.

请通过管理员帐户测试您的应用程序(在Vista或Windows 7中,请以管理员身份运行).

Please test your applicationi by the administrator account (in Vista or Windows 7, please run it as Administrator).

顺便问一下,您使用什么操作系统版本? http://social.msdn.microsoft.com/Forums/zh-CN/windowscompatibility/thread/75578ba8-fb90-40b9-abbf-b801aa8b6c34 可以为您提供帮助.

By the way, what is the OS version do you use? http://social.msdn.microsoft.com/Forums/en/windowscompatibility/thread/75578ba8-fb90-40b9-abbf-b801aa8b6c34 may help you.

此致


这篇关于标准用户分析器-如何解释?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆