跨域PC进行应用程序部署 [英] App deployment across Domain PCs

查看:70
本文介绍了跨域PC进行应用程序部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我最近刚刚构建了一个调查应用程序,应该由我们的SYSADMIN人员部署该应用程序,以反映该域中的所有用户.我已经设法部署了它,并且它一直显示在某些用户的个人资料中,而不是全部显示.
当前的一些问题是:

1. SQLClient安全权限错误
2. dotNet框架不兼容
3.一些用户仍然看不到调查

该应用程序应该在用户登录期间运行,因为调用它的脚本已附加到每个用户的个人资料中.

该应用程序是使用VS 2005(.NET Framework 2.0)构建的.

任何帮助将不胜感激.

感谢

hi guys,
i just recently built a survey application that is supposed to be deployed by our SYSADMIN guys to reflect on all users in the domain. i have managed to deploy it and it keeps showing on some user''s profile and not all.
some of the present issues are:

1. SQLClient security permission error
2. dotNet framework incompatibility
3. some users still dont see the survey

the app is supposed to run during user logon as the script that calls it is attached to every user''s profile.

the application was built with VS 2005 (.NET framework 2.0)

any help will be glad appreciated.

thanks

推荐答案

.NET Framework 2.0必须安装在每台用户计算机上.显然不是这样.

如果从网络共享中运行.EXE,则默认情况下,由于不信任可执行代码的非本地位置,因此.NET CLR会在高度受限的沙箱中运行该应用程序.可以通过多种方式解决此问题,但这取决于配置信任.通常,这是通过告诉CLR信任使用特定证书签名的所有代码或(不是很安全)信任从特定网络位置运行的任何代码来完成的.

尝试运行SQL连接和查询代码时,信任问题将引发权限异常.
The .NET Framework 2.0 has to be installed on every users machine. Apparently, this is not the case.

If the .EXE is being run from a network share, the .NET CLR to run the app in a highly restricted sandbox since non-local locations for executable code is not trusted, by default. This can be fixed in a variety of ways, but it comes down to configuring trusts. Usually, this is done by telling the CLR to trust all code signed with a certain certificate or (not so securely) trust any code running from a certain network location.

The trust issue will throw the permissions exception when trying to run SQL connection and query code.


这篇关于跨域PC进行应用程序部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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