Could not load file or assembly 'Newtonsoft.Json, Version=

Jun 3, 2014 at 4:39 PM

I have been trying for two days now and I give up :)

I need help.

I am using Source Version: BlogEngine.NET

When I build it locally everything works fine.

But, when I upload to server I keep getting this error:

Could not load file or assembly 'Newtonsoft.Json, Version=, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

I had tried with Default settings for Web Deploy.

Then just now did a old fashion FTP file by file transfer to server.

Still same error.

For some reason this time this error will not go away.

Before in past I delete .Dll and upload latest version and it works.

Doing it this time does not for some reason?

Please help.
Jun 3, 2014 at 6:07 PM
I've seen this error before after upgrade to latest web.api from NuGet and I had to remove this package and install specific version we used before. Will have to investigate. Probably will push a refresh to Codeplex later tonight.
Jun 3, 2014 at 6:14 PM
I tested the other versions too.

Seems like From version and above have this issue. and below does not.

Got working locally and on server with no issues at all.

Hoping this can be fixed soon :)

I like having the latest and greatest version of BE :)


Brian Davis
Jun 3, 2014 at 6:21 PM
Edited Jun 3, 2014 at 6:24 PM
Well I'm running on several sites, for example here, but it could be difference in our deployment machines. If it is pulling referenced DLL from GAC and I have another version, it might work for me but not for you.
Worst case I can create deployment package and pass it to you, so you can compare versions in /bin. Or vice verse.
Jun 3, 2014 at 6:31 PM
Hi Rtur,

Great website!

If you can update the source when you have time to fix it would be nice.

Working with BE for now till you update and that should be ok :)

I know you are very very busy.