I am using System.Web.Helpers.Json.Encode to encode an EF Table. The problem is that on my local instance -- using the same database mind you -- the table encodes just fine. "{\"Symbols\":[],\"Medium\":null,\"Element2\":null,\"Element1\":null,\"Id\":82,\"Localized\":true,\"PostalCode\":null,\"State\":\"AZ\",\"Category\":null}"
However, when the code is deployed to the server, it throws a circular reference error. I am thinking it may be a server configuration problem -- a stray checkbox, wrong library version, or some such. Before I go digging in, just wondering if other folks had encountered this and if so, could they point me in the right direction.
The code itself is not horribly complicated a simple table with about 9 fields, 4 of which are navigation -- and are null in the object. The object itself is of type dynamic.
Thoughts?