Problems with Newtonsoft.Json.dll reference

1,075 views
Skip to first unread message

Oded O.

unread,
Dec 15, 2010, 4:13:10 AM12/15/10
to ravendb
Hi,

I'm having a runtime "FileNotFoundException" on this line:
store = new DocumentStore { Url = "http://localhost:8080" };

Could not load file or assembly 'Newtonsoft.Json, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=b9a188c8922137c6' or one of its
dependencies. The system cannot find the file specified.

The Newtonsoft.Json.dll is "installed" in the GAC, and there is no
local copy in the Bin directory.
(Setting "copy local = true" doesn't help as well)

The strange thing is, that the version of Newtonsoft.Json.dll
"shipped" with RavenDB is:
Newtonsoft.Json, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=30ad4fe6b2a6aeed
And this is the exact same version that is installed on my local GAC.

So... where did the "b9a188c8922137c6" came from?

Thanks,

Oded

Ayende Rahien

unread,
Dec 15, 2010, 5:06:21 AM12/15/10
to rav...@googlegroups.com
Which build are you using?
We used to have a custom version of the dll, but we are now using r8

Oded O.

unread,
Dec 15, 2010, 5:53:39 AM12/15/10
to ravendb
I guess it was a GAC issue...
After an unwanted restart, things got back to normal...

Thanks,
Oded

Peter

unread,
Jan 6, 2011, 2:19:08 PM1/6/11
to ravendb
Could it be that the DLL Raven.Client from the EmbeddedClient folder
still references this custom version?

Peter

unread,
Jan 6, 2011, 2:23:49 PM1/6/11
to ravendb
I checked the source, and I believe the reference is correct there,
but the zip file for build 206 you can download from
http://builds.hibernatingrhinos.com/builds/ravendb still has a
Raven.Client in the EmbeddedClient folder referencing the wrong one.

Benjamin

unread,
Jan 6, 2011, 5:22:36 PM1/6/11
to rav...@googlegroups.com
I'm having this same issue.  I _just_ updated from the unstable branch.  It looks like Ravin.Munin & Raven.Munin.Tests have not been updated to the new version of Newtonsoft.Json.

Runtime Version: v2.0.50727
Version: 3.5.0.0

Is that intended?

Benjamin

unread,
Jan 6, 2011, 6:01:26 PM1/6/11
to rav...@googlegroups.com
Nevermind... I forgot Munin is a module and not updated with a simple pull from RavenDB on github.

Sorry about that.  Getting it sorted now.

I'm new to git, so I have to figure out how to updated the Munin module and then I should be good to go.
Reply all
Reply to author
Forward
0 new messages