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

Spreadsheet can not be instantiation with two *dll in telerik

9 Answers 97 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Yilang
Top achievements
Rank 1
Yilang asked on 15 Dec 2016, 09:32 AM

When I use Telerik.Windows.Documents.Core.dll(in this file path:C:\Program Files (x86)\Telerik\UI for WPF Q2 2016\Binaries\WPF45) and Telerik.Web.Spreadsheet.dd(in  this file path: C:\Program Files (x86)\Telerik\UI for ASP.NET MVC R3 2016\spreadsheet\binaries\net40\Telerik.Web.Spreadsheet.dll), then will with this problem Telerik.Windows.Documents.Core, Version=2016.3.1021.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7”或它的某一个依赖项。找到的程序集清单定义与程序集引用不匹配。 (异常来自 HRESULT:0x80131040)":"Telerik.Windows.Documents.Core, Version=2016.3.1021.40. This example in the website :http://demos.telerik.com/aspnet-mvc/spreadsheet/server-side-import-export    select file can not be use!

Please reply me quickly ,thank you!

9 Answers, 1 is accepted

Sort by
0
Yilang
Top achievements
Rank 1
answered on 16 Dec 2016, 12:08 AM
This example "http://demos.telerik.com/aspnet-mvc/spreadsheet/server-side-import-export" in mvc ,when I user another dll(which named Telerik.Windows.Documents.Core.dll(in this file path:C:\Program Files (x86)\Telerik\UI for WPF Q2 2016\Binaries\WPF45) ), It can not be used. Please reply me , thank you! admin
0
Yilang
Top achievements
Rank 1
answered on 16 Dec 2016, 08:22 AM
Please tell me, how to resolve this peoblem.
0
Peter Milchev
Telerik team
answered on 16 Dec 2016, 03:50 PM
Hello Yilang,

According to the Spreadsheet server-side processing, the Telerik Document Processing libraries are distributed as part of the UI for ASP.NET MVC and are available for the Kendo UI Enterprise and DevCraft bundles. They are located in the "C:\Program Files (x86)\Telerik\UI for ASP.NET MVC [Version]\spreadsheet\binaries\net40" folder. 

Would you please check if referencing the correct assemblies solves your issue?

Also, would you please confirm that you are using UI for ASP.NET MVC

Regards,
Peter Milchev
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Yilang
Top achievements
Rank 1
answered on 20 Dec 2016, 01:52 AM
Now I want to know how to resolve this problem. I conform that I use the *.dll correctly.
0
Yilang
Top achievements
Rank 1
answered on 20 Dec 2016, 01:55 AM
Now, the two pictures are uploaded. Please!
0
Yilang
Top achievements
Rank 1
answered on 20 Dec 2016, 01:55 AM
The two *dll path are uploaded! Please!
0
Yilang
Top achievements
Rank 1
answered on 20 Dec 2016, 01:56 AM
The two *dll's path are uploaded, Please!
0
Yilang
Top achievements
Rank 1
answered on 20 Dec 2016, 02:03 AM

C:\Program Files (x86)\Telerik\UI for WPF Q2 2016\Binaries\WPF45\Telerik.Windows.Documents.Core.dll

2016.2.606.45

v4.0.30319

C:\Program Files (x86)\Telerik\UI for ASP.NET MVC R3 2016\spreadsheet\binaries\net40\Telerik.Web.Spreadsheet.dll

2016.3.1114.40

v4.0.30319

0
Peter Milchev
Telerik team
answered on 21 Dec 2016, 04:33 PM
Hello Yilang,

The assembly from the WPF folder are not needed in an MVC project. Removing the WPF references and adding only the necessary ones from the "C:\Program Files (x86)\Telerik\UI for ASP.NET MVC R3 2016\spreadsheet\binaries\net40\" folder should solve your problem.

Basically, the UI for WPF and UI for ASP.NET MVC are two completely different and unrelated suites. If you are developing an ASP.NET MVC project, then only the UI for ASP.NET MVC suite is necessary.

Also, all referenced assemblies should be from the same release (for example R3) and should have the same .NET version (for example 4.0).

I would also recommend you to review the local demos that you should have installed in the "C:\Program Files (x86)\Telerik\UI for ASP.NET MVC R3 2016\wrappers\aspnetmvc\Examples" folder.

Regards,
Peter Milchev
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Spreadsheet
Asked by
Yilang
Top achievements
Rank 1
Answers by
Yilang
Top achievements
Rank 1
Peter Milchev
Telerik team
Share this question
or