14

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?

Drew Noakes
  • 300,895
  • 165
  • 679
  • 742

3 Answers3

32

Or you can enable XBAP applications in IE9.

Security -> .NET Framework -> XAML browser applications

  • Disable
  • Enable
  • Prompt

enter image description here

Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
  • I advise against this. There have been vulnerabilities found in the underlying infrastructure: http://technet.microsoft.com/en-us/security/bulletin/ms13-004 – Frank Hileman Jan 09 '13 at 23:26
12

Here is an explanation:

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

Rick Sladkey
  • 33,988
  • 6
  • 71
  • 95
  • 1
    Thanks Rick. I suppose the error message makes sense in hindsight, but it would be nice if it listed these options to the user, as this looks like there's an error on the site. – Drew Noakes May 04 '11 at 02:05
3

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

How to add to the trusted sites?

Thomas
  • 31
  • 1