# Nest updated 5.5.0 to 6.0.0 problem

**URL:** <https://discuss.elastic.co/t/nest-updated-5-5-0-to-6-0-0-problem/114746>\
**Category:** Elasticsearch\
**Created:** [January 9, 2018, 7:25pm UTC](https://discuss.elastic.co/t/nest-updated-5-5-0-to-6-0-0-problem/114746 "2018-01-09T19:25:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aslamy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aslamy/32/18254_2.png) [@aslamy](https://discuss.elastic.co/u/aslamy)\
**Post date:** [January 9, 2018, 7:25pm UTC](https://discuss.elastic.co/t/nest-updated-5-5-0-to-6-0-0-problem/114746/1 "2018-01-09T19:25:55Z")

</div>

My project crashes after I updated Nest 5.5.0 to 6.0.0.

I get this exception:

Could not load type 'Newtonsoft.Json.JsonReader+d\_\_1' from assembly 'Nest, Version=6.0.0.0, Culture=neutral, PublicKeyToken=96c599bbe3e70f5d'.

System.TypeLoadException: Could not load type 'Newtonsoft.Json.JsonReader+d\_\_1' from assembly 'Nest, Version=6.0.0.0, Culture=neutral, PublicKeyToken=96c599bbe3e70f5d'.

---

<div class="post-metadata">

**Author:** ![Martijn\_Laarman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/martijn_laarman/32/4410_2.png) [@Martijn\_Laarman](https://discuss.elastic.co/u/Martijn_Laarman)\
**Post date:** [January 12, 2018, 9:26am UTC](https://discuss.elastic.co/t/nest-updated-5-5-0-to-6-0-0-problem/114746/2 "2018-01-12T09:26:38Z")

</div>

Posting this for posterity.

Issue was EpiServer's assembly type scanner was picking up internal types that were not fully rewritten from NewtonSoft.Json to Nest.Json.

Also posted as GitHub issue and handled as of:

> <https://github.com/elastic/elasticsearch-net/pull/3031>

Thanks against for bringing this to our attention @aslamy !

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 9, 2018, 9:26am UTC](https://discuss.elastic.co/t/nest-updated-5-5-0-to-6-0-0-problem/114746/3 "2018-02-09T09:26:45Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
