用户不能安装点击一次申请 [英] User cannot Install Click once application

查看:368
本文介绍了用户不能安装点击一次申请的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有我选择了通过单击一次部署到我们的支持人员相对简单的应用程序的支持。

我认为它仍然是所谓的点击-一次。我使用VS2008中发布该项目的属性选项卡。

一些用户已经成功地通过点击链接,下载并运行应用程序。

一个特定的用户则不能。

他安装了.NET 3.5 SP1确实达到发布页面,在这里,他是提供给安装的选项。当点击这一点,他招呼以一个错误信息

该错误消息包含以下的短语

  • 在无法启动应用程序
  • 在应用程序下载没有成功
  • 检查您的网络连接或与系统管理员联系网络服务提供商
  • 在无连接可以作出,因为目标机器积极地拒绝它

我很想知道可能会导致此...

我不明白为什么我已经发布到服务器,将不同的方式处理这个用户。

任何想法?

解决方案

问问你的用户点击详细信息...按钮,发送给您的全部内容在一封电子邮件。在错误摘要部分,你可能会看到类似以下内容:

案例1:检测到下列失败消息:

  1. 下载APPLICATION_FILE_URL没有成功。
  2. 在远程服务器返回错误:(407)代理身份验证

用户应该已收到提示用代理服务器身份验证对话框,但如果他们没有看到它,然后你的代理服务器返回非标准答复。基本上,你需要承担起来你的代理服务器的供应商,以解决他们的破软件,但你也许可以得到解决的问题,用户可以通过让他们修改他们的工作站的machine.config文件,包括以下内容:

<结构>     < system.net>         <设置>             < HttpWebRequest的useUnsafeHeaderParsing =真/>         < /设置>     < /system.web> < /结构>

案例2:检测到下列失败消息:

  1. 下载APPLICATION_FILE_URL没有成功。
  2. 在远程服务器返回错误:(403)禁止

这通常意味着原始服务器( Web服务器托管的应用程序的)积极拒绝用户访问。 这是由于无论是:

  1. IP地址限制 - 如果它是一个企业内部的Web服务器,这是可能的。如果你有一个IP地址限制的网站,找出你的用户的IP(假设它是静态的),并把它添加到访问列表。

  2. 文件系统权限 - 另一种常见的一个在企业内部的服务器。找出(组/)用户名用户进行身份验证到你的服务器,并确保。应用文件和目录的所有内容(包括目录本身)对他的帐户正确的权限。

希望这有助于!

I have a relatively simple support application which I have chosen to deploy to our support staff via click once.

I assume it's still called Click-Once. I'm using the publish tab of the project's properties in VS2008.

Several users have managed to click through to the url, download and run the application.

One specific user cannot.

He has .Net 3.5 SP1 installed and indeed reaches the publish page where he is offered the option to install. upon clicking this he is greeted with an error message

The error message contains the following phrases

  • Cannot start Application
  • Application download did not succeed
  • check your network connection or contact your system administrator Network service Provider
  • No connection could be made because the target machine actively refused it

I would love to know what might be causing this...

I cannot understand why the server I have published to, would treat this user differently.

Any ideas?

解决方案

Ask your user to click on the Details... button and send you the full contents in an e-mail. In the ERROR SUMMARY section you'll probably see something like the following:

CASE 1: Following failure messages were detected:

  1. Downloading APPLICATION_FILE_URL did not succeed.
  2. The remote server returned an error: (407) Proxy Authentication Required.

The user should have been getting prompted with a Proxy Authentication Required dialog, but if they didn't see it then your proxy server is returning NON-STANDARD responses. Basically you need to bore it up your proxy server's vendor to fix their broken software, but you might be able to get the user around the problem by having them edit their workstation's MACHINE.CONFIG file to include the following:

<configuration>
    <system.net>
        <settings>
            <httpWebRequest useUnsafeHeaderParsing="true" />
        </settings>
    </system.web>
</configuration>

CASE 2: Following failure messages were detected:

  1. Downloading APPLICATION_FILE_URL did not succeed.
  2. The remote server returned an error: (403) Forbidden.

This usually means that the origin server (your web server hosting the application) is actively refusing your user access. This is due to either:

  1. IP ADDRESS RESTRICTIONS - if it's an internal corporate web server this is likely. If you have an IP Address-restricted web site find out your user's IP (assuming it's static) and add it to the access list.

  2. FILE SYSTEM PERMISSIONS - another common one on internal corporate servers. Find out what (group/)username your user is authenticating to your server with and ensure that the .application file and all contents of that directory (including the directory itself) have correct permissions for his account.

Hope this helps!

这篇关于用户不能安装点击一次申请的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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