locked
Error while downloading data using JSON RRS feed

  • Question

  • Hi All,

            I'm creating a shopping cart application with Silverlight as the View and ASP.NET MVC as Model and Controller. I'm using JSON as the message exchange format for data transfer between client and server.

            I'm facing a classical problem, where I couldn't able to download/deserialize any file/Picture/Data using JSON format of size more than 2 MB. I have gone through this problem in many of the forums and all fingers pointing to add the below specified lines in Web.Config file.

    <system.web.extensions>

    <scripting>

    <webServices>

    <jsonSerialization maxJsonLength="10000000" />

    </webServices>

    </scripting>

    </system.web.extensions>

    But unfortunately even after adding the above said lines, I didn't see any expected change.

    Can anyone help me out in resolving this issue?

    Thanks,

    Arun Prasath E G

     

     

     

    Monday, April 5, 2010 5:30 AM

Answers

  • Hi,

       Hmm, you may take a look this post

       http://dotnet.itags.org/dotnet-ajax/11325/

       The op got the same problem(maxJsonLeng was set but ignored,keep getting size exceed error) and finally solved it by reappling the web config.

    Best Regards

    Tuesday, April 6, 2010 10:03 PM