域安全级别和InfoPath 2007中的Xpath [英] Domain security level & Xpath in infopath 2007

查看:99
本文介绍了域安全级别和InfoPath 2007中的Xpath的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我发布了一个带有信息路径2007的表单.我放置了一个安全级别>>.域,当我使用此代码并运行它时:

Hi all ,
I publish a form with info path 2007. I put a security level >> domain when i use this code and run it:

Dim mainDomNavigator As XPathNavigator = Me.MainDataSource.CreateNavigator()
Dim userNavigator As XPathNavigator = mainDomNavigator.SelectSingleNode("/my:myFields/my:field1", Me.NamespaceManager)
userNavigator.SetValue("My Test")



它抛出一个SecurityException ,其内容为检查以确保您已满足所有必要的安全要求"和使用证书以获得所需的许可"和如果实现自定义安全对象的程序集引用了其他程序集,则添加引用程序集进入完整的信任程序集列表"

当我使用Xpath时出现异常.
谁能帮我? :rose:



It throws a SecurityException that say "check to make sure you have fulfilled all necessary security requirements" and "Use a certificate to obtain the required permission" and "if an assembly implementing the custom security object reference other assemblies, add the reference assemblies to the full trust assembly list"

The exception appear when i use Xpath.
Can any one help me? :rose:

推荐答案

看看这篇文章:
在WinForms应用程序中托管InfoPath 2007 [
Have a look at this article:
Hosting InfoPath 2007 in a WinForms Application[^]


i see the link 



its not helpful



can any one help me ,


这篇关于域安全级别和InfoPath 2007中的Xpath的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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