Woodgrove Demo

At the TechEd chalktalk that Ashish and I tag teamed earlier this week, I demo-ed the Woodgrove Financial Application as an XBAP. I also showed loose XAML and an embedded FlowDocument inside of an HTML.

loose XAML with vector graphics (link)

Woodgrove financial app w/ 3D chart as xbap (link)

html page with FlowDocument in IFRAME (link)

Try try out the app.

The last scenario (FlowDocument in HTML) is particularly compelling:

  • You can leverage your existing site.
  • If you have your article content in XML, it’s easy to create another XSLT transform to XAML.
  • Your content continues to be viewable by everyone, with a better experience for WPF users.
    • Use javascript or server side script to determine the useragent string. (See SDK for example of former.)
    • If user navigates to the article with a .NET 3.0 browser/machine, you’ll get html + FlowDocument. Otherwise, you’ll get html + html.
    • Try it out: link

[Apr 17]: Karsten posted the source code for the Woodgrove Finance app a while back. Adding links.

40 comments

  1. I have the correct version of WinFX loaded, but when I go to the MoneyTips.html page, I get neither the flow document or the html content in the IFRAME.

  2. Got this exception :

    Startup URI: https://scorbs.com/workapps/woodgrove/FinanceApplication.xbap
    Application Identity:

    System.FormatException: Input string was not in a correct format.
    at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
    at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
    at System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)
    at System.Convert.ToDouble(String value)
    at Finance3DStockChart.IsNegativeConverter.Convert(Object value, Type targetType, Object parameter, CultureInfo cultureInfo)
    at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
    at System.Windows.Data.BindingExpression.Activate(Object item)

  3. Thanks for your reply Karen. Yes, I am able to run the other parts of the application just fine. I am using Windows XP SP 2. I have the correct version of the WinFX runtime, 3.0.50727. I am also using IE 6 iwth the latest and greatest updates.

  4. Thanks for publishing this great TechEd example!

    I have the same issue as Jason on a XP SP2 + WinFx Beta 2 + Orcas VS extensions machine: the FinanceApplication.xbap is working just fine with its great 3D “rotatable” charts but impossible to get the FlowDocument from MoneyTips.htm

    Question: do you plan to provide the source code for the xbap app?:^)

  5. Will try to get a repro on the FlowDocument/HTML and reply back. Thanks for the comments!

    No, at this time we’re not sharing the source for the finance app. 🙂

    Matthieu, are you getting that exception at app start up? If not, what are you doing before you hit the exception?

  6. Great sample!

    Yes, it seems there is a rendering problem with MoneyTips.htm. If the FlowDocument is not visible at the time of first rendering, it will not display anything. The solution is to scroll down so that the FlowDocument is on screen and refresh the page.
    Configuration: Win 2003 Server SP1 + WinFX Beta 2.

  7. Valentin, I was able to see the FlowDocument after I did as you suggested. However, even after that, the FlowDocument is only at the bottom of the page, but I don’t believe that is how it is supposed to work.

  8. I think the reason is that I have hardcoded widths for the article content and IE6 renders the widths slightly different, pushing it further down on the page. Will try to work on a solution and reply back.

  9. I know you mentioned that you are not sharing the source at this time. Do you think this is going to happen in the near future? I have POC that involves wpf and it would greatly help to get my hands on the code.

    thanks.

  10. Hello,

    Is the Woodgroove app able to run in XP SP2 and IE 7 and .NET 3.0? I have just downloaded and installed them all. I am trying to show the higher ups at what is available and what is coming so I can get myself a new machine to play. 🙂

    I am receiving an error when I go to the https://scorbs.com/workapps/woodgrove/FinanceApplication.xbap link.

    “Unable to activate application. Try deleting the online application cache.”

    Is this something on my side?

    Thanks
    Jeff

  11. Ok looking at it more I found that when I first visit the site the error reads, “Cannot locate resource ‘myapp.baml'”

    In searching for reasons for this error I found some saying it is due to culture settings.

    Thanks Jeff

  12. Did you previously have an older version of WPF installed?

    Try clearing your application cache (it may have been corrupted).

    mage -cc

    mage.exe is shipped with the Windows Vista SDK & Visual Studio.

  13. I started with a freash install of XP Pro SP2 then installed the IE 7 Beta 3 then installed the latest .NET 3.0 Framework. This system does not have any developement tools installed.

    When I get back into the office on Monday I will try your suggestion.

    Thank You,
    Jeff

  14. I am getting an Exception when I try to run the JuneCTP version of the FinanceApplication Demo in IE6 on Windows XP SP2, I have only the JuneCTP version of the .NET 3.0 Runtime installed along with .NET 2.0 and .NET 1.1:

    Startup URI: https://scorbs.com/workapps/woodgrove/JuneCTP/FinanceApplication.xbap
    Application Identity: https://scorbs.com/workapps/woodgrove/JuneCTP/FinanceApplication.xbap#FinanceApplication.application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=256a0a4972738a32, processorArchitecture=msil/FinanceApplication.exe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=256a0a4972738a32, processorArchitecture=msil, type=win32

    System.Windows.Markup.XamlParseException: Cannot convert string ‘Valuationlabel.png’ in attribute ‘ImageSource’ to object of type ‘System.Windows.Media.ImageSource’. Mismatched versions of PresentationCore.dll, Milcore.dll, WindowsCodecs.dll, or D3d9.dll. Check that these DLLs come from the same source. Error at object ‘ValuationLabel’. —> System.IO.FileLoadException: Mismatched versions of PresentationCore.dll, Milcore.dll, WindowsCodecs.dll, or D3d9.dll. Check that these DLLs come from the same source. —> System.Runtime.InteropServices.COMException (0x88982F0B): Exception from HRESULT: 0x88982F0B

  15. Thank you! That worked perfectly.

    This demo app is awesome! It will help me out a lot in advocating using XBAP for one of our products.

  16. Yes, pretty pretty please keep a working link to a JuneCTP (Since I have to choose, Orcas/WPF tools are waaaaay more important than a WCF update). Also, if you truly are handing out source copies, I wouldnt mind getting a little love also!! 🙂 …

    Tx!!!

    -Brian A.

  17. Karen, hi, excelent demo… Now, I’m trying to POC this WPF thing and this stuff is exactly the kind of display I am after. I can find tons of demos with walkthroughs and code that work on Avalon from the days of yore (okay so last year) but trying to find something of this level that works of the WPF of today is proving a challenge.
    If you guys aren’t planning on sharing the code on this one in the very near future, then can you point us at a similar example where we can find the code and don’t need to port it from Olde English to June CTP?

    Cheers…

    Malc

  18. How microsoft not sharing any source code for any real samples they are developing….Max is doing the same, i am trying to get into WPF and a real world sample will help a lot…..instead of this is how you use tab and this is how you use button…..i really wonder, do they really want people to use WPF???

  19. Just tried the RC1 version. MoneyTips displays fine but MyFinances raises an Application error. There’s a log file I can send if you let me know where to. The Error Summary is:-
    * An exception occurred while downloading the application. Following failure messages were detected:
    Exception occurred during store operation.
    Value does not fall within the expected range.

    I had run magc -cc before trying to run the XBAP.

    I’d love to see this working.
    Also, any word on source availability yet?

    Thanks
    Michael

  20. Is it just me or is the performance really bad? For example, clicking on one of the “Show Performance” buttons freezes IE for several minutes, with PresentationHost.exe running at CPU max. This also happens occasionlly when I simply try to scroll the symbol or news window. I’m running Vista RC2 #5744 here.

    Tom

  21. I’d like to show your application at my upcoming WPF talk at local Professional Developer Conference, would it be possible to have source code so that i can show both local and xbap versions of your app?

    Thanks
    Corrado

  22. I guess………………………..

    System.InvalidOperationException: Version mismatch. BAML stream has version number ‘0.94’ but parser can read only version ‘0.96’.
    at System.Windows.Markup.BamlVersionHeader.LoadVersion(BinaryReader bamlBinaryReader)

  23. continued from above. this might give you more info.

    at System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment()
    at System.Windows.Markup.TreeBuilder.Parse()
    at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
    at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
    at FinanceApplication.MyApp.InitializeComponent()
    at FinanceApplication.MyApp.Main()
    at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
    at System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)
    at System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()
    at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)
    at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext)
    at System.Windows.Interop.PresentationApplicationActivator.CreateInstance(ActivationContext actCtx)
    at System.Activator.CreateInstance(ActivationContext activationContext)
    at System.AppDomain.InternalRemotelySetupRemoteDomainHelper(Object[] args)
    at System.Threading.Thread.CompleteCrossContextCallback(InternalCrossContextDelegate ftnToCall, Object[] args)
    at System.AppDomain.nCreateInstance(String friendlyName, AppDomainSetup setup, Evidence providedSecurityInfo, Evidence creatorsSecurityInfo, IntPtr parentSecurityDescriptor)
    at System.Runtime.Hosting.ApplicationActivator.CreateInstanceHelper(AppDomainSetup adSetup)
    at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)
    at System.Windows.Interop.PresentationApplicationActivator.CreateInstance(ActivationContext actCtx)
    at System.Deployment.Application.DeploymentManager.ExecuteNewDomain()
    at System.Deployment.Application.InPlaceHostingManager.Execute()
    at MS.Internal.AppModel.XappLauncherApp.ExecuteDownloadedApplication()
    at System.Windows.Interop.DocObjHost.RunApplication(ApplicationRunner runner)
    at MS.Internal.AppModel.XappLauncherApp.XappLauncherApp_Exit(Object sender, ExitEventArgs e)
    at System.Windows.Application.OnExit(ExitEventArgs e)
    at System.Windows.Application.DoShutdown()
    at System.Windows.Application.ShutdownImpl()
    at System.Windows.Application.ShutdownCallback(Object arg)
    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)
    at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
    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.0 (vista_rtm_wcp.061020-1904) – C:WINDOWSsystem32PresentationHost.exe
    ntdll.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32ntdll.dll
    kernel32.dll v5.1.2600.2945 (xpsp_sp2_gdr.060704-2349) – C:WINDOWSsystem32kernel32.dll
    ADVAPI32.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32ADVAPI32.dll
    RPCRT4.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32RPCRT4.dll
    USER32.dll v5.1.2600.2622 (xpsp_sp2_gdr.050301-1519) – C:WINDOWSsystem32USER32.dll
    GDI32.dll v5.1.2600.2818 (xpsp_sp2_gdr.051228-1427) – C:WINDOWSsystem32GDI32.dll
    msvcrt.dll v7.0.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32msvcrt.dll
    ole32.dll v5.1.2600.2726 (xpsp_sp2_gdr.050725-1528) – C:WINDOWSsystem32ole32.dll
    SHELL32.dll v6.00.2900.2951 (xpsp_sp2_gdr.060713-0009) – C:WINDOWSsystem32SHELL32.dll
    SHLWAPI.dll v6.00.2900.2937 (xpsp.060623-0011) – C:WINDOWSsystem32SHLWAPI.dll
    urlmon.dll v7.00.5700.6 (winmain(wmbla).060822-2230) – C:WINDOWSsystem32urlmon.dll
    OLEAUT32.dll v5.1.2600.2180 – C:WINDOWSsystem32OLEAUT32.dll
    iertutil.dll v7.00.5700.6 (winmain(wmbla).060822-2230) – C:WINDOWSsystem32iertutil.dll
    WININET.dll v7.00.5700.6 (winmain(wmbla).060822-2230) – C:WINDOWSsystem32WININET.dll
    Normaliz.dll v6.0.5441.0 (winmain(wmbla).060628-1735) – C:WINDOWSsystem32Normaliz.dll
    IMM32.DLL v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32IMM32.DLL
    comctl32.dll v6.0 (xpsp.060825-0040) – C:WINDOWSWinSxSx86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03comctl32.dll
    uxtheme.dll v6.00.2900.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32uxtheme.dll
    MSCTF.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32MSCTF.dll
    CLBCATQ.DLL v2001.12.4414.308 – C:WINDOWSsystem32CLBCATQ.DLL
    COMRes.dll v2001.12.4414.258 – C:WINDOWSsystem32COMRes.dll
    VERSION.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32VERSION.dll
    xpsp2res.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32xpsp2res.dll
    Secur32.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32Secur32.dll
    ws2_32.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32ws2_32.dll
    WS2HELP.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32WS2HELP.dll
    mswsock.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32mswsock.dll
    hnetcfg.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32hnetcfg.dll
    wshtcpip.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSSystem32wshtcpip.dll
    dfshim.dll v2.0.50727.42 (RTM.050727-4200) – C:WINDOWSsystem32dfshim.dll
    mscoree.dll v2.0.50727.42 (RTM.050727-4200) – C:WINDOWSsystem32mscoree.dll
    PresentationHostDLL.dll v3.0.6920.0 (vista_rtm_wcp.061020-1904) – C:WINDOWSMicrosoft.NetFrameworkv3.0WPFPresentationHostDLL.dll
    mscorwks.dll v2.0.50727.42 (RTM.050727-4200) – C:WINDOWSMicrosoft.NETFrameworkv2.0.50727mscorwks.dll
    MSVCR80.dll v8.00.50727.42 – C:WINDOWSWinSxSx86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acdMSVCR80.dll
    mscorlib.ni.dll v2.0.50727.42 (RTM.050727-4200) – C:WINDOWSassemblyNativeImages_v2.0.50727_32mscorlib7bc8dcc55dd38f4a932e5a7c36a53bd5mscorlib.ni.dll
    System.ni.dll v2.0.50727.42 (RTM.050727-4200) – C:WINDOWSassemblyNativeImages_v2.0.50727_32Systema51b60c43723a9418dbcf75345d9a6f9System.ni.dll
    WindowsBase.ni.dll v3.0.6920.0 (vista_rtm_wcp.061020-1904) – C:WINDOWSassemblyNativeImages_v2.0.50727_32WindowsBase829014ae8c65264394d5bdb78d708fa0WindowsBase.ni.dll
    PresentationCore.ni.dll v3.0.6920.0 (vista_rtm_wcp.061020-1904) – C:WINDOWSassemblyNativeImages_v2.0.50727_32PresentationCore1b56901a66ae894cbd5b4930afaa9f45PresentationCore.ni.dll
    PresentationFramework.ni.dll v3.0.6920.0 (vista_rtm_wcp.061020-1904) – C:WINDOWSassemblyNativeImages_v2.0.50727_32PresentationFramewo#8b22bcdd1bb26f47a7614ca6abf10b98PresentationFramework.ni.dll
    msctfime.ime v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32msctfime.ime
    actxprxy.dll v6.00.2900.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32actxprxy.dll
    msi.dll v3.1.4000.2435 – C:WINDOWSsystem32msi.dll
    SXS.DLL v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32SXS.DLL
    ieproxy.dll v7.00.5700.6 (winmain(wmbla).060822-2230) – C:Program FilesInternet Explorerieproxy.dll
    PresentationUI.ni.dll v3.0.6920.0 (vista_rtm_wcp.061020-1904) – C:WINDOWSassemblyNativeImages_v2.0.50727_32PresentationUIc5b5f02f0dea94db59d4ea7bd4525dePresentationUI.ni.dll
    rsaenh.dll v5.1.2600.2161 (xpsp.040706-1629) – C:WINDOWSsystem32rsaenh.dll
    mslbui.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32mslbui.dll
    System.Deployment.ni.dll v2.0.50727.42 (RTM.050727-4200) – C:WINDOWSassemblyNativeImages_v2.0.50727_32System.Deploymentbde29aca35ccd24abf27bf5e32b4c05eSystem.Deployment.ni.dll
    shfolder.dll v6.00.2900.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32shfolder.dll
    MilCore.dll v6.0.5840.16386 (vista_rtm_wcp.061020-1904) – C:WINDOWSsystem32MilCore.dll
    PSAPI.DLL v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32PSAPI.DLL
    System.Configuration.ni.dll v2.0.50727.42 (RTM.050727-4200) – C:WINDOWSassemblyNativeImages_v2.0.50727_32System.Configuration970ae01be43df143bce3de7d4bddb810System.Configuration.ni.dll
    System.Xml.ni.dll v2.0.50727.42 (RTM.050727-4200) – C:WINDOWSassemblyNativeImages_v2.0.50727_32System.Xmlc910ef21b3503140a182310095da8f89System.Xml.ni.dll
    rasapi32.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32rasapi32.dll
    rasman.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32rasman.dll
    NETAPI32.dll v5.1.2600.2952 (xpsp_sp2_gdr.060714-0446) – C:WINDOWSsystem32NETAPI32.dll
    TAPI32.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32TAPI32.dll
    rtutils.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32rtutils.dll
    WINMM.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32WINMM.dll
    msv1_0.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32msv1_0.dll
    iphlpapi.dll v5.1.2600.2912 (xpsp_sp2_gdr.060519-0003) – C:WINDOWSsystem32iphlpapi.dll
    d3d9.dll v5.03.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32d3d9.dll
    d3d8thk.dll v5.03.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32d3d8thk.dll
    DNSAPI.dll v5.1.2600.2938 (xpsp_sp2_gdr.060626-0020) – C:WINDOWSsystem32DNSAPI.dll
    winrnr.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSSystem32winrnr.dll
    WLDAP32.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32WLDAP32.dll
    rasadhlp.dll v5.1.2600.2938 (xpsp_sp2_gdr.060626-0020) – C:WINDOWSsystem32rasadhlp.dll
    WindowsCodecs.dll v6.0.5840.16388 (winmain(wmbla).061024-1209) – C:WINDOWSsystem32WindowsCodecs.dll
    PresentationFramework.Luna.ni.dll v3.0.6920.0 (vista_rtm_wcp.061020-1904) – C:WINDOWSassemblyNativeImages_v2.0.50727_32PresentationFramewo#67bd5494fa4f0e4db17b1f0d10b08505PresentationFramework.Luna.ni.dll
    PresentationNative_v0300.dll v3.0.6920.0 (vista_rtm_wcp.061020-1904) – C:WINDOWSsystem32PresentationNative_v0300.dll
    sptip.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSimesptip.dll
    OLEACC.dll v4.2.5406.0 (xpclient.010817-1148) – C:WINDOWSsystem32OLEACC.dll
    MSVCP60.dll v6.02.3104.0 – C:WINDOWSsystem32MSVCP60.dll
    SPGRMR.DLL v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSIMESPGRMR.DLL
    SKCHUI.DLL v1.0.1038.0 – C:Program FilesCommon FilesMicrosoft SharedINKSKCHUI.DLL
    System.Security.ni.dll v2.0.50727.42 (RTM.050727-4200) – C:WINDOWSassemblyNativeImages_v2.0.50727_32System.Securityd2765537f77a634c89929f313010f08bSystem.Security.ni.dll
    USERENV.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32USERENV.dll
    CRYPT32.dll v5.131.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32CRYPT32.dll
    MSASN1.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32MSASN1.dll
    cryptnet.dll v5.131.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32cryptnet.dll
    WINHTTP.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32WINHTTP.dll
    SensApi.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32SensApi.dll
    System.Drawing.ni.dll v2.0.50727.42 (RTM.050727-4200) – C:WINDOWSassemblyNativeImages_v2.0.50727_32System.Drawing69ff128af6dd1945a2fcb2705aa48679System.Drawing.ni.dll
    System.Windows.Forms.ni.dll v2.0.50727.42 (RTM.050727-4200) – C:WINDOWSassemblyNativeImages_v2.0.50727_32System.Windows.Forms6d563f148b72fc47bf8c181d495b1ccbSystem.Windows.Forms.ni.dll
    Cabinet.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) – C:WINDOWSsystem32Cabinet.dll
    mscorjit.dll v2.0.50727.42 (RTM.050727-4200) – C:WINDOWSMicrosoft.NETFrameworkv2.0.50727mscorjit.dll
    diasymreader.dll v8.0.50727.42 (RTM.050727-4200) – C:WINDOWSMicrosoft.NETFrameworkv2.0.50727diasymreader.dll

  24. Hi Sachin,

    The error you’re getting is normally the result of a version mismatch.

    In order to run this, you should have the RC1 or RTM build of .NET 3.0.

    If you had a previous build of .NET 3.0 on your machine, please try running “mage.exe -cc” to clear your application cache.

    Thanks!
    Karen

  25. Hi karen,
    Thankyou for your response.

    But i don’t think your solution will work

    I am running this application on RTM build of .Net 3.0

    3.0.6920.0 (vista_rtm_wcp.061020-1904)

    Try this on your end with the rtm Build of .net 3.0

    Thanks

  26. Hi Sachin,

    The app works fine for me on RTM bits. Have you tried clearing your application cache using “mage.exe -cc”?

    Thanks,
    Karen

  27. Ааану-ка ребчтоки голосуем!!!

    Прмзнавайтесь проказники и владельцы саййта scorbs.com ))))

    ЧТО вы будете делать этим етлом?!

  28. THE LINK SAID SOURCE CODE AVAILABLE WHERE IS THE GOD DAM SOURCE CODE I DO NOT GIVE A YOUR MAMAS RAT FUCKING ASS ABOUT ALL THE OTHER BULL SHIT ON THIS DICK FAGGOT PAGE WHERE IS THE SOURCE CODE FIR DOWNLOAD

  29. It appears you can call WCF web services with xbaps now, which I guess makes things easier. My problem is I still don’t know enough about WCF to really make any use of it. I was wondering if you could put together a sample that calls an external API such as Live search and returns a users search to them (partial-trust mode). That would explain how to make practical use of an XBAP in my opinion. Either REST or SOAP it doesn’t matter that much as long as I can interact with an external API. Thanks for writing this really informative post!

Leave a Reply

Your email address will not be published. Required fields are marked *