Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7947883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T01:33:32+00:00 2026-06-04T01:33:32+00:00

I have implemented the solution on this link to my project to have jsonp

  • 0

I have implemented the solution on this link to my project to have jsonp capabilities:
http://blogorama.nerdworks.in/entry-EnablingJSONPcallsonASPNETMVC.aspx

It is working like a charm on first calls but on second call it is not responding?

Do you have any idea?

My json call is:

$.ajax({
    type: "GET",
    url: '../../askjson',
    data: { name_startsWith: name },
    cache: false,
    dataType: "jsonp",
    success: function (data) { }
});

and controller is:

[HttpGet]
[JsonpFilter]
public JsonResult askjson(string name_startsWith)
{

    // do stuff

    return Json(resultView, JsonRequestBehavior.AllowGet);
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T01:33:34+00:00Added an answer on June 4, 2026 at 1:33 am

    Thank you guys.

    I’ve traced the error and it was a 400 indicating that: request is over the allowed setting defined at MaxQueryStringLength.

    So I’ve added the following to my web.config under <system.web>

     <system.web>
        <httpRuntime maxUrlLength="10999" maxQueryStringLength="2097151" />
    

    I also did same to <system.webServer> by:

      <system.webServer>
        <security>
          <requestFiltering>
            <requestLimits maxUrl="10999" maxQueryString="2097151"  />
    

    my problem has gone!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have implemented a function to validate .edu domains. This is how I am
I have implemented an ASP.NET http handler. It appears to me that there is
I have implemented a python webserver. Each http request spawns a new thread. I
In a c++ project I am working on, I have a simple c++ file
I have joined a project recently and now I'm working on its Internationalization improvement.
With reference to this post: How to implement tag counting I have implemented the
I have successfully implemented code to plot multiple locations on google maps dynamically. Solution:
I am working on a project where I have to implement a handler for
It's mentioned in http://sourceware.org/ml/gdb/2007-06/msg00360.html before. But no one seemed to have actually implemented this
I have been looking around for a solution that implements this, but google always

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.