Hi, I'm a developer who would like to leverage XBAPs for some intranet applications, but I've run into the scenario where neither XBAPs or standalone XAML displays in IE on any of our corporate PCs with .NET 3.0. It doesn't matter how I do it:
-
I can click on an XBAP on the internet, no luck
-
I can click on a Standalone XAML locally/or on the web, no luck
-
I can create a XBAP project in Visual Studio and try and run it, still no luck
I have admin access on my machines so can anyone thing of any reason why this wouldn't work. The ultimate goal is to get this working on user machines,but I have to obviously get it working on a developer machine first.
Not even the simplest helloworld xbap or xaml file works, it seems like an error occurs somewhere in PresentationHost.
I got the following error we loose xaml files in IE:
Startup URI: D:\DevCode\MSDNMagazine\Foundations\BareBonesProgressBar.xaml
Application Identity: file:///c:/WINDOWS/Microsoft.Net/Framework/v3.0/WPF/XamlViewer/XamlViewer_v0300.xbap#XamlViewer_v0300.application, Version=3.0.0.0, Culture=neutral, PublicKeyToken=c3bce3770c238a49, processorArchitecture=msil/XamlViewer_v0300.exe, Version=3.0.0.0, Culture=neutral, PublicKeyToken=c3bce3770c238a49, processorArchitecture=msil, type=win32
System.DllNotFoundException: Unable to load DLL 'msctf.dll': A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A)
at MS.Win32.UnsafeNativeMethods.TF_CreateThreadMgr(ITfThreadMgr& threadManager)
at MS.Internal.TextServicesLoader.Load()
at System.Windows.Threading.Dispatcher.GetMessagePump()
at System.Windows.Threading.Dispatcher.GetMessage(MSG& msg, IntPtr hwnd, Int32 minMessage, Int32 maxMessage)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.StartDispatcherInBrowser(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
-----------------------
PresentationHost.exe v3.0.6920.1005 (lh_tools_devdiv_wpf_beta2(avdrt).061020-1904) - c:\WINDOWS\system32\PresentationHost.exe
ntdll.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\ntdll.dll
kernel32.dll v5.1.2600.3119 (xpsp_sp2_gdr.070416-1301) - C:\WINDOWS\system32\kernel32.dll
ADVAPI32.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\ADVAPI32.dll
RPCRT4.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\RPCRT4.dll
USER32.dll v5.1.2600.3099 (xpsp_sp2_gdr.070308-0222) - C:\WINDOWS\system32\USER32.dll
GDI32.dll v5.1.2600.3159 (xpsp_sp2_gdr.070619-1300) - C:\WINDOWS\system32\GDI32.dll
msvcrt.dll v7.0.2600.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\msvcrt.dll
ole32.dll v5.1.2600.2726 (xpsp_sp2_gdr.050725-1528) - C:\WINDOWS\system32\ole32.dll
SHELL32.dll v6.00.2900.3051 (xpsp_sp2_gdr.061219-0316) - C:\WINDOWS\system32\SHELL32.dll
SHLWAPI.dll v6.00.2900.2995 (xpsp.060913-0019) - C:\WINDOWS\system32\SHLWAPI.dll
urlmon.dll v7.00.6000.16512 (vista_gdr.070625-1522) - C:\WINDOWS\system32\urlmon.dll
OLEAUT32.dll v5.1.2600.3139 - C:\WINDOWS\system32\OLEAUT32.dll
iertutil.dll v7.00.6000.16512 (vista_gdr.070625-1522) - C:\WINDOWS\system32\iertutil.dll
WININET.dll v7.00.6000.16512 (vista_gdr.070625-1522) - C:\WINDOWS\system32\WININET.dll
Normaliz.dll v6.0.5441.0 (winmain(wmbla).060628-1735) - C:\WINDOWS\system32\Normaliz.dll
IMM32.DLL v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\IMM32.DLL
LPK.DLL v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) - c:\WINDOWS\system32\LPK.DLL
USP10.dll v1.0420.2600.2180 (xpsp_sp2_rtm.040803-2158) - c:\WINDOWS\system32\USP10.dll
comctl32.dll v6.0 (xpsp.060825-0040) - C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
uxtheme.dll v6.00.2900.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\System32\uxtheme.dll
CLBCATQ.DLL v2001.12.4414.308 - c:\WINDOWS\system32\CLBCATQ.DLL
COMRes.dll v2001.12.4414.258 - c:\WINDOWS\system32\COMRes.dll
VERSION.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\VERSION.dll
xpsp2res.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) - c:\WINDOWS\system32\xpsp2res.dll
PresentationHostDLL.dll v3.0.6920.1005 (lh_tools_devdiv_wpf_beta2(avdrt).061020-1904) - c:\WINDOWS\Microsoft.Net\Framework\v3.0\WPF\PresentationHostDLL.dll
mscoree.dll v2.0.50727.1378 (REDBITSB2.050727-1300) - c:\WINDOWS\system32\mscoree.dll
Secur32.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) - c:\WINDOWS\system32\Secur32.dll
ws2_32.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) - c:\WINDOWS\system32\ws2_32.dll
WS2HELP.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) - c:\WINDOWS\system32\WS2HELP.dll
dfshim.dll v2.0.50727.1378 (REDBITSB2.050727-1300) - c:\WINDOWS\system32\dfshim.dll
MSVCR80.dll v8.00.50727.1378 - C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1378_x-ww_5c7e3652\MSVCR80.dll
mscorwks.dll v2.0.50727.1378 (REDBITSB2.050727-1300) - c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
mscorlib.ni.dll v2.0.50727.1378 (REDBITSB2.050727-1300) - C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\mscorlib\0bca12173b2b90018614e81a671081cf\mscorlib.ni.dll
System.ni.dll v2.0.50727.1378 (REDBITSB2.050727-1300) - C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System\bf31204e35a4ed93bc8cfbc1f9ed88fb\System.ni.dll
WindowsBase.ni.dll v3.0.6920.1005 (lh_tools_devdiv_wpf_beta2(avdrt).061020-1904) - C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\WindowsBase\ef3a00ca3430c1f47a827d36c0133342\WindowsBase.ni.dll
PresentationCore.ni.dll v3.0.6920.1005 (lh_tools_devdiv_wpf_beta2(avdrt).061020-1904) - C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\PresentationCore\64cf4a60e8db722a3c594ca52e160327\PresentationCore.ni.dll
PresentationFramework.ni.dll v3.0.6920.1005 (lh_tools_devdiv_wpf_beta2(avdrt).061020-1904) - C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\PresentationFramewo#\ba1ed37e079618c0233d9a957b7c6e8d\PresentationFramework.ni.dll
msctfime.ime v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\msctfime.ime
msi.dll v3.1.4000.2435 - c:\WINDOWS\system32\msi.dll
actxprxy.dll v6.00.2900.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\actxprxy.dll
SXS.DLL v5.1.2600.3019 (xpsp_sp2_gdr.061019-0414) - c:\WINDOWS\system32\SXS.DLL
PresentationHostProxy.dll v3.0.6920.1005 (lh_tools_devdiv_wpf_beta2(avdrt).061020-1904) - c:\WINDOWS\system32\PresentationHostProxy.dll
ieproxy.dll v7.00.5730.11 (winmain(wmbla).061017-1135) - C:\Program Files\Internet Explorer\ieproxy.dll
ctagent.dll v1, 0, 0, 11 - C:\WINDOWS\system32\ctagent.dll
PresentationUI.ni.dll v3.0.6920.1005 (lh_tools_devdiv_wpf_beta2(avdrt).061020-1904) - C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\PresentationUI\1940724335d162a2beef232531bb29f9\PresentationUI.ni.dll
diasymreader.dll v8.0.50727.1378 (REDBITSB2.050727-1300) - c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\diasymreader.dll