Cannot create instance of type 'Syncfusion.UI.Xaml.Schedule.ScheduleAppointmentEditor'

After Windows 10 update, which i don't know what exactly, some pcs cannot open the calendar functionality with error Cannot create instance of type 'Syncfusion.UI.Xaml.Schedule.ScheduleAppointmentEditor'

We have a calendar functionality, which is not working anymore.

Example(part of the code) : 


WeekSchedule = new SfSchedule();

 // Sets appointment Template

WeekSchedule.AppointmentTemplate = (DataTemplate)this.Resources["CalendarAppointmentDataTemplate"];

WeekSchedule.HeaderDateFormat = "dddd dd";

WeekSchedule.IntervalHeight = 50;

#region List of appointments binding

Binding appointments = new Binding();

appointments.Source = vm;

appointments.Path = new PropertyPath("FilteredScheduleAppointments");

appointments.Mode = BindingMode.TwoWay;

WeekSchedule.SetBinding(SfSchedule.AppointmentsProperty, appointments);


We have two versions of the same application and nearly same code (same for the calendar functionality)

On WinRT, doesnt work anymore, but on UWP, the functionality is working correctly

Anyone can help?

Thanking you in ad




13 Replies

SS SaiGanesh Sakthivel Syncfusion Team September 20, 2021 01:36 PM UTC

Hi Brice, 
 
Thank you for using syncfusion products. 
 
#Regarding Cannot create instance of type 'Syncfusion.UI.Xaml.Schedule.ScheduleAppointmentEditor 
The reported issue has been fixed and included in the patch which can be download from the below links.   
    
Recommended approach - exe will perform automatic configuration.    
    
Please find the patch setup from below location:    
    
Patch link :    
Please find the patch assemblies alone from below location:    
    
Assemblies Link:    
   
Nuget link:     
   
    
Assembly Version: 14.4.0.15    
    
Installation Directions:    
This patch should replace the files "Syncfusion.SfSchedule.WinRT” under the following folder.    
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\[TargetFramework]    
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\14..4.0.15\precompiledassemblies\14..4.0.15\4.6    
    
To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you must manually copy and paste them to the preferred location or you must run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.    
    
    
Disclaimer:    
Please note that we have created this patch for version 14.4.0.15 specifically to resolve the issue reported in this incident. With the release of version 14.4.0.20, Syncfusion no longer develops new controls for WinRT. However, we will support our existing controls, including updates, patches, and downloads of previous versions. 
.    
let us know it you still facing the same issue. If not, could you please share the following details which would be helpful for us to check on it and provide you the solution at the earliest.  
 
·       Share the issue reproduce sample. 
·       Share the syncfusion version. 
·       Share the window version and target platform version. 
·       Share the version of Visual studio. 
 
Regards, 
SaiGanesh Sakthivel 



BY Brice Yoan Chaton September 20, 2021 02:25 PM UTC

Hello,


Im using Visual Studio Enterprise 2015, and when i run the installer, it says that it is configured for the Essential Studio Version.


Any solution?


When i try to import the library manually, 

since i have other Syncfusion libraries such as :

SfChart.WinRT, SfGauge.WinRT,SfGrid.WinRT Syncfusion.Data.WinRT etc they also need to be the same version as the new SfSchedule, (list added as attachement)

any area where i can get it?




Attachment: syncfusion_f2514c43.rar


SS SaiGanesh Sakthivel Syncfusion Team September 21, 2021 08:52 AM UTC

Hi Brice, 
 
Thank you for the update. 
 
#Regarding Assemblies in 14.4.0.15 versions for WinRT control
we have checked the reported query from our end. As per your requirement, we have attached the assemblies for WinRT control in the 14.4.0.15 versions in the following locations for your reference.

Assemblies: https://www.syncfusion.com/downloads/support/directtrac/general/ze/WinRT-1205790871
 
 
Please let us know if you have any concerns. 
 
Regards,
SaiGanesh Sakthivel



