.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links

xamlparseexception parser_setvalue_providevalue_exception

Posted By:      Posted Date: October 07, 2010    Points: 0   Category :WPF


i have a Silverlight Application with WPF.

When i'm running the application on Windows Server 2008 32 bit it's working fine, but when i run it on the 64 bit Version of Windows Server 2008, i get the following "javascript" error in IE:


Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Thu, 7 Oct 2010 11:39:42 UTC

Message: Unhandled Error in Silverlight Application Resolution of the dependency failed, type = 'Catalogmanager.Views.LoginView', name = '(none)'.
Exception occurred while: Calling constructor Catalogmanager.Views.LoginView(Catalogmanager.ViewModels.LoginViewModel model).
Exception is: XamlParseException - [Parser_SetValue_ProvideValueException]
Arguments: System.Windows.Data.Binding
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.50917.0&File=System.Windows.dll&Key=Parser_SetValue_ProvideValueException [Line: 56 Positio

View Complete Post

More Related Resource Links

XamlParseException thrown when setting ListBox ItemTemplate.

What could be the cause of the issue described below and why is this exception thrown? Having created a DataTemplate like this: <DataTemplate x:Key="{x:Static controls:InternalResourceKeys.ListBoxItemTemplate}" DataType="{x:Type games:GameDefinitionBase}"> </DataTemplate>   I tried to use it as an ItemTemplate in a ListBox:   <ListBox x:Name="list_definitions" HorizontalContentAlignment="Stretch" SelectionMode="Single" ItemTemplate="{StaticResource {x:Static controls:InternalResourceKeys.ListBoxItemTemplate}}"> </ListBox>   where 'InternalResourceKeys' is the following:   static class InternalResourceKeys { static readonly object _listBoxItemTemplate = new object(); public static object ListBoxItemTemplate { get { return _listBoxItemTemplate; } } }   However, the resource lookup throws an exception (pasted at the end). The reason is most possibly this: {x:Static controls:InternalResourceKeys.ListBoxItemTemplate} used as DataTemplate key. What is a bit surprising is that I have already used InternalResourceKeys class as a storage for resource keys in the same application. Thus, the concept of resource keys being retrieved by a static property seems to work. NOTE: when I change all occurences of {x:Static controls:InternalR

XamlParseException on template selector


'Failed to create a 'Type' from the text 'vm:ProcessViewModel'.' Line number '4' and line position '19'.

Anyone know why this is happening?

If I click on ProcessViewModel and press F12 it opens the class.  Wonder why Visual Studio likes it but runtime doesn't.

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:vm="clr-namespace:DST.Scan.ViewModel" xmlns:vw="clr-namespace:DST.Scan.View">

    <DataTemplate DataType="{x:Type vm:ProcessViewModel}">
        <vw:ProcessScanView />


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DST.Scan.Scan;
using DST.ViewModel;

namespace DST.Scan.ViewModel
    class ProcessViewModel : WorkspaceViewModel
        private ProcessesScan _processesScan;


XamlParseException after upgrading from .NET 3.5 to .NET 4


I've just converted my VS2008/.NET 3.5 project to VS2010/.NET4 Client Profile and now my app is throwing this exception which is wasn't before. I haven't been able to find any info on this, so hopefully someone on this forum can shed some light. It's complaining about setting a textbox IsReadOnly property which I only reference in one place in my project (and also happens to be in the user control that I believe is being removed from the control tree when this occurs):


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend