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

Unable to download RadControls for Silverlight 4 RC build

10 Answers 222 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
SilverlightUser
Top achievements
Rank 1
SilverlightUser asked on 24 Mar 2010, 05:52 PM
Can you please help with the link to download. The link http://www.telerik.com/products/silverlight.aspx does not work.
I am seeing similar errors as in thread: http://www.telerik.com/community/forums/silverlight/scheduler/erron-when-editing-appointment.aspx

10 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 24 Mar 2010, 06:05 PM
Hello SilverlightUser,

From your post I could not quite understand what exactly is the trouble you are facing ? Please share some more details .. maybe a screenshot ?


All the best,
Pavel Pavlov
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
SilverlightUser
Top achievements
Rank 1
answered on 24 Mar 2010, 06:06 PM
Sorry for the confusion. My question is from where can I download the Silverlight 4 RC build?
0
Pavel Pavlov
Telerik team
answered on 24 Mar 2010, 06:23 PM
Hello SilverlightUser,

Form within your account you have access to download the build .
I hope this this link helps.

Kind regards,
Pavel Pavlov
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
SilverlightUser
Top achievements
Rank 1
answered on 24 Mar 2010, 06:41 PM
Thanks.

The reason why I needed the new dlls is because I was seeing the same error as described in this thread:
http://www.telerik.com/community/forums/silverlight/scheduler/erron-when-editing-appointment.aspx

Now, I have replaced all the dlls with the new ones from SIlverlight 4. But when compiling my solution, I see the following compile error:

Error 1 The "CompileXaml" task failed unexpectedly.
System.IO.FileLoadException: Could not load file or assembly 'file:///...\Binaries\Telerik\Telerik.Windows.Controls.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
File name: 'file:///...\Binaries\Telerik\Telerik.Windows.Controls.dll' ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.

   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
   at System.Reflection.Assembly.LoadFrom(String assemblyFile)
   at Microsoft.Silverlight.Build.Tasks.CompileXaml.LoadAssembly(String reference)
   at Microsoft.Silverlight.Build.Tasks.CompileXaml.LoadAssemblies(ITaskItem[] ReferenceAssemblies)
   at Microsoft.Silverlight.Build.Tasks.CompileXaml.Execute()
   at Microsoft.Build.Framework.ITask.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult)

 Alterian.Framework

I will really appreciate any help to solve the above problem.

0
SilverlightUser
Top achievements
Rank 1
answered on 24 Mar 2010, 06:51 PM
I am going to try this solution first:

Posted on Jan 5, 2010 (permalink)

Hey Tooraj,

Be sure to follow the instructions from the second post in this thread (download, unblock the zip, then extract) before going to use the SL4 CTP controls in VS2010.  Otherwise you'll get this friendly error message from Visual Studio when you add the assemblies.

-Evan


The solution is from the thread http://www.telerik.com/community/forums/silverlight/general-discussions/radcontrols-for-silverlight-4-ctp.aspx

Please feel free to update the thread if you think that will not fix my problem,
0
SilverlightUser
Top achievements
Rank 1
answered on 24 Mar 2010, 07:19 PM

Hi Pavel,

I am seeing the below error when trying a drop operation. For more details please look at this post: http://www.telerik.com/community/forums/silverlight/scheduler/erron-when-editing-appointment.aspx.
This is similar to what I am trying to do. I followed the solution and got the latest Silverlight 4 RC binaries but I am still seeing the below error. Could you please help.



Message: Unhandled Error in Silverlight Application
Code: 4004   
Category: ManagedRuntimeError      
Message: System.Windows.Markup.XamlParseException: The property 'System.Windows.Controls.Panel.Children' is set more than once. [Line: 331 Position: 18] ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at System.Windows.ResourceManagerWrapper.GetResourceForUri(Uri xamlUri, Type componentType)
   --- End of inner exception stack trace ---
   at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
   at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
   at MS.Internal.XcpImports.FrameworkElement_ApplyTemplate(FrameworkElement frameworkElement)
   at System.Windows.Controls.Control.ApplyTemplate()
   at Telerik.Windows.Controls.RadComboBox.UpdateTemplate()
   at Telerik.Windows.Controls.RadComboBox.OnApplyTemplate()
   at System.Windows.FrameworkElement.OnApplyTemplate(IntPtr nativeTarget)    

Line: 56
Char: 13
Code: 0
URI: http://localhost:59257/Default.aspx

 

0
Rosi
Telerik team
answered on 29 Mar 2010, 02:52 PM
Hello ,

Please find the attached project which works as expected at our side.
Is it possible to modify it to illustrate the error or send us your sample project to test it locally?

Sincerely yours,
Rosi
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
Adriano
Top achievements
Rank 1
answered on 06 Apr 2010, 03:05 PM
I'm trying your sample project you've attached in the previous post but I've still got the same error:

Error 1 The "CompileXaml" task failed unexpectedly.
System.IO.FileLoadException: Could not load file or assembly 'file:///C:\Users\Adriano.FERTEC.000\Downloads\183381_silverlightapplication1\SilverlightApplication1\SilverlightApplication1\Telerik.Windows.Controls.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
File name: 'file:///C:\Users\Adriano.FERTEC.000\Downloads\183381_silverlightapplication1\SilverlightApplication1\SilverlightApplication1\Telerik.Windows.Controls.dll' ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.

   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
   at System.Reflection.Assembly.LoadFrom(String assemblyFile)
   at Microsoft.Silverlight.Build.Tasks.CompileXaml.LoadAssembly(String reference)
   at Microsoft.Silverlight.Build.Tasks.CompileXaml.LoadAssemblies(ITaskItem[] ReferenceAssemblies)
   at Microsoft.Silverlight.Build.Tasks.CompileXaml.Execute()
   at Microsoft.Build.Framework.ITask.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult)

SilverlightApplication1


So, for us it's impossible to use the Silverlight 4 RC controls. In any project we have tried to use them, we have always obtained the same error.

What can we do?

Regards
Adriano
0
Milan
Telerik team
answered on 06 Apr 2010, 04:37 PM
Hello Adriano,

Could you please take a look at this blog post which has instructions on how to workaround the CAS exceptions.

Greetings,
Milan
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
Adriano
Top achievements
Rank 1
answered on 06 Apr 2010, 05:01 PM
Thank you very much. Now all it's working fine and we can do some testing with your awesome controls.

Have a nice day
Adriano
Tags
General Discussions
Asked by
SilverlightUser
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
SilverlightUser
Top achievements
Rank 1
Rosi
Telerik team
Adriano
Top achievements
Rank 1
Milan
Telerik team
Share this question
or