Unable to download RadControls for Silverlight 4 RC build

11 posts, 0 answers
  1. SilverlightUser
    SilverlightUser avatar
    8 posts
    Member since:
    Sep 2009

    Posted 24 Mar 2010 Link to this post

    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
  2. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 24 Mar 2010 Link to this post

    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.
  3. DevCraft banner
  4. SilverlightUser
    SilverlightUser avatar
    8 posts
    Member since:
    Sep 2009

    Posted 24 Mar 2010 Link to this post

    Sorry for the confusion. My question is from where can I download the Silverlight 4 RC build?
  5. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 24 Mar 2010 Link to this post

    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.
  6. SilverlightUser
    SilverlightUser avatar
    8 posts
    Member since:
    Sep 2009

    Posted 24 Mar 2010 Link to this post

    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.

  7. SilverlightUser
    SilverlightUser avatar
    8 posts
    Member since:
    Sep 2009

    Posted 24 Mar 2010 Link to this post

    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,
  8. SilverlightUser
    SilverlightUser avatar
    8 posts
    Member since:
    Sep 2009

    Posted 24 Mar 2010 Link to this post

    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

     

  9. Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 29 Mar 2010 Link to this post

    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.
  10. Adriano
    Adriano avatar
    43 posts
    Member since:
    Jan 2009

    Posted 06 Apr 2010 Link to this post

    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
  11. Milan
    Admin
    Milan avatar
    1989 posts

    Posted 06 Apr 2010 Link to this post

    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.
  12. Adriano
    Adriano avatar
    43 posts
    Member since:
    Jan 2009

    Posted 06 Apr 2010 Link to this post

    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
Back to Top
DevCraft banner