Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XBAP - This application type has been disabled

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.

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.xbap Application 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.

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

like image 404
Drew Noakes Avatar asked May 04 '11 01:05

Drew Noakes


People also ask

How do I enable XBAP?

Answers. In Internet Explorer go to Tools -> Internet Options -> Security (tab) -> Custom Level -> XAML Browser Applications - choose your option. Microsoft recommends moving to ClickOnce executables as an alterternative means of distributing your Xaml browser application.

What is .NET XBAP?

XBAP stands for XAML Browser Application. XBAP allows for WPF applications to be used inside a browser. The . NET framework is required to be installed on the client system. Hosted applications run in a partial trust sandbox environment.

What is WPF browser application?

WPF is Windows Presentation Foundation that creates the UI for Windows desktop applications (normally). The WPF Browser App is similar to Java applets which uses a browser plugin to run the applet. In Microsoft case, a . Net Framework support plugin is what is used at the client side. i.e. web browser.


1 Answers

Or you can enable XBAP applications in IE9.

Security -> .NET Framework -> XAML browser applications

  • Disable
  • Enable
  • Prompt

enter image description here

like image 103
Ian Boyd Avatar answered Sep 20 '22 12:09

Ian Boyd