WordsProcessing: InvalidCastException is thrown when importing document with ShapeLocks
Importing document with ShapeLocks leads to InvalidCastException:
Unable to cast object of type 'Telerik.Windows.Documents.DrawingML.ShapeLocks' to type 'Telerik.Windows.Documents.DrawingML.ConnectionShapeLocks'.'
5 comments
ADMIN
Peshito
Posted on:30 Sep 2022 11:26
Hi Daniel,
Currently, the Telerik Document Processing libraries are not distributed as a separate package/installer and are part of the other Telerik UI suites. You can find more information in the documentation article- Telerik Document Processing - Install on your computer. For the Telerik UI for ASP.NET Core suite, the next version of Telerik Document Processing assemblies, the one that includes the fix will be distributed with the R3 2022 Service Pack expected in the early or in the mid of November.
Regards,
Peshito
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Daniel
Posted on:30 Sep 2022 00:10
Hi Peshito,
We can successfully use the libraries in a WPF application. However using it in an ASP.NET Core Web API requires us to add in extra libraries like PresentationFramework & WindowsBase which we'd like to avoid. Unless there is a fix specifically for ASP.NET Core, we'll have to wait.
Thanks
ADMIN
Peshito
Posted on:29 Sep 2022 14:57
Hi Daniel,
There are different release cycles for the different Telerik UI products. The fix is not included in the Document Processing Libraries with version 2022.3.906 You could either wait for the next Telerik.UI.For.ASP.NET Core release or you could use the Telerik UI for WPF's Latest Internal Build. It contains the latest DPL binaries with version - 2022.3.926.
Regards,
Peshito
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Daniel
Posted on:29 Sep 2022 01:53
Hi Peshito,
We're getting this error with ASP.NET Core 2022.3.906 build - We're actually using the latest internal build 2022.3.928 but the build of the Document Processing libraries is 2022.3.906.
Is there a newer version that resolves this error for ASP.NET Core?
Thanks
ADMIN
Peshito
Posted on:13 Sep 2022 12:21
Hello,
This item will be available in R3 2022 SP1 Release.
It is also available with Telerik UI for WPF's latest internal build - LIB 2022.3.919 (19 Sep 2022) if you need it earlier.