[FIXED] [#1489] [4.3.0] v4.2.1 download seems wrong....

  1. #1

    [FIXED] [#1489] [4.3.0] v4.2.1 download seems wrong....

    I cannot get v4.2.1 to work under MVC4 .net 4.5

    Notice in v4.2.0, NewtonSoft.JSON is v9.

    In the web.config for 4.2.1, it increased from v9 to v10.

    <dependentAssembly>
    <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" />
    <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
    </dependentAssembly>

    However, the assembly version in v4.2.1 is v4.5. This causes a mismatch error and the entire project will not load.



    Thanks,
    /Z


    Server Error in '/' Application.


    Could not load file or assembly 'Newtonsoft.Json' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

    [FONT=Arial, Helvetica, Geneva, SunSans-Regular, sans-serif] Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'Newtonsoft.Json' could not be loaded.

    === Pre-bind state information ===
    LOG: DisplayName = Newtonsoft.Json
    (Partial)
    WRN: Partial binding information was supplied for an assembly:
    WRN: Assembly Name: Newtonsoft.Json | Domain ID: 5
    WRN: A partial bind occurs when only part of the assembly display name is provided.
    WRN: This might result in the binder loading an incorrect assembly
    [/FONT]
    Attached Thumbnails Click image for larger version. 

Name:	v4.2.0.png 
Views:	29 
Size:	50.2 KB 
ID:	24960   Click image for larger version. 

Name:	v4.2.1.png 
Views:	26 
Size:	50.3 KB 
ID:	24961  
  2. #2
    Hello @Z!

    Thanks for letting us know about this! It seems the problem is just the JSon.NET library packaged is the wrong version. Could you try to pull the Json.NET v10 off NuGet and replace the DLL? It should work then.

    We will investigate why the package had the mismatched version and fix the .zip package.
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Hello @Z!

    Hopefully the downloadable zip file should be good now. We would love to hear from you if you have the chance to download the package again and test.

    The updated files' SHA1 hash is:
    faeef1624e3ac717cf7fddec78e2a81db42eb928 for Ext.NET.MVC.4.2.1.zip
    dc6fb1fc0136ae928a8a2034db4ed471767f8cc3 for Ext.NET.WebForms.4.2.1.zip

    The updated files' MD5 hash is:
    aa33d2f2d3a7eb23fbbdaed4207d7c0b for Ext.NET.MVC.4.2.1.zip
    dab75c8eb55300fee37d7f19e2757e24 for Ext.NET.WebForms.4.2.1.zip

    If you're in doubt you got an updated version of the file while trying again to download, check them against either these hashes.

    We also fixed a problem in the main project file that allowed at least Visual Studio 2017 to favor the older Newtonsoft.Json assembly version.

    As the built DLL files for Ext.NET have been extensively tested against Newtonsoft.Json 10.0.2, the DLL files themselves did not need to be updated, nor the NuGet packages needed to be changed at all, so that won't incur into an Ext.NET version number update. Well, unless proved otherwise.

    I hope this helps!
    Last edited by fabricio.murta; May 28, 2017 at 11:03 PM. Reason: format text and small typo on 'updated' word

Similar Threads

  1. Replies: 1
    Last Post: Jul 13, 2015, 11:26 AM
  2. [FIXED] [2.3] Sort wrong on Grid
    By Paul in forum Bugs
    Replies: 1
    Last Post: Aug 15, 2013, 3:05 PM
  3. Replies: 5
    Last Post: Jun 10, 2013, 4:09 AM
  4. Replies: 2
    Last Post: Mar 22, 2011, 8:06 PM
  5. [FIXED] [1.0RC2] - Adapter paths are wrong
    By scott.moore in forum Bugs
    Replies: 2
    Last Post: Dec 06, 2010, 3:23 PM

Posting Permissions