BACKGROUND:
I have an XBAP application hosted in IIS 8 [Windows Server 2012 R2 EN].
XBAP application is signed using certificate obtained from Verisign.
Transport security is enabled using self-signed SSL certificate.
PROBLEM:
When I try to download the XBAP in IE 11 on Windows Server 2012 it fails saying following exception.
***START*********************************************************
Startup URI: https://win2012en/MyWebSite/MyXbap/MyXbapApplication.xbap
Application Identity:
The download of the specified resource has failed.
-----------------------
PresentationHost.exe v4.0.31106.0 built by: Main - C:\Windows\SysWOW64\PresentationHost.exe
ntdll.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\ntdll.dll KERNEL32.DLL v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\KERNEL32.DLL KERNELBASE.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\KERNELBASE.dll
ADVAPI32.DLL v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\ADVAPI32.DLL msvcrt.dll v7.0.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\msvcrt.dll sechost.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\sechost.dll RPCRT4.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\RPCRT4.dll SspiCli.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\SspiCli.dll CRYPTBASE.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\CRYPTBASE.dll bcryptPrimitives.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\bcryptPrimitives.dll
USER32.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\USER32.dll ole32.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\ole32.dll OLEAUT32.dll v6.3.9600.16384 - C:\Windows\SYSTEM32\OLEAUT32.dll mscoree.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\mscoree.dll SHLWAPI.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\SHLWAPI.dll WININET.dll v11.00.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\WININET.dll urlmon.dll v11.00.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\urlmon.dll SHELL32.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\SHELL32.dll GDI32.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\GDI32.dll combase.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\combase.dll iertutil.dll v11.00.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\iertutil.dll IMM32.DLL v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\system32\IMM32.DLL MSCTF.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\MSCTF.dll shcore.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\shcore.dll PresentationHost_v0400.dll v4.0.30319.33440 built by: FX45W81RTMREL - C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\PresentationHost_v0400.dll
MSVCR120_CLR0400.dll v12.00.20806.33440 built by: FX45W81RTMREL - C:\Windows\SYSTEM32\MSVCR120_CLR0400.dll
VERSION.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\VERSION.dll PSAPI.DLL v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\PSAPI.DLL kernel.appcore.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\kernel.appcore.dll
uxtheme.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\system32\uxtheme.dll clbcatq.dll v2001.12.10530.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\clbcatq.dll CRYPTSP.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\CRYPTSP.dll rsaenh.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\system32\rsaenh.dll bcrypt.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\bcrypt.dll ieproxy.dll v11.00.9600.16384 (winblue_rtm.130821-1623) - C:\Program Files (x86)\Internet Explorer\ieproxy.dll dwmapi.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\system32\dwmapi.dll Secur32.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\Secur32.dll profapi.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\profapi.dll WS2_32.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\WS2_32.dll NSI.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\NSI.dll ondemandconnroutehelper.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\ondemandconnroutehelper.dll
winhttp.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\winhttp.dll mswsock.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\system32\mswsock.dll IPHLPAPI.DLL v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\IPHLPAPI.DLL WINNSI.DLL v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\WINNSI.DLL CRYPT32.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\CRYPT32.dll MSASN1.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\MSASN1.dll DNSAPI.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\DNSAPI.dll rasadhlp.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\System32\rasadhlp.dll fwpuclnt.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\System32\fwpuclnt.dll Comctl32.dll v6.10 (winblue_rtm.130821-1623) - C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.16384_none_a9f4965301334e09\Comctl32.dll
schannel.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\schannel.dll WINTRUST.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\WINTRUST.dll gpapi.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\gpapi.dll ncrypt.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\ncrypt.dll NTASN1.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\NTASN1.dll cryptnet.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\cryptnet.dll WLDAP32.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\WLDAP32.dll ncryptsslp.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\system32\ncryptsslp.dll
actxprxy.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\actxprxy.dll sxs.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\sxs.dll PresentationHostProxy.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\PresentationHostProxy.dll
***END***********************************************************
Note 1: When SSL is disabled [i.e. using http] XBAP application is able to download.
Note 2: With SSL is enabled, XBAP application is downloading on Windows Server 2008 or Win 7 or Win 8 having IE 8 or IE 11 but not on Windows Server 2012.
Note 3: Able to download XBAP in Windows Server 2012 only by disabling the IE Enhanced Security Configuration.
Web Server OS | XBAP Client machine OS / IE Version | https | http |
SERVER 2012R2 EN | SERVER 2008R2 EN / IE8 | Ok | Ok |
SERVER 2012R2 EN | WIN7 EN / IE11 | Ok | Ok |
SERVER 2012R2 EN | WIN8 EN / IE11 | Ok | Ok |
SERVER 2012R2 EN | SERVER 2012R2 EN / IE11 | Download XBAP Fails | Ok |
SERVER 2008R2 EN | SERVER 2008R2 EN / IE8 | Ok | Ok |
SERVER 2008R2 EN | WIN7 EN / IE11 | Ok | Ok |
SERVER 2008R2 EN | WIN8 EN / IE11 | Ok | Ok |
SERVER 2008R2 EN | SERVER 2012R2 EN / IE11 | Download XBAP Fails | Ok |
Question:
Having SSL enabled and without turning OFF the “IE Enhanced Security Configuration” is it possible to download and run the XBAP on Windows Server 2012 i.e. by adding my website into trusted sites or something. Tried this options but no success.