.net XBAP - 此应用程序类型已被禁用

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5877586/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-03 15:31:47  来源:igfitidea点击:

XBAP - This application type has been disabled

.netwpfinternet-explorer-9xbap

提问by Drew Noakes

I have an XBAP on my website that used to work. I checked it today for the first time in ages and found it's not working on Win7 x64 / IE9.

我的网站上有一个以前可以使用的 XBAP。我今天第一次检查它,发现它不适用于 Win7 x64 / IE9。

http://drewnoakes.com/code/wpf/flags/demo/demo.xbap

http://drewnoakes.com/code/wpf/flags/demo/demo.xbap

The error message I see is:

我看到的错误消息是:

Startup URI: http://drewnoakes.com/code/wpf/flags/demo/demo.xbapApplication Identity: http://drewnoakes.com/code/wpf/flags/demo/demo.xbap#demo.xbap, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6d8e235cc7c0267c, processorArchitecture=msil/demo.exe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6d8e235cc7c0267c, processorArchitecture=msil, type=win32

This application type has been disabled.

启动 URI:http: //drewnoakes.com/code/wpf/flags/demo/demo.xbap应用程序标识:http: //drewnoakes.com/code/wpf/flags/demo/demo.xbap#demo.xbap,版本=1.0.0.0,Culture=neutral,PublicKeyToken=6d8e235cc7c0267c,processorArchitecture=msil/demo.exe,Version=1.0.0.0,Culture=neutral,PublicKeyToken=6d8e235cc7c0267c,processorArchitecture=msil,type=win

此应用程序类型已被禁用。

Can anyone explain what this means or provide information about how I might debug this further?

谁能解释这意味着什么或提供有关我如何进一步调试的信息?

采纳答案by Rick Sladkey

Here is an explanation:

这是一个解释:

Apparently you can undo the change IE9 made to URLACTION_WINDOWS_BROWSER_APPLICATIONSor you could change the zone for your site.

显然,您可以撤消 IE9 所做的更改,URLACTION_WINDOWS_BROWSER_APPLICATIONS或者您可以更改站点的区域。

回答by Ian Boyd

Or you can enable XBAP applications in IE9.

或者您可以在 IE9 中启用 XBAP 应用程序。

Security -> .NET Framework -> XAML browser applications

安全 -> .NET Framework -> XAML 浏览器应用程序

  • Disable
  • Enable
  • Prompt
  • 禁用
  • 使能够
  • 迅速的

enter image description here

在此处输入图片说明

回答by Thomas

Or you can add derewnoakes.com to the Trusted sites.

或者您可以将 derewnoakes.com 添加到可信站点

How to add to the trusted sites?

如何添加到受信任的站点?