ClickOnce部署 - 从.appref-ms运行时未经授权的访问,但如果从.exe运行则不会 [英] ClickOnce Deployment - Unauthorized Access if run from .appref-ms, but not if run from .exe

查看:179
本文介绍了ClickOnce部署 - 从.appref-ms运行时未经授权的访问,但如果从.exe运行则不会的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个由ClickOnce部署的应用程序,它在过去已成功运行。但是,客户端已升级所有计算机(从PC到瘦客户端以及所有新服务器)

I've got an app that gets deployed by ClickOnce, and it has worked successfully in the past. However, the client has upgraded all machines (from PC's to thin Clients and all new servers as well)

该应用程序部署在其网络上的其中一台服务器上(为了便于访问)然后安装在瘦客户机的所有虚拟机上。安装工作正常,所有文件都被复制并放在C:\users \ [用户名] \ AppData \ 2.0等,
下,快捷方式在开始菜单和桌面上创建通常。但是,在运行应用程序时,它会抛出"已停止工作"状态。错误信息输出。

The app is deployed on one of the servers on their network (for ease of access) and then installed on all the virtual machines for the thin clients. The installation works fine, all the files gets copied and put under C:\users\[username]\AppData\2.0 etc, and the shortcuts gets created in the start menu and on the desktop as per usual. However, when running the application it throws the "Stopped Working" error message out.

如果我从安装位置运行应用程序,它运行正常,没有任何麻烦。但不是来自.appref-ms文件(检查更新)

If I run the application from the install location, it works fine, no hassles whatsoever. But not from the .appref-ms file (which checks for updates)

任何帮助都将不胜感激。

Any help would be appreciated.

推荐答案

用户是否可以访问托管更新的服务器?他们是否拥有一般权限,或者台式机是否比平时更受限制?几乎听起来他们无法访问ClickOnce引擎。

Do the users have access to the server where the updates are hosted? Do they have general privileges, or are the desktops being clamped down more than usual? It almost sounds like they don't have access to the ClickOnce engine.

RobinDotNet

RobinDotNet


这篇关于ClickOnce部署 - 从.appref-ms运行时未经授权的访问,但如果从.exe运行则不会的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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