Spreadsheet can not be instantiation with two *dll in telerik

10 posts, 0 answers
  1. Yilang
    Yilang avatar
    22 posts
    Member since:
    Jan 2016

    Posted 15 Dec 2016 Link to this post

    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!

  2. Yilang
    Yilang avatar
    22 posts
    Member since:
    Jan 2016

    Posted 15 Dec 2016 Link to this post

    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
  3. Yilang
    Yilang avatar
    22 posts
    Member since:
    Jan 2016

    Posted 16 Dec 2016 Link to this post

    Please tell me, how to resolve this peoblem.
  4. Peter Milchev
    Admin
    Peter Milchev avatar
    195 posts

    Posted 16 Dec 2016 Link to this post

    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.
  5. Yilang
    Yilang avatar
    22 posts
    Member since:
    Jan 2016

    Posted 19 Dec 2016 in reply to Peter Milchev Link to this post

    Now I want to know how to resolve this problem. I conform that I use the *.dll correctly.
  6. Yilang
    Yilang avatar
    22 posts
    Member since:
    Jan 2016

    Posted 19 Dec 2016 in reply to Yilang Link to this post

    Now, the two pictures are uploaded. Please!
  7. Yilang
    Yilang avatar
    22 posts
    Member since:
    Jan 2016

    Posted 19 Dec 2016 in reply to Yilang Link to this post

    The two *dll path are uploaded! Please!
  8. Yilang
    Yilang avatar
    22 posts
    Member since:
    Jan 2016

    Posted 19 Dec 2016 Link to this post

    The two *dll's path are uploaded, Please!
  9. Yilang
    Yilang avatar
    22 posts
    Member since:
    Jan 2016

    Posted 19 Dec 2016 Link to this post

    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

  10. Peter Milchev
    Admin
    Peter Milchev avatar
    195 posts

    Posted 21 Dec 2016 Link to this post

    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.
Back to Top