2

I am running FogBugz 8.4.92 on our server. I installed Kanban 2.1.7.13 and now get a 500 error page when I click either Kanban link. The plugin admin page works fine. Here is the error message:

Error: Could not load file or assembly 'Newtonsoft.Json.Net20, Version=4.0.2.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.
Stack Trace: Show Stack TraceHide Stack Trace

System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json.Net20, Version=4.0.2.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.File name: 'Newtonsoft.Json.Net20, Version=4.0.2.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'Server stack trace: at KanbanBoard.PluginPageDisplay.JsEscape(Object o) at KanbanBoard.PluginPageDisplay.RenderKanban() at KanbanBoard.PluginPageDisplay.PageDisplay() at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at FogCreek.FogBugz.Plugins.Interfaces.IPluginPageDisplay.PageDisplay() at FogCreek.FogBugz._Global.PluginPage(Int32 ixPlugin) in c:\code\release\build\FB8.4.92\fogbugz\distribution\src-Website\pluginPages.was:line 35 at FogCreek.FogBugz._Global.RawpgPlugin() in c:\code\release\build\FB8.4.92\fogbugz\distribution\src-Website\default.was:line 3514 at FogCreek.FogBugz._Global.pgPlugin() in c:\code\release\build\FB8.4.92\fogbugz\distribution\src-Website_Generated.was:line 1748 at FogCreek.FogBugz._Global.RunPg() in c:\code\release\build\FB8.4.92\fogbugz\distribution\src-Website_Generated.was:line 3187 at Wasabi.Runtime.Web.Response.PictureOf(Sub sub) in c:\code\release\build\FB8.4.92\wasabi\Wasabi.Runtime\ResponseGenerator.cs:line 24 at FogCreek.FogBugz._Global.RawRunFogBugz() in c:\code\release\build\FB8.4.92\fogbugz\distribution\src-Website\default.was:line 4373 at FogCreek.FogBugz._Global.RunFogBugz() in c:\code\release\build\FB8.4.92\fogbugz\distribution\src-Website_Generated.was:line 2313 at FogCreek.FogBugz._Global.StartDefault() in c:\code\release\build\FB8.4.92\fogbugz\distribution\src-Website\default.was:line 126 at FogCreek.FogBugz.HttpHandler.ProcessRequest(HttpContext context) in c:\Users\svc-mortar\AppData\Local\Temp\4p6yffmm.0.cs:line 0

Browser: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Source: KanbanBoard
OS Version: Microsoft Windows NT 6.1.7601 Service Pack 1
Database: Microsoft SQL Server
CLR Versions: v1.0.3705|v1.1.4322|v2.0.50727|v3.0|v3.5|v2.0.50727(x64)|v3.0(x64)|v3.5(x64)
ixPerson: 11
QueryString: ?pg=pgPlugin&sPluginId=kanbanboard@ergonlabs.com
URL: /fogbugz/default.asp
Content Length: 0
Local Addr: ::1
Remote Addr: ::1
Time: 7/14/2011 11:19:27 AM
Site: localhost

I've rolled back to 2.1.7.12 for now.

Fog Creek Case FC2094273

flag
I get the same, rolled back and all OK. – Dave Hodder Jul 18 2011 at 15:42

3 Answers

1

I've alerted our dev team to this. This is because we upgraded to JQuery 1.6 on FogBugz, and the JSON parser is now more strict. I think that 2.1.7.13 will run on FogBugz 8.5, though. Jude is likely to chime in soon.

link|flag
1

2.1.7.13 contains a switch in Kanban from using a homebrew JSON serializer to using the Newtonsoft serializer. Looks like the 2.1.7.13 zip file forgot to include the Newtonsoft.dll... I'll ping the author to get that fixed in the next version. In the meantime, 2.1.7.12 should generally work ok unless you have a very large Kanban board.

link|flag
0

I tried the 2.1.7.14 update that is supposed to fix this, but I still get the same error. I also rolled back to 2.1.7.12 and it works again.

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.