BY Brice Yoan Chaton September 21, 2021 11:10 AM UTC

Hello,


Even after using the new libraries it doesn't work.

Issue occurred when we installed windows version 20H2

the framework causing issues is : 528372 (20H2)

Everything works fine on framework: 528040 (1909)


UWP versions works fine with WinRT libraries (v13.3810.0.7) under the framework 528372


at that point, should i consider that WinRT libaries for syncfusion doesnt work under 20H2 windows versions?


Thanking you in advance




SS SaiGanesh Sakthivel Syncfusion Team September 22, 2021 01:29 PM UTC

Hi Brice, 
 
Thank you for the update. 
 
#Regarding WinRT Schedule is not working in windows version 20H2 
Currently, we are trying to arrange the required environment to check the reported scenario in the  
Mentioned Visual Studio 2015 with windows version 20H2. We will arrange and update you the further details on the September 27, 2021. We appreciate your patience until then. 
 
Regards, 
SaiGanesh Sakthivel


BY Brice Yoan Chaton September 23, 2021 10:01 AM UTC

Hello,


Ill wait for your reply. I have created a basic application with a basic scheduler, see photo in the attached zip file.

In the designer, the scheduler can be seen clearly, but when running the basic application, it breaks down with the same error.


Thanking you in advance.

Brice


Attachment: MicrosoftTeamsimage_(1)_8afee64e.zip


SS SaiGanesh Sakthivel Syncfusion Team September 24, 2021 08:27 AM UTC

Hi Brice, 
 
Thank you for the update. 
 
As, we have mentioned in the previous update. We will update the further details on the September 27, 2021. We appreciate the patience until then. 
 
Regards,
SaiGanesh Sakthivel
 



BY Brice Yoan Chaton September 27, 2021 10:20 AM UTC

hello,


Any updates?





SS SaiGanesh Sakthivel Syncfusion Team September 27, 2021 01:44 PM UTC

Hi Brice,  
  
Thank you for the patience.  
  
#Regarding Cannot create instance of type 'Syncfusion.UI.Xaml.Schedule.ScheduleAppointmentEditor  
The reported issue has been fixed and included in the patch which can be download from the below links.    
 
Recommended approach - exe will perform automatic configuration.     
 
Please find the patch setup from below location: 
Patch link:  
     
Please find the patch assemblies alone from below location:     
    
Assembly Version: 14.4.0.15     
     
Installation Directions:     
This patch should replace the files "Syncfusion.SfSchedule.WinRT” under the following folder.     
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\[TargetFramework]     
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\14..4.0.15\precompiledassemblies\14..4.0.15\4.6     
     
Disclaimer:     
Please note that we have created this patch for version 14.4.0.15 specifically to resolve the issue reported in this incident. 
  
Regards,  
SaiGanesh Sakthivel 



BY Brice Yoan Chaton September 27, 2021 03:34 PM UTC

Hello,


Works like a charm. Thank you!!


Have a nice day


Regards,

Brice Yoan Chaton



SS SaiGanesh Sakthivel Syncfusion Team September 28, 2021 11:23 AM UTC

Hi Brice, 
 
Thank you for the update. 
 
We are glad to know that the provided solution is resolved the issue. Please let us know if you need any further assistance.  
  
Regards,  
SaiGanesh Sakthivel 



BY Brice Yoan Chaton September 28, 2021 11:32 AM UTC

Hello SaiGanesh,


May i know what was the issue? Also if this may affect other syncfusion controls in the future, so that we can prepare ourselves?


Thanking you in advance.

Regards,

Brice




SS SaiGanesh Sakthivel Syncfusion Team September 29, 2021 06:51 AM UTC

Hi Brice, 
 
Thank you for the update. 
 
The reported issue is related to the SfSchedule control, and the provided fix won’t affect the another Syncfusion controls. 
 
Regards, 
SaiGanesh Sakthivel 


Loader.
Up arrow icon