This is a migrated thread and some comments may be shown as answers.

No way to resolve conflict between "System.ServiceModel.Web

5 Answers 545 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Stephan
Top achievements
Rank 1
Stephan asked on 07 Mar 2012, 10:34 PM
Ok I am trying to do my first silverlight application using Telerik controls.  I am following the video called getting started with gridview.
I have followed all the steps as they are doing them in the video, but I am getting an error.

No way to resolve conflict between "System.ServiceModel.Web, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" and "System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". Choosing "System.ServiceModel.Web, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" arbitrarily.

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.WinFX.targets(269,9): error MC1000: Unknown build error, 'Cannot resolve dependency to assembly 'System.Windows, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.'

Build FAILED.


Error 41 Unknown build error, 'Cannot resolve dependency to assembly 'System.Windows, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.'  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.WinFX.targets 269 9 RIAServicesLibrary1.Web


I'm not sure if "xmlns:telerik=http://schemas.telerik.com/2008/xaml/presentation" if this is causeing the issue since I can't seem to get to that link. or If I should be using something more current then 2008.

<

 

 

telerik:RadGridView x:Name="xRadGridView" />

 

 

 

 

<telerik:RadDataPager x:Name="xRadDataPager"

 

 

 

Grid.Row="1"/>

 

Error 44 The type 'telerik:RadDataPager' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. D:\ASPX\RIAServicesLibrary1\RIAServicesLibrary1.Web\MainPage.xaml 11 10 RIAServicesLibrary1.Web

Error 43 The type 'telerik:RadGridView' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. D:\ASPX\RIAServicesLibrary1\RIAServicesLibrary1.Web\MainPage.xaml 10 10 RIAServicesLibrary1.Web

5 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 08 Mar 2012, 07:52 AM
Hi,

 Generally our latest official version is for Silverlight 5 and Visual Studio 2010. You will need these if you want to develop for the latest official Silverlight from Microsoft. 

Kind regards,
Vlad
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Stephan
Top achievements
Rank 1
answered on 09 Mar 2012, 03:58 AM
As far as I know I do have the latest and greatest from both Microsoft and Telerik.  Well turns out Microsoft did me a favor and bloced the new Dll's I thought I had installed from the web.  So I have made it further and every think seem to be matching the video until I run it.  The Video gets data populated to the grid and I get nothing, but I do see that i have 5 pages of nothing.

I did manage to find this error.

 

'iexplore.exe' (Silverlight): Loaded 'C:\Program Files (x86)\Microsoft Silverlight\5.0.61118.0\en-US\System.Windows.debug.resources.dll'
System.Windows.Data Error: BindingExpression path error: 'DateView' property not found on 'Telerik.Windows.Controls.RadDomainDataSource' 'Telerik.Windows.Controls.RadDomainDataSource' (HashCode=958745). BindingExpression: Path='DateView' DataItem='Telerik.Windows.Controls.RadDomainDataSource' (HashCode=958745); target element is 'Telerik.Windows.Controls.RadGridView' (Name='xRadGridView'); target property is 'ItemsSource' (type 'System.Object')..


<UserControl x:Class="FirstSilverlight.MainPage"
        xmlns:service="clr-namespace:FirstSilverlight.Web"
        mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="auto" />
            <RowDefinition Height="auto" />       
        </Grid.RowDefinitions>
        <telerik:RadDomainDataSource x:Name="xRadDomainDataSource"
                                     QueryName="GetCustomersQuery"
                                     AutoLoad="True"
                                     PageSize="20">
            <telerik:RadDomainDataSource.DomainContext>
            <service:testDomainContext />
        </telerik:RadDomainDataSource.DomainContext>
        </telerik:RadDomainDataSource>
  
        <telerik:RadGridView x:Name="xRadGridView"
                             ItemsSource="{Binding DateView, ElementName = xRadDomainDataSource}"
                             IsBusy="{Binding IsBusy, ElementName = xRadDomainDataSource}"
                             />
              
        <telerik:RadDataPager x:Name="xRadDataPager"
                              Grid.Row="1"
                              Source="{Binding DataView, ElementName=xRadDomainDataSource}"/>
    </Grid>
</UserControl>
0
Maurizio
Top achievements
Rank 2
answered on 26 Sep 2012, 02:33 PM

Maybe you have TelerikReporting Assemblies for both Silverlight and WPF in your project. I did and after removing the Silverlight reference from my project evertything worked fine....

0
Karen
Top achievements
Rank 1
answered on 11 Aug 2015, 06:20 PM
I am getting the same error message (Warning11Unable to find dependency 'SYSTEM.SERVICEMODEL' (Signature='31BF3856AD364E35' Version='5.0.5.0') of assembly 'Telerik.ReportViewer.Silverlight.dll' and also Warning10Unable to find dependency 'SYSTEM.WINDOWS.BROWSER' (Signature='7CEC85D7BEA7798E' Version='5.0.5.0') of assembly 'Telerik.ReportViewer.Silverlight.dll') because a newer version 5.0.61118.00 of each has been installed by Windows Update on my development machine. If I go back and download 5.0.5.0 it will be updated again by Windows Update within a day (I am on a corporate network and cannot prevent it). Is there a way to resolve this issue? I am using Visual Studio 2010.
0
Stef
Telerik team
answered on 14 Aug 2015, 12:59 PM
Hello Karen,

Please test to upgrade both Telerik Reporting and Telerik UI for Silverlight in the application to versions built against Silverlight 5 e.g. Q3 2012 and greater.

If you need further help, specify the used Telerik Reporting and Telerik UI for Silverlight versions. Feel free to open a support ticket with more details about the issue.

Regards,
Stef
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Stephan
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Stephan
Top achievements
Rank 1
Maurizio
Top achievements
Rank 2
Karen
Top achievements
Rank 1
Stef
Telerik team
Share this question
or