Select the search type
  • Site
  • Web
You are here:  Support/Forums

Bring2mind Forums

Switching Between Languages on Categories Page
Last Post 05/14/2014 6:13 PM by Peter Donker. 1 Replies.
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
New Member
New Member

05/08/2014 8:22 PM
I'm getting a javascript error (see below) on language drop down selection change on the categories page. It appears that this error is preventing the category tree from updating to any other language than default. I tried to manage the categories in non-AJAX mode, but I don't see an option to switch languages in that interface. Please advise. Thanks.

Uncaught Sys.ArgumentException: Sys.ArgumentException: Cannot deserialize. The data does not correspond to valid JSON.
Parameter name: data

After a bit more digging I found some more (hopefully) useful information. The script fails on this call:
Here is what JavaScriptSerializer is trying to deserialize:
{"category": {"CategoryId": "1926", "en_US": "Asia Pacific"}}
Peter Donker
Veteran Member
Veteran Member

05/14/2014 6:13 PM
Hmm. The JSON looks valid. Can you give me a rundown of versions? I.e. what DMX version, DNN version, .net version (app pool) and Windows Server version?

You are not authorized to post a reply.