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
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.
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.
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.
Posted on Jan 5, 2010 (permalink)
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,
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
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.
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.