ClickOnce is not working in Internet Explorer 9

馋奶兔 提交于 2019-12-12 20:23:50

问题


My ClickOnce deployment used to work perfectly, but it stopped working in Internet Explorer 9. It only displays the Desktop.application XML file. It still works in Google Chrome, etc.

How can this problem be fixed?


回答1:


Well, usually it works fine. However, depending on settings and the environment you can have such an issue.

  • It may be wrong or missing MIME types on the server. See for example ClickOnce on Apache.
  • Specific Internet Explorer settings (for example, show content based on content), so try to reset all to default
  • Corrupted/missing .NET framework 2.0

Also, please see these posts:

  • Troubleshooting Specific Errors in ClickOnce Deployments (MSDN)
  • Problems with ClickOnce deployment and IE9 (MSDN)
  • ClickOnce is displaying the '.application' file as XML (Stack Overflow)



回答2:


Does it use a .NET control? This solved my issue:

http://social.msdn.microsoft.com/Forums/en-US/a6c7eb28-28b3-4e07-aa11-40145a997271/object-tag-loading-a-net-control-works-in-ie8-red-x-in-ie9?forum=ieextensiondevelopment



来源:https://stackoverflow.com/questions/12163411/clickonce-is-not-working-in-internet-explorer-9

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!